Age | Commit message (Collapse) | Author |
|
Importing Sequence et al. from collections has been deprecated since
Python 3.7.
|
|
* Add (some currently failing) tests for PieceWiseConstFunc.integral
* Fix implementation of PieceWiseConstFunc.integral
Just by adding a special condition for when we are only taking an
integral "between" two edges of a PieceWiseConstFunc
All tests now pass.
Fixes #33.
* Add PieceWiseConstFunc.integral tests for ValueError
* Add testing bounds of integral
* Raise ValueError in function implementation
|
|
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
|
|
Users can now disable the warning messages produced when the cython backend is
not available by writing
spk.disable_backend_warning = True
in the beginning
|
|
|
|
pwc and pwl function object return the average of the left and right limit
as function value at the exact spike times.
|
|
|
|
Added __call__ operators to PieceWiseConst and PieceWiseLin class for
obtaining function values at certain points in time.
|
|
|
|
|
|
|