nws_tools.
get_corr
(txtpath, corrtype='pearson', sublist=[], **kwargs)[source]¶Compute pair-wise statistical dependence of time-series
Parameters: | txtpath : str
corrtype : str
sublist : list or NumPy 1darray
**kwargs : keyword arguments
|
---|---|
Returns: | res : dict
|
See also
corrcoef
mutual_info
Notes
Per-subject time-series do not necessarily have to be of the same length across a subject cohort. However, all ROI-time-courses within the same subject must have the same number of entries. For instance, all ROI-time-courses in s101 can have 140 entries, and time-series of s102 might have 130 entries. The remaining 10 values “missing” for s102 are filled with NaN‘s in bigmat. However, if s101_2.txt contains 140 data-points while only 130 entries are found in s101_3.txt, the code will raise a ValueError.