API
tedana.workflows
: Common workflows
|
Run the "canonical" TE-Dependent ANAlysis workflow. |
Run the post-tedana manual classification 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
TE-dependence and TE-independence metrics.
Tools to collect and generate metrics. |
|
Metrics evaluating component TE-dependence or -independence. |
tedana.selection
: Component selection
Load and classify components based on a specified |
|
Passes errors that are raised when validate_tree fails |
|
Load the json file with the decision tree and validate the fields in the decision tree. |
|
Confirm that provided tree is a valid decision tree. |
Functions that will be used as steps in a decision tree. |
|
Utility functions for tedana.selection |
|
Functions to identify TE-dependent and TE-independent components. |
|
Functions to identify TE-dependent and TE-independent components. |
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
The io module handles most file input and output in the tedana workflow.
Other functions in the module help write outputs which require multiple data sources, assist in writing per-echo verbose outputs, or act as helper functions for any of the above.
|
A class for managing tedana outputs. |
|
Class for turning a registry file into a lookup table to get previous data. |
|
Class for converting some types because of JSON serialization and numpy incompatibilities. |
|
Coerce input data files to required 3D array output. |
|
Load a json file from path. |
|
Identify all fields in an unformatted string. |
|
Coerce data into NiftiImage format like ref_img. |
Attempt to create a JSON serializable dictionary from a data dictionary. |
|
|
Create component name with leading zeros matching number of components. |
|
Apply component classifications to data for denoising. |
|
Split data time series into accepted component time series and remainder. |
|
Split data into denoised / noise / ignored time series and save to disk. |
|
Denoise ts and save all resulting files to disk. |
|
Save 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.bibtex
: Tools for working with BibTeX files
Utilities for tedana package
|
Search a string for matched braces. |
|
Identify outermost brace indices in list of indices. |
Identify the BibTeX entry identifier before each entry. |
|
|
Find citations in a text description. |
|
Reduce the list of references to only include ones associated with requested citations. |
Find BibTeX references for citations in a methods description. |
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. |
Take input data and return 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. |