Hi Jorrit!
I am currently implementing zeta in our analysis to have a robust way of determining cell responsiveness and the provided code works great! Thank you for putting this together.
In one of our specific use-cases we can however only consider neurons that have a significant rate increase with the stimulus. As I understand the code, vanilla zeta checks for deviations from baseline in any direction. Some neurons in our datasets are inhibited by the stimulus (based on the PSTH/IFR) with significant zeta but should be excluded. sRate.dblPeakTime is then nearly instantaneous for example. Do you have a hint how to best implement this? For now I am comparing sRate.dblPeakRate to baseline and check if sRate.dblOnset is close to sZETA.dblPeakT or sZETA.dblPeakT_InvSign. I am worried however that I am including neurons that have significant inhibition and a spurious excitatory peak. It would be great if you could offer an opinion, even if it is the case that zeta cannot be used here.
Thanks a lot and looking forward to the trace implementation for our Ca data!
Hi Jorrit!
I am currently implementing zeta in our analysis to have a robust way of determining cell responsiveness and the provided code works great! Thank you for putting this together.
In one of our specific use-cases we can however only consider neurons that have a significant rate increase with the stimulus. As I understand the code, vanilla zeta checks for deviations from baseline in any direction. Some neurons in our datasets are inhibited by the stimulus (based on the PSTH/IFR) with significant zeta but should be excluded. sRate.dblPeakTime is then nearly instantaneous for example. Do you have a hint how to best implement this? For now I am comparing sRate.dblPeakRate to baseline and check if sRate.dblOnset is close to sZETA.dblPeakT or sZETA.dblPeakT_InvSign. I am worried however that I am including neurons that have significant inhibition and a spurious excitatory peak. It would be great if you could offer an opinion, even if it is the case that zeta cannot be used here.
Thanks a lot and looking forward to the trace implementation for our Ca data!