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.2.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.2-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: SBAUtil-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 ea369feed8c3715b150fb38fd59504236522151511088792e1700c8a00485d20
MD5 844fc576e78f245defa1dff26438960b
BLAKE2b-256 81f978dd0800db09a2afc3f51b97054ef0a9572024491cea3133cd03f8114491

See more details on using hashes here.

File details

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

File metadata

  • Download URL: SBAUtil-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bc7f48aa632a880c67f17a976e0f2ff16cb7d5370a4f4935cfe77c2272c702da
MD5 cdf650b379604d2c57ac6bb475615c2c
BLAKE2b-256 51a89e510937310e1c1946c49ca7980792ab8ec90c430fb264ef2183f41dec8b

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