BIDS App and Python library for concatenating MRI time series.
Project description
tsconcat
BIDS App and Python library for concatenating MRI time series.
Inspired by Cho et al. 2021.
Features
- Concatenate BOLD time series from multiple datasets, sessions, subjects or runs into a single file.
- Dry run mode to check what the output directory will look like.
- Fake mode to produce a bids2table compatible parquet output directory.
Installation
Get the newest development version via:pip install git+https://github.com/childmindresearch/tsconcat
Quick start
ba-tsconcat /path/to/input/bids /path/to/output group --concat ses --dry_run
Usage
ba-tsconcat --help
usage: ba-tsconcat [-h] [-c CONCAT] [-d] [-f] bids_dir output_dir {group}
Concatenate MRI timeseries.
positional arguments:
bids_dir Input BIDS folder path.
output_dir Output BIDS folder path.
{group} Processing stage, must be "group".
options:
-h, --help show this help message and exit
-c CONCAT, --concat CONCAT
Concat across. Can be any combination of dataset, sub, ses, run separated by spaces. Output data will be grouped by the set difference.
-d, --dry_run Dry run. Print output directory structure instead of actually doing something. If this is enabled 'bids_dir' may be a path to a bids2table parquet directory.
-f, --fake Fake output. Output a bids2table parquet directory instead of actually doing something.
Links or References
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ba_tsconcat-0.1.4.tar.gz
(17.4 kB
view details)
Built Distribution
File details
Details for the file ba_tsconcat-0.1.4.tar.gz
.
File metadata
- Download URL: ba_tsconcat-0.1.4.tar.gz
- Upload date:
- Size: 17.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1be25aead1ba14078b1fecd678262f70221ae3c58ac452a98dd92bd6e38c07f0 |
|
MD5 | e4e5e1d1587478d7ccbecd500c91ca13 |
|
BLAKE2b-256 | 79679bd9f13477c609319176410ea57db38f288eb2dc9d545693dfdf7aff3ae9 |
File details
Details for the file ba_tsconcat-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: ba_tsconcat-0.1.4-py3-none-any.whl
- Upload date:
- Size: 18.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cd147b511d4ff404a2ec431d711c66f7edecb5c22da730f91139ecf84a42613 |
|
MD5 | 89f046ea5974f272ba4ec0209ae4253a |
|
BLAKE2b-256 | aa49f8f8a98bcbdfec59c56b4d9af508fa601ad6d32bef7c81c5807f5c11ffa0 |