@sampling_period.setter
    def sampling_period(self, period):
        if period is None:
            self.sampling_rate = None
        else:
            self.sampling_rate = 1.0 / period
Setter for :attr:`sampling_period`.
dataset/ETHPy150Open NeuralEnsemble/python-neo/neo/core/spike.py/Spike.sampling_period