summaryrefslogtreecommitdiff
path: root/pyspike/PieceWiseConstFunc.py
AgeCommit message (Collapse)Author
2021-12-29Python 3.10 compatibility fix (#53)gspr
Importing Sequence et al. from collections has been deprecated since Python 3.7.
2018-07-21Fix incorrect integrals in PieceWiseConstFunc (#36)Jonathan Jouty
* 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
2015-12-14py3: absolute_importIgor Gnatenko
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2015-07-07add disable_backend_warning propertyMario Mulansky
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
2015-05-18cosmeticsMario Mulansky
2015-05-17return correct values at exact spike timesMario Mulansky
pwc and pwl function object return the average of the left and right limit as function value at the exact spike times.
2015-05-13pwc function now returns intermediate value at exact spike timesMario Mulansky
2015-05-12+functions to obtain values of the pwc/pwl profileMario Mulansky
Added __call__ operators to PieceWiseConst and PieceWiseLin class for obtaining function values at certain points in time.
2015-04-27updated docsMario Mulansky
2015-02-03moved cython functions to subdirectoryMario Mulansky
2015-01-28added missing py filesMario Mulansky