convert-source-0.2.0a9
توضیحات
Converts and organises source MR image data-sets in accordance with the Brain Imaging Data Structure (BIDS)
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | convert-source-0.2.0a9 |
| نام | convert-source |
| نسخه کتابخانه | 0.2.0a9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Adebayo Braimah |
| ایمیل نویسنده | adebayo.braimah@cchmc.org |
| آدرس صفحه اصلی | https://github.com/AdebayoBraimah/convert_source |
| آدرس اینترنتی | https://pypi.org/project/convert-source/ |
| مجوز | GPL-3.0 License |
[](https://app.circleci.com/pipelines/github/AdebayoBraimah/convert_source) [](https://convert-source.readthedocs.io/en/latest/)
# convert_source
Convert source `DICOM`, `PAR REC` or `NIFTI` image data to BIDS directory layout.
The YAML configuration file used as input dictates the search terms used to find and rename files. Please see `config/config.default.yml` or `config/config.example.yml` for examples.
Requires `dcm2niix` and `pydicom`.
```
usage: study_proc [-h] [-s STUDY_DIR] [-o OUT_DIR] [-c CONFIG.yml] [--no-gzip]
[--compress INT] [--zero-pad INT] [--append-dwi-info]
[--verbose] [--version] [--path-env PATH_VAR]
Convert source data of a study's imaging data to BIDS NIFTI data.
optional arguments:
-h, --help show this help message and exit
Required Argument(s):
-s STUDY_DIR, -study STUDY_DIR, --study-dir STUDY_DIR
Parent study image directory for all subjects.
-o OUT_DIR, -out OUT_DIR, --out-dir OUT_DIR
Output directory.
Optional Argument(s):
-c CONFIG.yml, -config CONFIG.yml, --config-file CONFIG.yml
Input YAML configuration file. If no configuration
file is provided, then the default configuration file
is used.
--no-gzip DO NOT gzip the resulting BIDS NIFTI files [default:
False].
--compress INT Compression level [1 - 9] - 1 is fastest, 9 is
smallest [default: 6].
--zero-pad INT The amount of zeropadding to pad the run numbers of
the BIDS NIFTI files (e.g. '--zero-pad=2' corresponds
to '01') [default: 2].
--append-dwi-info RECOMMENDED: Appends DWI acquisition information
(unique non-zero b-values, and TE, in msec.) to BIDS
acquisition filename of diffusion weighted image files
[default: False].
--verbose Enables verbose output to the command line.
--version Prints the version of 'convert_source', then exits.
Expert Option(s):
--path-env PATH_VAR Environmental path variable or variables for
dependencies (e.g. the path to 'dcm2niix'). NOTE: This
option is repeatable, and can thus be specified
multiple times.
```
نیازمندی
| مقدار | نام |
|---|---|
| >=1.18.5 | numpy |
| >=2.1.2 | pydicom |
| >=3.2.1 | nibabel |
| >=5.3.1 | PyYAML |
| >=1.0.5 | pandas |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl convert-source-0.2.0a9:
pip install convert-source-0.2.0a9.whl
نصب پکیج tar.gz convert-source-0.2.0a9:
pip install convert-source-0.2.0a9.tar.gz