Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

playing with pynapple #226

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

playing with pynapple #226

wants to merge 2 commits into from

Conversation

kushalkolar
Copy link
Collaborator

Just playing around with it for now.

usage:

# with a cnmf item
df.iloc[1].nap.get_tsd_frame()

Out[7]: 
Time (s)             0          1         2         3         4         5          6         7         8  ...
------------  --------  ---------  --------  --------  --------  --------  ---------  --------  --------  -----
0.0           -23.5793  -23.1808   -25.6122  -10.6084  -21.208   -6.36728  -10.4701   -13.5863  -12.1918  ...
0.033344448   -23.5793  -23.1808   -25.6122  -10.6084  -21.208   -6.36728  -10.4701   -13.5863  -12.1918  ...
0.066688896   -23.5793    9.57066  -25.6122  -10.6084  -21.208   -6.36728  -10.4701   -13.5863  -12.1918  ...
0.100033344   -23.5793    7.42798  -25.6122  -10.6084  -21.208   -6.36728  -10.4701   -13.5863  -12.1918  ...
0.133377793   -23.5793    4.76448  -25.6122  -10.6084  -21.208   -6.36728  -10.4701   -13.5863  -12.1918  ...
...
99.866622207  -23.5793  -23.1598   -22.9783  -10.6     -19.953   -6.36728   -9.36472  -13.5456  -12.1918  ...
99.899966656  -23.5793  -23.1617   -23.1542  -10.6009  -20.0842  -6.36728   -9.46171  -13.5496  -12.1918  ...
99.933311104  -23.5793  -23.1633   -23.3184  -10.6016  -20.2018  -6.36728   -9.55019  -13.5531  -12.1918  ...
99.966655552  -23.5793  -23.1648   -23.4716  -10.6023  -20.307   -6.36728   -9.6309   -13.5564  -12.1918  ...
100.0         -23.5793  -23.1662   -23.6146  -10.6029  -20.4012  -6.36728   -9.70454  -13.5593  -12.1918  ...
dtype: float64, shape: (3000, 155)

@gviejo
Copy link

gviejo commented Oct 9, 2023

Very nice indeed 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants