summaryrefslogtreecommitdiff
path: root/pyspike/spike_sync.py
AgeCommit message (Collapse)Author
2018-09-20Spike Order support (#39)0.6.0Mario Mulansky
* reorganized directionality module * further refactoring of directionality * completed python directionality backend * added SPIKE-Sync based filtering 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. * spike sync filtering, cython sim ann 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. * added coincidence single profile to python backend missing function in python backend added, identified and fixed a bug in the implementation as well * updated test case to new spike sync behavior * python3 fixes * another python3 fix * reorganized directionality module * further refactoring of directionality * completed python directionality backend * added SPIKE-Sync based filtering 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. * spike sync filtering, cython sim ann 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. * added coincidence single profile to python backend missing function in python backend added, identified and fixed a bug in the implementation as well * updated test case to new spike sync behavior * python3 fixes * another python3 fix * Fix absolute imports in directionality measures * remove commented code * Add directionality to docs, bump version * Clean up directionality module, add doxy. * Remove debug print from tests * Fix bug in calling Python backend * Fix incorrect integrals in PieceWiseConstFunc (#36) * 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 * Fix incorrect integrals in PieceWiseLinFunc (#38) 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 * Add Spike Order example and Tutorial section Adds an example computing spike order profile and the optimal spike train order. Also adds a section on spike train order to the tutorial.
2016-06-18Merge branch 'import_time_series' into developMario Mulansky
Conflicts: pyspike/__init__.py resolved
2016-03-09deprecated old multivariate functionsMario Mulansky
with the new interface, the previous functions for computing multivariate profiles and distances are obsolete. This is now noted in the docs.
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.
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-11performance improvement for spike syncMario Mulansky
Additional cython implementation for overall spike sync values. It is not necessary to compute the profile anymore if only the spike sync value is required. 3x performance gain.
2015-05-08renamed cython_distance module -> cython_profilesMario Mulansky
2015-05-08improved error messageMario Mulansky
2015-05-08performance improvement for multivar spike syncMario Mulansky
dont compute the average profile in the function spike_sync_multi, but rather compute the overall average distance directly
2015-04-27updated docsMario Mulansky
2015-04-24further adjustments in spike syncMario Mulansky
2015-04-24changed spike sync implementation to SpikeTrainMario Mulansky
2015-04-02added max_tau to spike_sync functionsMario Mulansky
2015-02-03moved cython functions to subdirectoryMario Mulansky
2015-02-03copyright, docsMario Mulansky
2015-02-03split distance.py into 3 separate modulesMario Mulansky