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.5.tar.gz (5.6 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.5-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: SBAUtil-0.0.5.tar.gz
  • Upload date:
  • Size: 5.6 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.5.tar.gz
Algorithm Hash digest
SHA256 a4eaf2e510096f01a14463f7666def7d05ff1a83fa23747fced1c710b11fa92b
MD5 e8cbb018e2bfd6d8dae07dbcdb0af262
BLAKE2b-256 53374fc06a003dc4c4c903047ff1688c2aca936d48c4088b7ed2ed775daeec19

See more details on using hashes here.

File details

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

File metadata

  • Download URL: SBAUtil-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 6.6 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7075f43c4d786713c0877d6e9fd023cd946451d19650c4ae609297cda08b4d7f
MD5 29d096b7bf70720e6101b46d3fb9b06d
BLAKE2b-256 1f9fb7c0f8dc9d34691f06a892f77f0dadda25daefbcf74f37fdafd4c7bec385

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