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

Are the sampling_period and sampling_rate arguments of the AnalogSignal properly taken care of? #1

Open mdenker opened 9 years ago

mdenker commented 9 years ago

AnalogSignal constructor should throw an error if the two parameters are both given, but contradict. Currently, it just uses one of them and sets the other, which is error-prone.