INM-6 / python-neo

Neo is a package for representing electrophysiology data in Python, together with support for reading a wide range of neurophysiology file formats
http://packages.python.org/neo/
BSD 3-Clause "New" or "Revised" License
3 stars 10 forks source link

Merge of neo SpikeTrain objects does not work as expected #5

Open mdenker opened 9 years ago

mdenker commented 9 years ago

a=neo.SpikeTrain([1,2,3]*pq.ms,t_stop=10*pq.ms) b=neo.SpikeTrain([1,4,5]*pq.ms,t_stop=10*pq.ms) print a.merge(b) None

alperyeg commented 9 years ago

This is not a bug, but intended. Still it is an awful choice of a function name, because it just merges the annotations as described in the documentation of the merge operation.

mdenker commented 9 years ago

Ah, ok. Then maybe we should suggest a new unique name for this function, like only merge_annotations?