I'd like to manually set the sampling frequency of a Neuropixels recording loaded via read_spikeglx. The reason is that my analysis requires precise synchronization of traces, and environmental fluctuations (e.g. temperature) can create slight discrepancies from the calibrated sampling frequency on an experiment-by-experiment basis. Using the sync channel, I can compute an empirical sampling frequency for each experiment, and I would like to use these values. Is there a way to do this? If not, can the simple feature of manually setting recording properties be introduced? My current workaround is directly editing the .meta file. Thanks!
I'd like to manually set the sampling frequency of a Neuropixels recording loaded via
read_spikeglx. The reason is that my analysis requires precise synchronization of traces, and environmental fluctuations (e.g. temperature) can create slight discrepancies from the calibrated sampling frequency on an experiment-by-experiment basis. Using the sync channel, I can compute an empirical sampling frequency for each experiment, and I would like to use these values. Is there a way to do this? If not, can the simple feature of manually setting recording properties be introduced? My current workaround is directly editing the.metafile. Thanks!