MCPcopy
hub / github.com/mne-tools/mne-python / AverageTFRArray

Class AverageTFRArray

mne/time_frequency/tfr.py:2980–3033  ·  view source on GitHub ↗

Data object for *precomputed* spectrotemporal representations of averaged data. Parameters ---------- %(info_not_none)s %(data_tfr)s %(times)s %(freqs_tfr_array)s nave : int The number of averaged TFRs. %(comment_averagetfr_attr)s %(method_tfr_array)s

Source from the content-addressed store, hash-verified

2978
2979@fill_doc
2980class AverageTFRArray(AverageTFR):
2981 """Data object for *precomputed* spectrotemporal representations of averaged data.
2982
2983 Parameters
2984 ----------
2985 %(info_not_none)s
2986 %(data_tfr)s
2987 %(times)s
2988 %(freqs_tfr_array)s
2989 nave : int
2990 The number of averaged TFRs.
2991 %(comment_averagetfr_attr)s
2992 %(method_tfr_array)s
2993 %(weights_tfr_array)s
2994
2995 Attributes
2996 ----------
2997 %(baseline_tfr_attr)s
2998 %(ch_names_tfr_attr)s
2999 %(comment_averagetfr_attr)s
3000 %(freqs_tfr_attr)s
3001 %(info_not_none)s
3002 %(method_tfr_attr)s
3003 %(nave_tfr_attr)s
3004 %(sfreq_tfr_attr)s
3005 %(shape_tfr_attr)s
3006 %(weights_tfr_attr)s
3007
3008 See Also
3009 --------
3010 AverageTFR
3011 EpochsTFRArray
3012 mne.Epochs.compute_tfr
3013 mne.Evoked.compute_tfr
3014 """
3015
3016 def __init__(
3017 self,
3018 info,
3019 data,
3020 times,
3021 freqs,
3022 *,
3023 nave=None,
3024 comment=None,
3025 method=None,
3026 weights=None,
3027 ):
3028 state = dict(info=info, data=data, times=times, freqs=freqs)
3029 optional = dict(nave=nave, comment=comment, method=method, weights=weights)
3030 for name, value in optional.items():
3031 if value is not None:
3032 state[name] = value
3033 self.__setstate__(state)
3034
3035
3036@fill_doc

Callers 10

test_plot_tfr_topomapFunction · 0.90
test_plot_tfr_topoFunction · 0.90
test_average_tfr_initFunction · 0.90
test_dB_computationFunction · 0.90
test_plotFunction · 0.90
test_add_channelsFunction · 0.90
tfr_stockwellFunction · 0.85

Calls

no outgoing calls

Tested by 7

test_plot_tfr_topomapFunction · 0.72
test_plot_tfr_topoFunction · 0.72
test_average_tfr_initFunction · 0.72
test_dB_computationFunction · 0.72
test_plotFunction · 0.72
test_add_channelsFunction · 0.72