Skip to content

Commit

Permalink
add a new notebook to show the statistics of the enclosed object with… (
Browse files Browse the repository at this point in the history
#274)

* add a new notebook to show the statistics of the enclosed object with psydat file

* open the psydat file with vstt.Experiment, add notebook path_and_velocity to index.rst, plot the to_center velocity

* use groupby() to iterate the data, refactor code,add color to velocity chart

* reduce some ugly code in for loop

* apply filter to the mouse positions and velocity

* apply filter to the mouse positions and velocity

* relate window_length to the input data in savgol_filter

* delete path_and_velocity_copy.ipynb

* instead of modifying variable 'positions', modifying the copy of it to preventing modifying the grouped data

* switch the solid line and dashed line

* extract window_length and polyorder as global variables and illustrate how to apply a Savitzky-Golay filter

* make the filter plot interactive

---------

Co-authored-by: ZoeLi0525 <[email protected]>
  • Loading branch information
ZoeJacky and ZoeLi0525 authored Aug 21, 2024
1 parent bb78b97 commit 79c0812
Show file tree
Hide file tree
Showing 2 changed files with 511 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ running and analyzing motor skill acquisition experiments.
notebooks/example
notebooks/raw_data
notebooks/area_calculation
notebooks/path_and_velocity

.. toctree::
:maxdepth: 2
Expand Down
Loading

0 comments on commit 79c0812

Please sign in to comment.