@sampling_period.setter
    def sampling_period(self, period):
        if period is None:
            self.sampling_rate = None
        else:
            self.sampling_rate = 1.0 / period
Inject the type and param fields into the docstrings so that the
dataset/ETHPy150Open NeuralEnsemble/python-neo/neo/core/spike.py/Spike.sampling_period--crossover with--dataset/ETHPy150Open openstack/wsme/wsmeext/sphinxext.py/FunctionDocumenter.get_doc