pynapple-org / pynapple

PYthon Neural Analysis Package :pineapple:
https://pynapple-org.github.io/pynapple/
MIT License
243 stars 59 forks source link

Give bin edges for tuning curve functions #271

Open dhruvm9 opened 2 months ago

dhruvm9 commented 2 months ago

Hi, I noticed that the tuning curve functions only take in number of bins but not bin edges. In some cases, the upper and lower bounds of features may not match across sessions. It would therefore make sense to modify the tuning curves functions so that they accept bin edges as a valid input too.