brainsimulator
Brain simulation using KDE or MVN distribution
Science Score: 23.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
✓DOI references
Found 1 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.4%) to scientific vocabulary
Repository
Brain simulation using KDE or MVN distribution
Basic Info
- Host: GitHub
- Owner: SiPBA
- License: gpl-3.0
- Language: Python
- Default Branch: master
- Homepage: http://brainsimulator.readthedocs.io/
- Size: 2.68 MB
Statistics
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
brainSimulator
Functional brain image synthesis using the KDE or MVN distribution. Currently in beta. Python code. Find the documentation at http://brainsimulator.readthedocs.io/
brainSimulator is a brain image synthesis procedure for data augmentation and standardization of evaluation of ML neuroimaging pipelines. It intends to generate a new image set that share characteristics given an original one. The system focuses on nuclear imaging modalities such as PET or SPECT brain images. It analyses the dataset by applying PCA to the original dataset, and then model the distribution of samples in the projected eigenbrain space using a Probability Density Function (PDF) estimator. Once the model has been built, anyone can generate new coordinates on the eigenbrain space belonging to the same class, which can be then projected back to the image space.
Use
First of all, install the package via pypi with:
pip install brainsimulator
With the new version, the whole interface has been switched to an object. This allows to train the model once and then perform as many sample drawings as required. ```python
navigate to the folder where simulator.py is located
import brainSimulator as sim
simulator = sim.BrainSimulator(algorithm='PCA', method='mvnormal') simulator.fit(originaldataset, labels) images, classes = simulator.generateDataset(originaldataset, labels, N=200, classes=[0, 1, 2]) ```
Cite
F.J. Martinez-Murcia et al (2017). "Functional Brain Imaging Synthesis Based on Image Decomposition and Kernel Modelling: Application to Neurodegenerative Diseases." Frontiers in neuroinformatics (online). DOI: 10.3389/fninf.2017.00065
Safeguards
As in the paper, it is best to use MVN modelling, but it is fundamental to test the number of components (L) used in the modelling, otherwise it will lead to overfitting. The KDE modelling works better `out of the box', but the results may be more disperse.
License
This code is released under the license GPL-3.0+.
Owner
- Name: SiPBA
- Login: SiPBA
- Kind: organization
- Email: sipba@ugr.es
- Location: Granada, Spain
- Website: http://sipba.ugr.es
- Repositories: 3
- Profile: https://github.com/SiPBA
Signal Processing and Biomedical Applications research group
GitHub Events
Total
Last Year
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Francisco J. Martínez | p****s@g****m | 37 |
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 19 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 4
- Total maintainers: 1
pypi.org: brainsimulator
Nuclear brain imaging synthesis with python
- Homepage: https://github.com/SiPBA/brainSimulator
- Documentation: https://brainsimulator.readthedocs.io/
- License: GPL-3.0+
-
Latest release: 0.5.4
published over 8 years ago
Rankings
Maintainers (1)
Dependencies
- Numpy >=1.9
- Scikit-learn >=0.17
- Scipy >=0.17
- numpy *
- scikit-learn *
- scipy *