Skip to main content

tsconcat

Build codecov Ruff stability-wip L-GPL License pages

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

image

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.

Metadata

Release files for ba-tsconcat 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ba-tsconcat 0.1.4
File Size Uploaded Provenance
ba_tsconcat-0.1.4.tar.gz 17.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ba-tsconcat 0.1.4
File Interpreter ABI Platform
ba_tsconcat-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 35.7 kB

Release files / ba_tsconcat-0.1.4.tar.gz

Download URL ba_tsconcat-0.1.4.tar.gz
Size 17.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1be25aead1ba14078b1fecd678262f70221ae3c58ac452a98dd92bd6e38c07f0
BLAKE2b-256 checksum
How to use checksums
79679bd9f13477c609319176410ea57db38f288eb2dc9d545693dfdf7aff3ae9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / ba_tsconcat-0.1.4-py3-none-any.whl

Download URL ba_tsconcat-0.1.4-py3-none-any.whl
Size 18.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5cd147b511d4ff404a2ec431d711c66f7edecb5c22da730f91139ecf84a42613
BLAKE2b-256 checksum
How to use checksums
aa49f8f8a98bcbdfec59c56b4d9af508fa601ad6d32bef7c81c5807f5c11ffa0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Security for ba-tsconcat 0.1.4

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page