fmriu.freq.obs2div: observations to Divergence

Description Usage Arguments Value

Description

a function that converts lists of timeseries signals to divergence matrices, using the fourier domain. This function serves as a wrapper for the obs2freq and freq2div functions.

Usage

1
2
fmriu.freq.obs2div(observations, tr = NaN, lc = 0.01, hc = NaN,
  spectrum = "amp")

Arguments

observations:

[[n]][nt, nroi] a list of signals for n subjects, each containing nt timesteps and nroi rois.

tr:

[1] the repetition time (in sec) of the dataset. corresponds to the time to take a single timestep.

lc:

[1] the lower cutoff (in Hz) below which the fourier domain components will be set to zero.

hc:

[1] the higher cutoff (in Hz) above which the fourier domain components will be set to zero.

spectrum='amp':

the frequency spectrum to use for computations. Can be 'amp' or 'pow'.

Value

div_mtx [[n]][nroi, nroi] a list of n divergence matrices where each edge is a divergence between the frequency spectrum of two pairs of rois.


neurodata/fmriutils documentation built on May 14, 2019, 2:30 p.m.