nipype.interfaces.nitime.analysis module

Interfaces to functionality from nitime for time-series analysis of fmri data

  • nitime.analysis.CoherenceAnalyzer: Coherence/y

  • nitime.fmri.io:

  • nitime.viz.drawmatrix_channels

CoherenceAnalyzer

Link to code

Bases: NitimeBaseInterface

Wraps nitime.analysis.CoherenceAnalyzer: Coherence/y

NFFTa long integer >= 32

This is the size of the window used for the spectral estimation. Use values between 32 and the number of samples in your time-series.(Defaults to 64.). (Nipype default value: 64)

TRa float

The TR used to collect the data in your csv file <in_file>.

figure_type‘matrix’ or ‘network’

The type of plot to generate, where ‘matrix’ denotes a matrix image and’network’ denotes a graph representation. Default: ‘matrix’. (Nipype default value: matrix)

frequency_rangea list of from 2 to 2 items which are any value

The range of frequencies overwhich the analysis will average.[low,high] (Default [0.02,0.15]. (Nipype default value: [0.02, 0.15])

in_TSany value

A nitime TimeSeries object.

in_filea pathlike object or string representing an existing file

Csv file with ROIs on the columns and time-points on the rows. ROI names at the top row. Requires inputs: TR.

n_overlapa long integer >= 0

The number of samples which overlapbetween subsequent windows.(Defaults to 0). (Nipype default value: 0)

output_csv_filea pathlike object or string representing a file

File to write outputs (coherence,time-delay) with file-names: file_name_{coherence,timedelay}.

output_figure_filea pathlike object or string representing a file

File to write output figures (coherence,time-delay) with file-names: file_name_{coherence,timedelay}. Possible formats: .png,.svg,.pdf,.jpg,…

coherence_arrayan array

The pairwise coherence values between the ROIs.

coherence_csva pathlike object or string representing a file

A csv file containing the pairwise coherence values.

coherence_figa pathlike object or string representing a file

Figure representing coherence values.

timedelay_arrayan array

The pairwise time delays between the ROIs (in seconds).

timedelay_csva pathlike object or string representing a file

A csv file containing the pairwise time delay values.

timedelay_figa pathlike object or string representing a file

Figure representing coherence values.