diff --git a/src/spikeanalysis/merged_spike_analysis.py b/src/spikeanalysis/merged_spike_analysis.py index 2551ada..e608e28 100644 --- a/src/spikeanalysis/merged_spike_analysis.py +++ b/src/spikeanalysis/merged_spike_analysis.py @@ -193,6 +193,7 @@ def get_merged_data(self): msa = MSA() msa._set_cluster_ids(self.cluster_ids) msa._set_events(self.events) + msa._sampling_rate = self.spikeanalysis_list[0]._sampling_rate if self.use_psth: msa.psths = self.data