@pre_spike_samples.setter
def pre_spike_samples(self, value):
    self._pre_spike_samples = int(self._pre_spike_samples)
@pre_spike_samples.setter
def pre_spike_samples(self, value):
    self._pre_spike_samples = int(self._pre_spike_samples)