Skip to main content

Code to support using a SLAP2 Microscope

Project description

SLAP2_Utils

TestsDocumentation

Overview

The SLAP2_Utils library is designed to facilitate the reading of SLAP2 (Scanned Line Angular Projection Microscopy version 2) binary files using Python. This utility aims to support researchers and developers working with data from SLAP2 two-photon microscopes by providing an interface to manipulate and analyze these files directly in Python as an alternative to a Matlab-based workflow. The SLAP2 microscope is a commercially available kit from MBF Bioscience (https://www.mbfbioscience.com/products/slap2). The detailed documentation can be found by clicking the documentation icon above Overview.

Features

  • Reading SLAP2 Binary Files: Convert SLAP2 proprietary binary data into accessible formats for Python.
  • Metadata Parsing: Extract and utilize metadata associated with SLAP2 data files.
  • Data Manipulation: Tools to manipulate and process data points read from the binary file.
  • Trace Extraction: Tools to extract and generate traces from ROIs imaged in integrated scan mode.
  • MatLab-based Visual Stimulus: Different kinds of visual stimuli, from checkers and moving bars to visual stimuli utilized by the Allen Institute, are ready to be imported for a SLAP2-related experiment.
  • Motion Corrections: GPU-based tools that allow calculation of motion drifts, with x, y, and z changes applied directly on the ROI inside the SLAP2 software (work in progress).

Installation

Install with pip

pip install SLAP2-UTILS

Clone this repository

git clone https://github.com/Peter-Hogg/SLAP2_Utils.git

Contributing

Contributions are welcome! If you'd like to contribute, please fork the repository and use a new branch for your contributions. Pull requests are welcome. Please report bugs, as we're still refining this library over time.

License

This project is licensed under the Mozilla Public License Version 2.0 - see the LICENSE.md file for details.

Credits and Acknowledgements

This library was developed by Peter Hogg and Jerry Tong. It's a rework of several Matlab tools from MBF with added utility functions. Thanks to all contributors who have helped in refining this tool and helped with the project.

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

slap2_utils-0.4.5.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

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

slap2_utils-0.4.5-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

Details for the file slap2_utils-0.4.5.tar.gz.

File metadata

  • Download URL: slap2_utils-0.4.5.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for slap2_utils-0.4.5.tar.gz
Algorithm Hash digest
SHA256 bdd7aa0dd977ed2fabb69eb457bce13f481c24f504ca75657fc202c62ce09c59
MD5 1a36c32d393511b3e3f33ff9c9343ee4
BLAKE2b-256 0f11c9b3dea4e6d4ac207ee033ebdaeaa1df5d61213a786ae87e9003c11f2320

See more details on using hashes here.

Provenance

The following attestation bundles were made for slap2_utils-0.4.5.tar.gz:

Publisher: publish-to-pypi.yml on Peter-Hogg/SLAP2_Utils

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file slap2_utils-0.4.5-py3-none-any.whl.

File metadata

  • Download URL: slap2_utils-0.4.5-py3-none-any.whl
  • Upload date:
  • Size: 11.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for slap2_utils-0.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 daac070e8d53e10d1f65a57c67590613e6c4b4bc45f6439e21cac2e37125802e
MD5 4c9e3e546f2c616b483d31d95da94177
BLAKE2b-256 311fdcae38822ae48cb354b92fecd037a480a79c68cd3380f4187027e94d072b

See more details on using hashes here.

Provenance

The following attestation bundles were made for slap2_utils-0.4.5-py3-none-any.whl:

Publisher: publish-to-pypi.yml on Peter-Hogg/SLAP2_Utils

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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