nipreps / mriqc

Automated Quality Control and visual reports for Quality Assessment of structural (T1w, T2w) and functional MRI of the brain

Home Page:http://mriqc.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Do not clean up FA for degenerate tensors within DTI node

oesteban opened this issue · comments

What happened?

We are immediately cleaning up the FA:

fa_data[np.isnan(fa_data)] = 0
fa_data = np.clip(fa_data, 0, 1)
and that precludes that we calculate the percentage of degenerate tensors as an IQM or plot them highlighted for visual QA/QC.

Methods that require a "massaged" FA (e.g., to calculate the CC mask) should take these two easy steps on their own.

/cc @arokem @teresamg

What command did you use?

-m dwi

What version of the software are you running?

master

How are you running this software?

Local installation ("bare-metal")

Is your data BIDS valid?

Yes

Are you reusing any previously computed results?

No

Please copy and paste any relevant log output.

No response

Additional information / screenshots

No response

What's the point of the FA file? Where is it used subsequent to saving?