Skip to main content

MoSeq2-Extract: Depth Video Rodent-Tracking Toolkit

Build Status codecov DOI

Requirements

moseq2-extract reads and writes depth video by calling ffmpeg and ffprobe, which it expects to find on your PATH. They are not Python packages and installing moseq2-extract does not bring them with it, so install them yourself first:

conda install -c conda-forge ffmpeg   # any platform, if you use conda
sudo apt install ffmpeg               # Debian / Ubuntu
brew install ffmpeg                   # macOS

ffmpeg 4.2 and newer are supported. moseq2-extract reports what it found and what it needs if either program is missing, and every command checks before it starts work.

Installation

pip install moseq2-extract

Python 3.10 or newer, on Linux. macOS and Windows support is being verified.

ffmpeg has to be on your PATH first; see Requirements above.

Most people install the whole pipeline in one step with pip install moseq2-app, which brings this package with it. See the installation guide.

Documentation: MoSeq2 Wiki

You can find more information about MoSeq Pipeline, installation, step-by-step instructions, documentation for Command Line Interface(CLI), tutorials etc in MoSeq2 Wiki.

You can run moseq2-extract --version to check the current version and moseq2-extract --help to see all the commands.

Usage: moseq2-extract [OPTIONS] COMMAND [ARGS]...

Options:
  --version  Show the version and exit.  [default: False]
  --help     Show this message and exit.  [default: False]

Commands:
  aggregate-results   Copies all extracted results (h5, yaml, avi) files...
  batch-extract       Batch processes all the raw depth recordings located...
  convert-raw-to-avi  Converts/Compresses a raw depth file into an avi file...
  copy-slice          Copies a segment of an input depth recording into a...
  download-flip-file  Downloads Flip-correction model that helps with...
  extract             Processes raw input depth recordings to output a...
  find-roi            Finds the ROI and background distance to subtract
                      from...
  generate-config     Generates a configuration file that holds editable...
  generate-index      Generates an index YAML file containing all extracted...

Community Support and Contributing

  • Please join MoSeq Slack Channel to post questions and interactive with MoSeq developers and users.
  • If you encounter bugs, errors or issues, please submit a Bug report here. We encourage you to check out the troubleshooting and tips section and search your issues in the existing issues first.
  • If you want to see certain features in MoSeq or you have new ideas, please submit a Feature request here.
  • If you want to contribute to our codebases, please check out our Developer Guidelines.
  • Please tell us what you think by filling out this user survey.

License

MoSeq is freely available for academic use under a license provided by Harvard University. Please refer to the license file for details. If you are interested in using MoSeq for commercial purposes please contact Bob Datta directly at srdatta@hms.harvard.edu, who will put you in touch with the appropriate people in the Harvard Technology Transfer office.

Metadata

Release files for moseq2-extract 1.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for moseq2-extract 1.4.0
File Size Uploaded Provenance Actions
moseq2_extract-1.4.0.tar.gz 81.1 kB Without provenance Details for moseq2_extract-1.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for moseq2-extract 1.4.0
File Interpreter ABI Platform Actions
moseq2_extract-1.4.0-py3-none-any.whl Python 3 none any Details for moseq2_extract-1.4.0-py3-none-any.whl

Total release size: 157.3 kB

Release files / moseq2_extract-1.4.0.tar.gz

Download URL moseq2_extract-1.4.0.tar.gz
Size 81.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2a91f16483f05a1242e4d3bfa07dfa2b3db73b01ff9657281513d54b60067493
BLAKE2b-256 checksum
How to use checksums
36118eecb98498654ee4046b7cbb21d737e88ac416910e460d63c5d1c9488b0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / moseq2_extract-1.4.0-py3-none-any.whl

Download URL moseq2_extract-1.4.0-py3-none-any.whl
Size 76.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
367e2589d4e0420701449dff7392ee2f4a4edaff08f38a4df405f73a8d325df1
BLAKE2b-256 checksum
How to use checksums
f4802f338ed2058b480d4d665d209f86db5237ee53fefa838ecdcc1d11f5afe5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for moseq2-extract 1.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page