Guide to exporting movies - galizia-lab/pyview GitHub Wiki

This page provides a step by step procedure for exporting movies for a list of animals. To see how different flags affect the movies created, please consult this page

Pre-requirements

  1. Organization of raw datasets in the recommended folder structure(guide)
  2. Creation of measurement lists for each dataset (guide)
  3. Creation of a YML file for the project (guide)

Step 1:

A templated script for exporting movies is available at "VIEWTemplates/export_movies_template.py" of the repository. Copy/download this template to your "Progs" folder (see here for more info) and rename it to remove the "template" part of it's filename. Note that the template file is available as part of the source code you have downloaded while installing/updating.

Step 2:

Open the file in a text editor and edit it as indicated: movie

Step 3:

Open a terminal/Powershell.

Step 4:

Activate the environment created during installation, for example using conda activate <environment name> or pipenv shell

Step 5:

Run the script. You can drag and drop the script from your file exporer to the terminal/powershell to get its full path.

python <full path of the script>

Step 6:

One or more movie files will be created in your output folder according to this folder structure. Have a look!