Skip to main content

MoSeq2-PCA

Build Status

codecov

This is a library for computing PCA components and scores from extracted mouse movies. Use this to compute features for modeling.

Installation

pip install moseq2-pca

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

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-pca --version to check the current version and moseq2-pca --help to see all the commands.

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

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

Commands:
  apply-pca             Computes PCA Scores of extraction data given a...
  clip-scores           Clips specified number of frames from PCA scores at...
  compute-changepoints  Computes the Model-Free Syllable Changepoints based...
  train-pca             Trains PCA on all extracted results (h5 files) in...

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-pca 1.4.3

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-pca 1.4.3
File Size Uploaded Provenance Actions
moseq2_pca-1.4.3.tar.gz 30.6 kB With provenance Details for moseq2_pca-1.4.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for moseq2-pca 1.4.3
File Interpreter ABI Platform Actions
moseq2_pca-1.4.3-py3-none-any.whl Python 3 none any Details for moseq2_pca-1.4.3-py3-none-any.whl

Total release size: 64.8 kB

Release files / moseq2_pca-1.4.3.tar.gz

Download URL moseq2_pca-1.4.3.tar.gz
Size 30.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0acb6014ee4c4771f59077e984dda064dd09cac8df0291478cad3177aeb2df80
BLAKE2b-256 checksum
How to use checksums
608eae197e38d0e658e69d7d72b7411a9bd6d62c2d5fa3629482458fc809041a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

Release files / moseq2_pca-1.4.3-py3-none-any.whl

Download URL moseq2_pca-1.4.3-py3-none-any.whl
Size 34.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2f6de13e1944161b2394f5b497383f2749998e7c45fcd929bcb4081d6264e9d4
BLAKE2b-256 checksum
How to use checksums
d099d1e2e5b07f89ba859b81dd455275e30bc52a712ddc5236e3ee5921f00e78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

Security for moseq2-pca 1.4.3

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for moseq2_pca-1.4.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

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