Skip to content

Applying interpolate #1632

Discussion options

You must be logged in to vote

Update:

I believed this worked, with a small adjustment to the script above of adding the --video to the end of the conversion back from h5 to slp after interpolating. It appears to have done what I had hoped which is:

  1. Take in a folder of videos
  2. utilize a csv with subject names and respective boxes for naming conventions
  3. Apply tracking on each video
  4. convert the slp file to h5
  5. interpolate using function in Analysis guide to fill_missing
  6. convert back to slp file
  7. write_analysis as csv
  8. Add subject name to column names and resave csv file

This is the current version below that worked in case others want to adapt it for their own or you guys find it useful:

import subprocess
import os
import …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by roomrys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help!
Labels
None yet
1 participant