API¶
tedana.workflows
: Common workflows¶
|
Run the “canonical” TE-Dependent ANAlysis workflow. |
|
Estimate T2 and S0, and optimally combine data across TEs. |
tedana.decay
: Modeling signal decay across echoes¶
Functions to estimate S0 and T2* from multi-echo data.
|
Fit voxel-wise monoexponential decay models to data |
|
Fit voxel- and timepoint-wise monoexponential decay models to data |
tedana.combine
: Combining time series across echoes¶
Functions to optimally combine data across echoes.
|
Optimally combine BOLD data across TEs, using only those echos with reliable signal across at least three echos. |
tedana.decomposition
: Data decomposition¶
|
Use principal components analysis (PCA) to identify and remove thermal noise from multi-echo data. |
|
Perform ICA on data and returns mixing matrix |
tedana.metrics
: Computing TE-dependence metrics¶
|
Fit TE-dependence and -independence models to components. |
|
Compute metrics used by Kundu v2.5 and v3.2 decision trees. |
tedana.selection
: Component selection¶
|
Perform manual selection of components. |
Classify components as “accepted,” “rejected,” or “ignored” based on relevant metrics. |
|
|
Select PCA components using Kundu’s decision tree approach. |
tedana.gscontrol
: Global signal control¶
Global signal control methods
|
Removes global signal from individual echo catd and optcom time series |
Perform minimum image regression (MIR) to remove T1-like effects from BOLD-like components. |
tedana.io
: Reading and writing data¶
Functions to handle file input/output
|
Coerces input data files to required 3D array output |
|
Writes data to filename in format of ref_img |
|
Coerces data into NiftiImage format like ref_img |
|
Save pandas DataFrame as a BIDS Derivatives-compatible json file. |
|
Load a BIDS Derivatives decomposition json file into a pandas DataFrame. |
|
Create component name with leading zeros matching number of components |
|
Splits data time series into accepted component time series and remainder |
|
Splits data into denoised / noise / ignored time series and saves to disk |
|
Converts data to component space with mmix and saves to disk |
|
Denoises ts and saves all resulting files to disk |
|
Saves individually denoised echos to disk |
tedana.stats
: Statistical functions¶
Statistical functions
|
Performs least-squares fit of X against data |
|
Converts data to component space using mmix |
|
Gets F-statistic boundaries based on number of echos |
tedana.utils
: Utility functions¶
Utilities for tedana package
|
Sums arrays in arrs |
|
Compute Dice’s similarity index between two numpy arrays. |
|
Returns the power spectrum and corresponding frequencies when provided with a component time course and repitition time. |
|
Takes input data and returns a sample x time array |
|
Makes map of data specifying longest echo a voxel can be sampled with |
|
Cluster-extent threshold and binarize image. |
|
Unmasks data using non-zero entries of mask |
Convert seconds to milliseconds. |
|
Convert milliseconds to seconds. |