Closed webcluster4u closed 9 months ago
You can use a hidden method of eeg called _applyFunctionTo2C. This method lets you apply custom functions to the data for two channels. For your example the function should be something like this:
def myfunc(s1, s2):
return features.PFD(s1-s2)
helper.eeg._applyFunctionTo2C(myfunc, channels = desired_channels)
I hope this helps you.
Hi,
I am using an EDF helper like below to extract different channels like below:
I actually need to get montage of above signals i.e. and subtract two particular samples and then get PFD. Also I need to get the exact raw sample points of the signal along with the starting and its ending times in seconds , for example how to know in which time the first eeg was started?
Can I do above by using eeg?