Skip to main content

Semi-automatic Pipeline for Markerless Pose Estimation and Behavior classification of mouse.

Project description

SBA

Untility functions for interaction classifcation.

Installation

pip install SBAUtil

Tutorial

import SBA

Initalize the configuration file:

SBA.initConfig('./',projectName = "newProject", experimenter = "Yiyang")

dynamic cut

SIMBA gives error if the h5file input from DLC contains a portion where there is only one mouse. SBA.batch_dynamic_cropVideo will dynamically crop out this portion based on the given h5file from DLC.

SBA.batch_dynamic_cropVideo(config_path,videos,h5files,fps,videoType="avi")

Post SIMBA processing

SBA.finalizeSimBaOutput(config, simbaFiles, classifier ,destDir = None)

TODO: a more detailed tutorial; better interface;

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SBAUtil-0.0.4.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

SBAUtil-0.0.4-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file SBAUtil-0.0.4.tar.gz.

File metadata

  • Download URL: SBAUtil-0.0.4.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.12

File hashes

Hashes for SBAUtil-0.0.4.tar.gz
Algorithm Hash digest
SHA256 adbe67c6f16e3d23294d9669ad10e67247924ecf2e61e79776005507ceb5570c
MD5 e4fbac8b03bd981f8831ba9844196dbc
BLAKE2b-256 0486154f862739e447356a8b91f2e7e92266517b87b5f95b6032b4cf3f7cf15f

See more details on using hashes here.

File details

Details for the file SBAUtil-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: SBAUtil-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.12

File hashes

Hashes for SBAUtil-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c6b087fa0e82ecefb1ab4bcc66223a39f2930b544636a11a079f31b3f552c86a
MD5 00d5a4745167a664a3b689967701a5dc
BLAKE2b-256 ba3488ea3617e541f75f6b459c4381af028d502d0f8cb3cf07179e84a1e1ef74

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page