[Mne_analysis] cwt and visualization
Nico Adelhöfer
nico.adelhoefer at st.ovgu.de
Wed Jul 13 13:36:49 EDT 2016
Hello,
I'm new to this mailing list and to MNE. I think so far it is really great!
I have a few questions concerning the usage of the cwt_morlet
function; I want to plot a continuous wavelet transform from a single
EEG channel. I have a raw multi-channel .fif file, approximately 300s
long with a sampling frequency of 512 Hz. I'm interested in a
frequency range of approximately 0-45 Hz. How can I achieve this in
the simplest way possible? Specifically,
1. what datatype is the first parameter (X)? I tried the variable from
read_raw_fif, but that gives me "'tuple' object has no attribute
'shape'". I also tried raw[4][0], which seems to work. But is this
really the correct approach?
2. is freqs simply a list of integers with the frequencies of
interest? If the length is > 1, I get a Value Error ("Maximum allowed
size exceeded"). Does this mean I have to resample my raw data until
it works?
3. when it worked, it created an np.ndarray with numbers with complex
parts. Do I see it correctly that the complex parts show the phase
while the real part shows the power value?
4. how can I visualize the result?
Sorry for these basic questions. Help would be much appreciated!
Nico
More information about the Mne_analysis
mailing list