<div dir="ltr">hi all,<div><br></div><div>We've encountered some unexpected signal values when reading edf files using ft_preprocessing.</div><div><br></div><div>It appears that, for certain signals, ft_preprocessing returns data with an undesired change in offset. The first figure shows the same signal read in using ft_preprocessing and Matlab's edfread. The next one shows the signal in the EDFbrowser app. I also compared to eeglab's biosig plugin (not shown). All signals are/appear identical, except for the one produced by FieldTrip.</div><div><br></div><div>Of note, this behavior so far seems to occur only for some non-EEG signals (e.g., accelerometer from zmax device), but I didn't test extensively.</div><div><br></div><div>Any thoughts as to what makes ft_preprocessing decide to change the offset (and/or scaling), when it will do so, and how to not make it do that? We'd like to import the raw data "as is" without alterations.</div><div><br></div><div>Best,</div><div>Roy</div><img src="cid:ii_lhrq9pc10" alt="ft_preprocessing_vs_edfread.PNG" width="542" height="347"><div><img src="cid:ii_lhrqdsn71" alt="edfbrowser.PNG" width="542" height="344"><br><div> </div></div></div>