A package for analysis of MRI
Project description
brickstudy
brickstudy is an open source collaborative python library for analysis of data related to pediatric hematology patients, including and especially the neuroradiology data.
Brick will include a main code library where the user can access the code.
The library is under construction.
Program files The core functions of brick are in the folder brick.
Our guide to notebooks is under construction. To look around keep in mind the following distinction on folders:
researcher_interface:
These are a growing series of interactive notebooks that allow researchers to investigate questions about their own data
open_work:
This folder contains experimental work by core members of the BRICK team (Drs Candace Makeda Moore, Melanie Bruinooge and Aida Gebremeksel) Data sets The notebooks are configured to run on various datasets. Contact Dr. Melanie Bruinooge( 📫 m.bruinooge@erasmusmc.nl) to discuss any questions on data configuration for your datasets.
A standardized dataset is under development.
Supported Platforms Below is the list of platforms that should work. Other platforms may work, but have had less extensive testing. Please note that where python.org Python or Anaconda Python stated as supported, it means that versions 3.10 or 3.11 (depending on the release) are supported.
AMD64 (x86) Linux Win OSX p Supported Unknown Unknown a Supported Supported Supported Installation for all supported platforms Installation with Anaconda/conda and/or mamba are the preffered methods. They are covered in the "Getting Started" section. If you wish to install with pip:
Create and activate a virtual environment (see developer setup section for more details) Install brick package by running pip install brick. Getting Started with the reccomended Conda setup How to get the notebooks running? Assuming the raw data set and metadata is available. Note for non-conda installations see next sections.
Assuming you are using conda for package management: Make sure you are in no environment:
conda deactivate (optional repeat if you are in the base environment)
You can build on your base environment if you want, or if you want to not use option A, you can go below it (no environment)
Option A: Fastest option: In a base-like environment with mamba installed, you can install all Python packages required, using mamba and the environment.yml file. If you do not have mamba installed you can follow instructions here
The command for Windows/Anaconda/Mamba users can be something like:
mamba env create -f environment.yml Option B: To work with the most current versions with the possibility for development: Install all Python packages required, using conda and the environment.yml file.
The command for Windows/Anaconda users can be something like:
conda env create -f environment.yml Linux users can create their own environment by hand (use install_dev as in setup).
Make sure to enter your newly created environment.
Option C: In the future in theory if you want to work, but never develop (i.e. add code), as a conda user with a stable (released) version create an empty environment, and install there:
Create a blank environment with python pinned to 3.10 (assuming version < 0.1.0):
conda create -n blank python=3.10 Install within the blank environment
conda activate blank conda install -c conda-forge -c brick brick jupyter ipympl Open a notebook (we use Jupyter notebooks) in researcher_interface folder and interactively run the cells. You can use the command jupyter notebook to open a browser window on the folders of notebooks. Note, if you run with an installed library import appropriately. The basic_emg_analysis notebook can be used to understand how to use the package.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file brickstudy-0.0.1.tar.gz
.
File metadata
- Download URL: brickstudy-0.0.1.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e96018d52de0d6576ef49025ce17b80247a690264fc057ae0250bfbdccde660c |
|
MD5 | 1ea8ed139e82a4f546e66959842c31c3 |
|
BLAKE2b-256 | ddc5b715f9ca218100e7cab8f07a0aef6793041c542d2db4e7295ea5834c5ce8 |
File details
Details for the file brickstudy-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: brickstudy-0.0.1-py3-none-any.whl
- Upload date:
- Size: 10.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0b00de72963c9757add294854974646da165761b4989725aa6d86ad3f642521 |
|
MD5 | 8b0b49d464f6960681d7e90abd1266ed |
|
BLAKE2b-256 | 7a9e354edb7d5da17a8c81af2ba8c4f071e370c9a1aaf082be2fefeac8fbccf9 |