By adding an analog attribute that cont2discrete and discrete2cont will flip. This should enable some better error checking in the few places that assume a synapse is in one form or another (apply_filter, ss2sim, NengoLinearFilterMixin, balreal). Then make a discrete q operator. Also replace all instances of scipy.signal.cont2discrete with nengolib.signal.cont2discrete.
By adding an
analog
attribute that cont2discrete and discrete2cont will flip. This should enable some better error checking in the few places that assume a synapse is in one form or another (apply_filter, ss2sim, NengoLinearFilterMixin, balreal). Then make a discreteq
operator. Also replace all instances ofscipy.signal.cont2discrete
withnengolib.signal.cont2discrete
.