FlyBIDS
Quickly build and inspect Flywheel BIDS data.
Installation
- Development version:
Clone this repo and install the package with
pip
git clone https://github.com/PennLINC/FlyBIDS.git
cd FlyBIDS
pip install -e .
- Stable Releases:
Download from Pip:
pip install FlyBIDS
Examples
>>> from FlyBIDS.BIDSLayout import FlyBIDSLayout
>>> fbl = FlyBIDSLayout('gear_testing', subjects=['sub-1832999514', 'sub-2216595430'])
>>> print(fbl)
FlyBIDS Layout: Project 'gear_testing' | Subjects: 2 | Sessions: 3
>>> as_df = fbl.to_df()
>>> print(as_df)
template Filename \
0 anat_file sub-1832999514_ses-PNC1_T1w.nii.gz
1 func_file sub-1832999514_ses-PNC1_task-rest_acq-singleba...
2 anat_file sub-1832999514_ses-PNC2_T1w.nii.gz
3 acquisition_file sub-1832999514_ses-PNC2_task-idemo.nii.gz
: : : : : : : :
12 NaN False 5ebee86c4425360a219e6670 NaN NaN NaN 2216595430
13 bold False 5ebee86e4425360a219e6672 rest NaN 2216595430
14 NaN False 5ebee8714425360a219e6673 NaN NaN NaN 2216595430
15 phasediff False 5ebee87244253609f99e681a NaN NaN 2216595430
>>> fbl.get_files(RepetitionTime=3)
['sub-1832999514_ses-PNC1_task-rest_acq-singleband_bold.nii.gz',
'sub-1832999514_ses-PNC2_task-idemo.nii.gz',
'sub-1832999514_ses-PNC2_task-rest_acq-singleband_bold.nii.gz',
'sub-1832999514_ses-PNC2_task-frac2back.nii.gz',
'sub-2216595430_ses-PNC1_task-frac2back_run-02.nii.gz',
'sub-2216595430_ses-PNC1_task-frac2back_run-01.nii.gz',
'sub-2216595430_ses-PNC1_task-rest_acq-singleband_bold.nii.gz',
'sub-2216595430_ses-PNC1_task-idemo.nii.gz']
>>> fbl.get_metadata('EchoTime', filename='sub-1832999514_ses-PNC1_task-rest_acq-singleband_bold.nii.gz')
{'EchoTime': [0.032, 0.00351, 0.00269, 0.00527, 0.00667]}
Metadata
Release files for FlyBIDS 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| FlyBIDS-0.0.2.tar.gz | 3.9 kB | Without provenance | Details for FlyBIDS-0.0.2.tar.gz |
Release files / FlyBIDS-0.0.2.tar.gz
| Download URL | FlyBIDS-0.0.2.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4fe4c0981086256d3a5afe0405c9fc56035e5effd0b91c31fcdd009cfa0b0d6b
|
|
BLAKE2b-256 checksum How to use checksums |
3d9b3b86f7271fe561a65c33d8dbfadccafa5ea5b9a3e182a5523679c9a34507
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1.post20200622 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.7
|
Security for FlyBIDS 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.