Skip to content

Units #1

@wchapman

Description

@wchapman
  • Currently the units in the toolbox are a mish-mash (eg: root.vel is in pixels/second, and some functions request thresholds in cm/second and other pix/second).
  • Add a flag field for units (frames/seconds, pixels/cm). Store raw data as whatever is given from the raw data, and multiply by the spatial_scale / fs_video accordingly when variable is called.
  • Functions taking in units should respect the current state, and when possible use the units in plotting as well, to remove ambiguity

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions