[Eeglablist] Fwd: Spectopo

David Ryan ryand1 at goldmail.etsu.edu
Wed May 29 09:02:54 PDT 2019


Please remove my request. I have fixed the problem, it was an empty
variable.

---------- Forwarded message ---------
From: David Ryan <ryand1 at goldmail.etsu.edu>
Date: Tue, May 28, 2019 at 5:21 PM
Subject: Spectopo
To: eeglablist <eeglablist at sccn.ucsd.edu>


Hello,

I’ve been using spectopo (EEGLAB v14.1.1 and v2019.0) on 64 channel data
(Neuroscan system), to get spectral density power for a single channel.

Now I’m using a different data set from another source (g.tech amps,
g.recorder, 32 channels, *.hdf5) and I get an error when I run spectopo
(see below). I use the same code for two different data sets (Neuroscan 64
chan & g.recorder 32 chan) and only get an error for the g.recorder 32
channel data. I’ve also tried the two different import plugins.
 What have I done wrong?

FYI, the variable Pz references the channel number from the montage.

> [spectra,freqs] = spectopo (EEG.data(Pz,:,:), 0, EEG.srate);

Computing spectra (window length 256; fft length: 256; overlap 0):



Undefined function or variable 'eegspec'.



Error in spectopo>spectcomp (line 969)

                eegspecdB = eegspec/n; % normalize by the number of sections



Error in spectopo (line 334)

        [eegspecdB freqs specstd] = spectcomp( data, frames, srate,

        epoch_subset, g);
-- 

David Ryan, Ph.D.

Research Health Specialist

Mountain Home VA Health Care System (621)

Auditory Vestibular Research Enhancement Award Program (REAP)

Research Service

(423)-926-1171 Ext. 7575

www.avreap.research.va.gov

-- 

David Ryan, Ph.D.

Research Health Specialist

Mountain Home VA Health Care System (621)

Auditory Vestibular Research Enhancement Award Program (REAP)

Research Service

(423)-926-1171 Ext. 7575

www.avreap.research.va.gov



More information about the eeglablist mailing list