Skip to main content

Convert images of beads into XYZ positions

Project description


PyPi Docs Testing Paper

MagTrack is a free open-source Python library for tracking symmetric beads in single-molecule magnetic tweezers experiments.

Try a demo in a Google Colab notebook Open in Colab

⏳ Install

Get started with MagTrack by following the installation instructions.

⚒ Usage

import magtrack

# Run the full default XYZ pipeline
x, y, z, profiles = magtrack.stack_to_xyzp(stack)

# Or make your own pipeline from algorithms you prefer
x, y = magtrack.center_of_mass(stack)
x, y = magtrack.auto_conv_sub_pixel(stack, x, y)
profiles = magtrack.fft_profile(stack)
...

More Examples

You can see more examples of how to use MagTrack in this notebook. Try it out with Google Colab. Open in Colab Or you can download it and run it on your computer with Jupyter Notebook.

📖 Documentation

View the full guide to MagTrack at magtrack.readthedocs.io

🔬 Live Microscope Control and Acquisition

You can use MagTrack for live video processes using our sister project MagScope.

💬 Support

Report issues and make requests on the GitHub issue tracker.

Having trouble? Need help? Have suggestions? Want to contribute?
Email us at magtrackandmagscope@gmail.com

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

magtrack-0.7.6.tar.gz (70.1 kB view details)

Uploaded Source

Built Distribution

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

magtrack-0.7.6-py3-none-any.whl (80.2 kB view details)

Uploaded Python 3

File details

Details for the file magtrack-0.7.6.tar.gz.

File metadata

  • Download URL: magtrack-0.7.6.tar.gz
  • Upload date:
  • Size: 70.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for magtrack-0.7.6.tar.gz
Algorithm Hash digest
SHA256 878f6b1af325409911ce4c8a93d9d27d6f4a6bae976e921bae696951fa5d3390
MD5 32e837fee5e278eee417c06baba0ffc4
BLAKE2b-256 d565d18bd83156fcdc6302ecc2509fcc26ac00a847c502410314b5482cc13f4b

See more details on using hashes here.

Provenance

The following attestation bundles were made for magtrack-0.7.6.tar.gz:

Publisher: publish-to-pypi.yml on 7jameslondon/MagTrack

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

File details

Details for the file magtrack-0.7.6-py3-none-any.whl.

File metadata

  • Download URL: magtrack-0.7.6-py3-none-any.whl
  • Upload date:
  • Size: 80.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for magtrack-0.7.6-py3-none-any.whl
Algorithm Hash digest
SHA256 3dc98ceb82733736b5275c92281ff9fcaaf38a92a17ba8f1f60cfd4f0cb9b31a
MD5 06afe0efe7f8497fcac3b1533ea0b060
BLAKE2b-256 d4dac01850da0c059813236015184097d062ef8989901b378b6722779d712e2f

See more details on using hashes here.

Provenance

The following attestation bundles were made for magtrack-0.7.6-py3-none-any.whl:

Publisher: publish-to-pypi.yml on 7jameslondon/MagTrack

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