PIA-Group/BioSPPy

Possible error in timestamps

louisabraham opened this issue · 4 comments

It seems to me endpoint should be True (the default).

T = (length - 1) / sampling_rate
ts = np.linspace(0, T, length, endpoint=False)

You're right, thanks ;)
This also happens for the other signals (EDA, EMG, ...).

Hi! Could you tell my what are you using for measuring EDA signal and which is the unit of measurement for the values from BioSPPy/examples/eda.txt(microsiemeans, ohm ? ). Is that frequency real (1000 Hz)? Isn't it a too high value?

Hi! Could you tell my what are you using for measuring EDA signal and which is the unit of measurement for the values from BioSPPy/examples/eda.txt(microsiemeans, ohm ? ). Is that frequency real (1000 Hz)? Isn't it a too high value?

Hi, the unit is the ADC value with 12-bit (0-4095) resolution, you can find the transfer function here EDA Sensor Datasheet.pdf.

The choice of 1000Hz can be considered a high value for EDA when you have complexity and memory constrains, however a large sampling rate (SR) might be of interest when exploring spectral characteristics of EDA or decomposition algorithms. Additionally, when using a large SR, you can always downsample the data according to your work methods and goals. In contrast from using a small SR, which might introduce limitations.