summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2021-12-29Use assert_allclose instead of assert_equal in tests to allow for different ↵gspr
floating point behavior on different architectures or optimization levels. (#49)
2018-09-19Fix incorrect integrals in PieceWiseLinFunc (#38)Mario Mulansky
Integrals of piece-wise linear functions were incorrect if the requested interval lies completely between two support points. This has been fixed, and a unit test exercising this behavior was added. Fixes #38
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
2018-07-15Remove debug print from testsMario Mulansky
2018-07-15Clean up directionality module, add doxy.Mario Mulansky
2018-06-09remove commented codeMario Mulansky
2018-06-02updated test case to new spike sync behaviorMario Mulansky
2018-06-02added coincidence single profile to python backendMario Mulansky
missing function in python backend added, identified and fixed a bug in the implementation as well
2018-06-02spike sync filtering, cython sim annMario Mulansky
Added function for filtering out events based on a threshold for the spike sync values. Usefull for focusing on synchronous events during directionality analysis. Also added cython version of simulated annealing for performance.
2018-06-02added SPIKE-Sync based filteringMario Mulansky
new function filter_by_spike_sync removes spikes that have a multi-variate Spike Sync value below some threshold not yet fully tested, python backend missing.
2018-06-02further refactoring of directionalityMario Mulansky
2018-06-02reorganized directionality moduleMario Mulansky
2018-02-04Make merge_spike_trains work with empty spike trains, and fasterJonathan Jouty
1. Fixes https://github.com/mariomulansky/PySpike/issues/30 2. Code is faster 3. Add test case
2016-06-18added missing data files for testsMario Mulansky
2016-06-18Merge branch 'import_time_series' into developMario Mulansky
Conflicts: pyspike/__init__.py resolved
2016-06-18added function to import time seriesMario Mulansky
new function import_spike_trains_from_time_series that loads spike trains from time series.
2016-03-24bugfix for Python 3 (xrange->range)Mario Mulansky
2016-03-24added test for save spike train functionalityMario Mulansky
2016-02-03fixed spike-sync bugMario Mulansky
fixed ugly bugs in code for computing multi-variate spike sync profile and multi-variate spike sync value.
2016-02-02new generic interface for spike_sync functionsMario Mulansky
Similar to the isi and spike distance functions, also the spike sync functions now support the new generic interface.
2016-01-31generic interface for spike distance/profileMario Mulansky
spike_profile and spike_distance now have a generic interface that allows to compute bi-variate and multi-variate results with the same function.
2016-01-31generalized interface to isi profile and distanceMario Mulansky
isi profile and distance functionc an now compute bi-variate and multi-variate results. Therefore, it can be called with different "overloads".
2016-01-28+numeric test of profilesMario Mulansky
2015-12-22moved extensive random spike test to test/numericMario Mulansky
2015-12-22changed edge correction for single spikesMario Mulansky
Spike trains with single spikes now only get auxiliary spikes at the edges for the SPIKE distance instead of real spikes before.
2015-12-19python3 print function in new regression testMario Mulansky
2015-12-18bugfix for edge correctionMario Mulansky
fixed bug within new edge correction (auxiliary spike was ignored in some cases) added regression test with 10000 random spike train sets
2015-12-14remove directionality from developMario Mulansky
directionality development happens in separate branch.
2015-12-14Merge branch 'develop' of github.com:mariomulansky/PySpike into developMario Mulansky
2015-12-14improved edge correction for spike distanceMario Mulansky
Improvement following Eeros suggestions to use auxiliary spike at the edges consistently with the corresponding corrected ISI intervals.
2015-12-14tests: allow to run out-of-treeIgor Gnatenko
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2015-12-14py3: divisionIgor Gnatenko
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2015-12-14py3: xrange() -> range()Igor Gnatenko
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2015-08-17major renaming of spike train order functionsMario Mulansky
2015-08-17first unit tests for directionalityMario Mulansky
2015-08-17fix for #14Mario Mulansky
test case and fix for Issue #14. Spike-Sync function now correctly deal with empty intervals as well.
2015-08-17fix #15Mario Mulansky
add test case and fix for Issue #15 closes #15
2015-08-11add regression #11 test caseMario 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-05-11bugfix: spike_sync=1 for empty spike trainsMario Mulansky
2015-05-11treatment of empty spike trains in spike syncMario Mulansky
2015-05-11updated copyright yearMario Mulansky
2015-05-11treatment of empty spike trains in spike distanceMario Mulansky
2015-05-11treatment of empty spike trains in isi functionsMario Mulansky
2015-05-07performance improvementsMario Mulansky
use recursive approach to compute average profile for average multivariate distances, dont compute average multivariate profile, but average distances directly.
2015-04-28edge correction for the ISI-distanceMario Mulansky
2015-04-24bugfixes for spike distanceMario Mulansky
2015-04-24renamed interval -> edges in load functionsMario Mulansky