coganlab / IEEG_Pipelines

A repo of current preprocessing methods for the Cogan Lab
https://ieeg-pipelines.readthedocs.io/en/latest/
MIT License
4 stars 2 forks source link

Fix timpermcluster class method to take baseline that was already included in the initial extractHGDataWithROI.m call #31

Open Aaronearlerichardson opened 1 year ago

Aaronearlerichardson commented 1 year ago

class method: https://github.com/coganlab/IEEG_Pipelines/blob/b6933ab04bdfe2af045e751c02846e0897c7aa1c/MATLAB/ieegClassDefinition/ieegStructClass.m#L145-L175 while obj1 accepts self as input, the baseline data is not saved in the extractHGDataWithROI.m output. Moreover the obj1 data is already z scored against the baseline, so using this method requires saving both of the original inputs from the extractHGDataWithROI.m call.