{"id":46843392,"url":"https://github.com/ihb-ibr-department/pie_toolbox","last_synced_at":"2026-03-10T14:03:45.500Z","repository":{"id":310853626,"uuid":"1040034204","full_name":"IHB-IBR-department/PIE_toolbox","owner":"IHB-IBR-department","description":"PIE Toolbox is a Python package for processing, analyzing, and classifying neuroimaging voxel data using SSM-PCA and SVM.","archived":false,"fork":false,"pushed_at":"2025-11-28T11:33:31.000Z","size":433,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-30T18:50:12.439Z","etag":null,"topics":["neuroimaging","pca-analysis","ssm-pca"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IHB-IBR-department.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-18T11:05:32.000Z","updated_at":"2025-11-06T11:02:09.000Z","dependencies_parsed_at":"2025-08-20T17:37:49.562Z","dependency_job_id":"a99f0a2b-b750-49b9-95ec-4b4158c7554c","html_url":"https://github.com/IHB-IBR-department/PIE_toolbox","commit_stats":null,"previous_names":["ihb-ibr-department/pie_toolbox"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/IHB-IBR-department/PIE_toolbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IHB-IBR-department%2FPIE_toolbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IHB-IBR-department%2FPIE_toolbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IHB-IBR-department%2FPIE_toolbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IHB-IBR-department%2FPIE_toolbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IHB-IBR-department","download_url":"https://codeload.github.com/IHB-IBR-department/PIE_toolbox/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IHB-IBR-department%2FPIE_toolbox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30336087,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T12:41:07.687Z","status":"ssl_error","status_checked_at":"2026-03-10T12:41:06.728Z","response_time":106,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["neuroimaging","pca-analysis","ssm-pca"],"created_at":"2026-03-10T14:03:43.996Z","updated_at":"2026-03-10T14:03:45.472Z","avatar_url":"https://github.com/IHB-IBR-department.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PIE Toolbox (Pattern Identification and Evaluation)\n\n![PIE Toolbox](media/images/toolbox_image.png)\n\nPIE Toolbox is a Python package designed for processing, analyzing, and classifying voxel data. It offers tools for data preprocessing, feature extraction, pattern identification, and evaluation. The core methods implemented in this package are SSM-PCA (Scaled Subprofile Model of Principal Component Analysis) and SVM (Support Vector Machine).\n\n***\n\n## Project Structure\n\n```\n.\n├── pie_toolbox/               # Main source code of the program\n│   ├── core/                  # Core of the program (main functions and classes)\n│   ├── workflows/             # Workflow scripts for data processing and analysis\n├── LICENSE.txt                # MIT license\n├── log/                       # Folder for log files (created automatically)\n├── config/                    # JSON files with pipeline configurations\n├── example_generate_data.py   # Example data generator\n├── example_pipeline.py        # Pipeline usage example\n├── README.md                  # This file\n└── requirements.txt           # List of dependencies\n\n```\n\n\n## Project Configuration\n\nAll project parameters, from data paths to model hyperparameters, are specified in json files in the config/ directory. This allows for easy reproducing of experiments and project customization.\n\nexample_data_config.json: Contains settings for the example pipeline, including parameters for the SSM-PSA and classifier.\n\n\n***\n\n## Installation and Getting Started\n\nIt is recommended to use a virtual environment when working with this project.\n\n1. **Clone the repository:**\n\n```bash\ngit clone git@github.com:IHB-IBR-department/PIE_toolbox.git\ncd pie_toolbox\n```\n\n2. **Create and activate a virtual environment:**\n\nFor Linux/MacOS:\n```bash\npython -m venv venv\nsource venv/bin/activate\n```\n\nFor Windows:\n```bash\npython -m venv venv\nvenv\\Scripts\\activate\n```\n\n3. **Install dependencies:**\n\n```bash\npip install -r requirements.txt\n```\n\n\n***\n\n## Usage\n\nTo utilize the package's functionality in your scripts, import the relevant modules.\nThe `workflows` folder contains scripts designed for data processing and analysis, such as:\n- `image_dataset.py`: Manages image datasets and related operations.\n- `ssm_pca.py`: Implements the Scaled Subprofile Model of Principal Component Analysis.\n- `feature_extraction.py`: Provides tools for extracting features from datasets.\n- `classification.py`: Contains classification algorithms like Support Vector Machine.\n- `export.py`: Handles exporting of results and data.\n\n### Example of using `pie_toolbox`:\n\nThe script `examples/example_data_pipeline.py` demonstrates the main functions of PIE Toolbox using `example_data`.\n\nYou can run the script with the following command:\n```bash\npython example_pipeline.py\n```\nThe results will be saved in the `example_data/results` directory.\n\n\n***\n\n## Example Data\n\nThe project also includes an `example_data/` folder containing example datasets. These datasets consist of generated data.\n\nYou can use the data in `example_data/` to try out the functions and workflows provided in the package, facilitating easier validation and understanding of the analysis steps on controlled sample inputs.\n\n## Testing\n\nTo verify the correctness of the code, built-in unit tests are provided. Run them from the root folder of the project:\n\n```bash\npython -m pytest\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fihb-ibr-department%2Fpie_toolbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fihb-ibr-department%2Fpie_toolbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fihb-ibr-department%2Fpie_toolbox/lists"}