Converting the overnight hypnogram and handling abnormal spectrogram values #143
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 10 replies
-
Hi,
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi,
|
Beta Was this translation helpful? Give feedback.
Hi,
Are you using MNE to load your EDF data? MNE automatically converts the data to Volts, so you need to multiply by 1e6 if you want the data to be in micro-Volts.
Do you mean lower in terms of the log-power unit, in dB / Hz? The absolute amplitude of the EEG is impacted by age, sex, skull thickness, as well as the PSG system and electrode location, so would not worry too much about this.
You need to upsample your hypnogram to the sampling frequency of the EEG data, by using this function: https://raphaelvallat.com/yasa/build/html/generated/yasa.hypno_upsample_to_data.html as explained in this section of the quickstart