hxtorch.spiking.functional.mock.saturate

Define a saturation function needed to mock bounds (e.g. bounds of the dynamic ranges of membrane- and adaptation voltage or the CADC readout bounds)