[MARKER]: (f)ALFF #35
No reviewers
Labels
No labels
CRITICAL
Stale
WIP
bug
concept
coordinate
dataset
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
maintenance
maps
marker
mask
on hold
parcellation
preprocess
question
ready
storage
template-space
triage
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
juaml/junifer!35
Loading…
Reference in a new issue
No description provided.
Delete branch "enh/falff"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Which marker do you want to include?
ALFF and fALFF
They can be calculated simultaneously as fALFF is just a scaling of ALFF in the full frequency range.
Inputs:
List of 3D MNI coordinates OR a mask file
Output:
Two arrays with one value per voxel, one for ALFF and one for fALFF
Is there any publication or available code?
https://pubmed.ncbi.nlm.nih.gov/18501969/
Do you have a sample code that implements this outside of junifer?
No response
Anything else to say?
Equations here can be used:
https://web.conn-toolbox.org/fmri-methods/connectivity-measures/other#h.p_uBWGEgvizNhI
Codecov Report
100.00% <0.00%> (ø)93.52% <0.00%> (ø)Flags with carried forward coverage won't be shown. Click here to find out more.
@ -0,0 +1,180 @@"""Provide abstract class for computing fALFF."""Please add a newline after this for consistency.
highpass : positive float?lowpass : positive float?tr : positive float, optional?Maybe return the list directly?
I don't think the class is abstract.
Use
raise_error?@ -0,0 +33,4 @@if available (default None).name : str, optionalThe name of the marker. If None, it will use the class name(default None).Please add a newline after this.
@ -0,0 +1,338 @@"""Provide estimator class for (f)ALFF."""The docstring needs to be updated.
highpass : positive float?lowpass : positive float?highpass : positive float?lowpass : positive float?tr : positive float, optionaltr : positive float, optional?highpass : positive float?lowpass : positive float?tr : positive float, optional?highpass : positive float?lowpass : positive float?tr : positive float, optional?@ -0,0 +1,126 @@"""Provide class for computing fALFF on parcels."""highpass : positive float, optional?lowpass : positive float, optional?tr : positive float, optional?Extra newline here, can be removed.
@ -0,0 +1,134 @@"""Provide class for computing fALFF on spheres."""highpass : positive float, optional?lowpass : positive float, optional?tr : positive float, optional?Extra newline here, can be removed.
@ -0,0 +116,4 @@keys:* ``data`` : the actual computed values as a numpy.ndarray* ``columns`` : the column labels for the computed values as a listNeeds a newline after the listing.
@ -0,0 +206,4 @@_check_afni() is False, reason="requires afni to be in PATH")def test_AmplitudeLowFrequencyFluctuationEstimator_afni_vs_python() -> None:"""Test that the cache works properly when using afni."""Docstring needs to be updated.
@ -0,0 +17,4 @@from junifer.storage import SQLiteFeatureStoragefrom junifer.utils import loggerAs the parcellations used are same, maybe create a module-level variable and reuse it.
@ -0,0 +1,165 @@"""Provide test for sphere-aggregated (f)ALFF."""Docstring needs to be updated.
@ -0,0 +18,4 @@from junifer.storage import SQLiteFeatureStoragefrom junifer.utils import loggerAs the coordinates used are same, maybe create a module-level variable and reuse it.
@ -0,0 +33,4 @@if available (default None).name : str, optionalThe name of the marker. If None, it will use the class name(default None).done