arvoelke / nengolib

Nengo library of additional extensions
Other
29 stars 6 forks source link

LinearSystem should track whether cont/discrete #21

Closed arvoelke closed 8 years ago

arvoelke commented 8 years ago

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.

arvoelke commented 8 years ago

Forgot one: https://github.com/arvoelke/nengolib/blob/master/nengolib/signal/lyapunov.py#L19