跳转到主要内容

BIDS应用程序和Python库,用于连接MRI时间序列。

项目描述

tsconcat

Build codecov Ruff stability-wip L-GPL License pages

BIDS应用程序和Python库,用于连接MRI时间序列。

Cho等人2021年启发。

功能

  • 将来自多个数据集、会话、受试者或运行的多组BOLD时间序列连接到一个文件中。
  • 干运行模式以检查输出目录的外观。
  • 模拟模式以生成与bids2table兼容的parquet输出目录。

安装

通过以下方式获取最新开发版本
pip install git+https://github.com/childmindresearch/tsconcat

快速入门

ba-tsconcat /path/to/input/bids /path/to/output group --concat ses --dry_run

image

用法

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.

链接或参考

项目详细信息


下载文件

下载适合您的平台文件。如果您不确定选择哪个,请了解有关安装包的更多信息。

源分布

ba_tsconcat-0.1.4.tar.gz (17.4 kB 查看哈希值)

上传时间:

构建分布

ba_tsconcat-0.1.4-py3-none-any.whl (18.4 kB 查看散列值)

上传时间 Python 3

由以下支持