PeerHerholz / bids_bep16_conv

A small package to implement conversions between BEP-16 (Diffusion Derivatives) compliant datasets and other/existing software outputs.
https://peerherholz.github.io/bids_bep16_conv
BSD 3-Clause "New" or "Revised" License
0 stars 2 forks source link

DIPY DTI conversion #2

Open arokem opened 1 year ago

arokem commented 1 year ago

Write library code that verifies downloaded is available and then runs DIPY DTI on the data, and saves out BIDS compliant outputs.

  1. Run the DIPY CLI on the preprocessed BIDS dataset, which then produces its idiosyncratic outputs (i.e., not BIDS).
  2. Copy these outputs into an appropriately named and organized derivative dataset within the BIDS dataset.
arokem commented 1 year ago

Assigning this to myself.

PeerHerholz commented 1 year ago

Added dipy_fit_DTI function via this commit. We now need to add the conversion function that adapts the output to BEP16-conform files.

PeerHerholz commented 1 year ago

Hi @arokem,

I added the first draft of the conversion via this commit. I wasn't sure re the _mdp files: should the respective json sidecar files be based on this table?

PeerHerholz commented 1 year ago

The latest updates incorporate the respective behavior and thus the first full conversion of DIPY DTI analysis outputs to BEP16-conform directories/files.