Skip to main content

Plugin for the d2b package to handle ASL data

Project description

d2b-asl

Plugin for the d2b package to handle ASL data

PyPI Version

Installation

pip install d2b-asl

User Guide

This package adds support for the aslContext field in the description objects located in the d2b config files. This field should be an array of strings, where each string is a volume type (as defined in the BIDS specification here). Specifically, this array should have the same number of entries as the described ASL acquisition has volumes (if there are 109 volumes in the acquisition which this description is describing, then aslContext should be an array of length 109).

For example, a config file describing an ASL acquisition might looks something like:

{
  "descriptions": [
    {
      "dataType": "perf",
      "modalityLabel": "asl",
      "criteria": {
        "ProtocolName": "ep2d_pasl",
        "MagneticFieldStrength": 3,
        "MRAcquisitionType": "2D",
        "ImageType": [
          "ORIGINAL",
          "PRIMARY",
          "ASL",
          "NONE",
          "ND",
          "NORM",
          "FILTERED",
          "MOSAIC"
        ]
      },
      "sidecarChanges": {
        "ArterialSpinLabelingType": "PASL",
        "PostLabelingDelay": 1.8,
        "BackgroundSuppression": false,
        "M0Type": "Included",
        "TotalAcquiredPairs": 54,
        "AcquisitionVoxelSize": [3.5, 3.5, 4.5],
        "BolusCutOffFlag": true,
        "BolusCutOffDelayTime": 0.7,
        "BolusCutOffTechnique": "Q2TIPS",
        "PASLType": "PICORE"
      },
      "aslContext": [
        "m0scan",
        "control",
        "label",
        "control",
        "label",
        "control",
        "label",
        // full array omitted for readability ...
        "control",
        "label"
      ]
    }
  ]
}

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

d2b-asl-1.0.2.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

d2b_asl-1.0.2-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file d2b-asl-1.0.2.tar.gz.

File metadata

  • Download URL: d2b-asl-1.0.2.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.8 CPython/3.9.7 Linux/5.8.0-1041-azure

File hashes

Hashes for d2b-asl-1.0.2.tar.gz
Algorithm Hash digest
SHA256 c38adb4881ab382df2f2f46ad94c4415e8d303c89c5e4d6856117fdc9bb09e1b
MD5 e98326e6bb7e5c3fbf81143753a5b8dc
BLAKE2b-256 343e7d98d16db9f8cbc95c4963c168c49ca874e6e66e60a9c4236cbfe9beb27f

See more details on using hashes here.

File details

Details for the file d2b_asl-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: d2b_asl-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.8 CPython/3.9.7 Linux/5.8.0-1041-azure

File hashes

Hashes for d2b_asl-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 305aa8224d404dd7d54a67ac80c4f2e3b4dac5e0b19f0047d41c4c19baefa902
MD5 acd10af388057247418ed2b3ad2acc60
BLAKE2b-256 2bc9b952fef811195f8a531153423353501214bb7d923e8a9ad04874fd99413b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page