Hiring in life sciences? Share your open positions with our professional community. Read more Close

Advertisement

A Python framework for magnetic tweezers real-time image processing and microscope control

Created on 04 Nov 2025

Authors

London, J. A., Singh, A. K., Svendsen, T. C., Tirtom, N. E., Root, Z. A., Fishel, R.

Abstract

Magnetic tweezers are a popular biophysical instrument for manipulating and measuring single molecules. Most laboratories rely on custom-built setups tailored to specific experiments, resulting in a variety of hardware and software implementations. Typically, image acquisition and hardware control are automated via LabVIEW and specialized C/C++/CUDA libraries for real-time video processing. Live processing eliminates the need to store raw video, enabling high throughput, fast acquisition rates, and simplified experimental workflows. However, no open-source, general-purpose software framework currently unifies these capabilities for magnetic tweezers experiments. Here, we introduce MagTrack and MagScope, open-source Python-based tools designed to fill this gap. MagTrack is an image-processing library that efficiently determines bead-positions from magnetic-tweezers videos using CPU and/or GPU computation. MagScope is a comprehensive software framework offering a graphical user interface, real-time hardware control, data acquisition, and video processing. It is built on a multiprocessing architecture for responsive, high-throughput computation. Together, MagTrack and MagScope offer a flexible, modern, and fully customizable open-source alternative to proprietary or fragmented systems, enabling laboratories to adapt and extend the framework according to their experimental and programming needs.

Preprint server: bioRxiv
The authors list and abstract were imported from bioRxiv on 04 Nov 2025.

Advertisement

Stats

  • Community rating n/a 0 votes
  • Your rating

1-terrible, 9-excellent. How would you rate this preprint? Sign in in to submit your rating.

  • Recommendations n/a n/a positive of 0 vote(s)
  • Views 43
  • Comments 0

Recommended by

  • No recommendations yet.

Post a comment

You need to be signed in to post comments. You can sign in here.

Comments

There are no comments yet.

Advertisement