BrkRaw extension for Diffusion Tensor Imaging (DTI) support
Project description
BrkRaw DTI Extension
This hook provides Diffusion Tensor Imaging (DTI) support for BrkRaw.
Features
-
DTI Conversion:
- Automatically exports
.bvaland.bvec(FSL format) files alongside the NIfTI image. - Correctly reorients gradient vectors (
bvecs) from the logical frame to the image frame (RAS+).
- Automatically exports
-
DTI Viewer & QC:
- Adds a DTI Tab to the BrkRaw Viewer.
- Calculate DTI: Performs real-time Tensor fitting (OLS).
- Visualization: Displays Fractional Anisotropy (FA), Mean Diffusivity (MD), and Directionally Encoded Color FA (DEC-FA) maps directly in the viewer.
- DEC-FA QC: Allows immediate verification of gradient orientation (Red: L-R, Green: A-P, Blue: S-I).
Usage
Conversion
The hook is automatically selected for scans with diffusion directions (PVM_DwNDiffDir > 0).
brkraw convert /path/to/study -s 10
Viewer
Open the viewer and select a DTI scan. The "DTI" tab will appear in the control panel.
- Click Calculate DTI.
- Wait for the calculation to finish.
- Use the dropdown to switch between
FA,MD,DEC-FA, andb0views.
Installation
pip install .
brkraw hook install dti
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file brkraw_dti-0.1.0.tar.gz.
File metadata
- Download URL: brkraw_dti-0.1.0.tar.gz
- Upload date:
- Size: 13.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6c97372ba9858e84bf26a30d3f0760a7ffa86588ea3e05d42602da517f52f09
|
|
| MD5 |
77de07c63b6f2ce60e92b45de93943bc
|
|
| BLAKE2b-256 |
b9347e4da5050e17e2088e16544f911582dd1aaf4263c1464cca3282ef734cf6
|
Provenance
The following attestation bundles were made for brkraw_dti-0.1.0.tar.gz:
Publisher:
publish.yml on BrkRaw/brkraw-dti
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
brkraw_dti-0.1.0.tar.gz -
Subject digest:
d6c97372ba9858e84bf26a30d3f0760a7ffa86588ea3e05d42602da517f52f09 - Sigstore transparency entry: 869325077
- Sigstore integration time:
-
Permalink:
BrkRaw/brkraw-dti@b63295269e07cdad16b71995213d078cf6581b80 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/BrkRaw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b63295269e07cdad16b71995213d078cf6581b80 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file brkraw_dti-0.1.0-py3-none-any.whl.
File metadata
- Download URL: brkraw_dti-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ee361c723047eaae52459f079be3e931d6c4e8cc660e8c6421421ac2a62d6c8
|
|
| MD5 |
57323c7877e5958e7b8041830f8e07d0
|
|
| BLAKE2b-256 |
0d141f95df5bd1f25d5e5ac1e47fcc22647d1e3f333490d6eb5c530bb7b5e543
|
Provenance
The following attestation bundles were made for brkraw_dti-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on BrkRaw/brkraw-dti
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
brkraw_dti-0.1.0-py3-none-any.whl -
Subject digest:
8ee361c723047eaae52459f079be3e931d6c4e8cc660e8c6421421ac2a62d6c8 - Sigstore transparency entry: 869325115
- Sigstore integration time:
-
Permalink:
BrkRaw/brkraw-dti@b63295269e07cdad16b71995213d078cf6581b80 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/BrkRaw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b63295269e07cdad16b71995213d078cf6581b80 -
Trigger Event:
workflow_dispatch
-
Statement type: