-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
The PSD and PowerByBand come after the notch and bandpass filter. Therefore their useable range is limited to the range of the bandpass filters. For example, today, the bandpass goes from 2 to 45Hz for the Crown. The PSD and PowerBy Band use constants from eeg-pipes but has a much narrower range than the constants found in EEG-pipes.
For example, the PSD gives:
label: 'psd',
freqs: [
0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22,
24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46,
48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70,
72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94,
96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118,
120, 122, 124, 126
],
info: {
notchFrequency: '60Hz',
samplingRate: 256,
startTime: 1628197298732
},
But the 0, and everything above 44, maybe 46 is invalid and should not be used. A solution would be to limit what PSD shows dynamically based on the bandpass:
label: 'psd',
freqs: [
2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22,
24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46
],
info: {
notchFrequency: '60Hz',
bandpassLow: '2Hz',
bandpassHigh: '45Hz',
samplingRate: 256,
startTime: 1628197298732
},
The docs are therefore not correct and should be updated: https://docs.neurosity.co/docs/api/brainwaves
GHDEVS
Metadata
Metadata
Assignees
Labels
No labels