Skip to main content

Feature-based fiducial marker tracking software for applications in cell mechanics

Project description

FM-Track

FM-Track is a feature-based fiducial marker tracking software for applications in cell mechanics.

Research methods in mechanobiology that involve tracking the deformation of fiducial markers in the vicinity of a cell are increasing in popularity. Here we present a software called FM-Track, a software to facilitate feature-based particle tracking tailored to applications in cell mechanics. FM-Track contains functions for pre-processing images, running fiducial marker tracking, and simple post-processing and visualization. We expect that FM-Track will help researchers in mechanobiology and related fields by providing straightforward and extensible software written in the Python language.

For a lengthier description, please refer to the technical overview.

Installation

To install FM-Track, it is recommended to use Pip within a conda environment. Currently, FM-Track is only compatible with Python <= 3.6. To create a compatible environment, use the following commands:

conda create -n <environmentname> python=3.6 anaconda
conda activate <environmentname>
conda install pip

To install FM-Track, simply use the following command:

pip install fm-track

You can also download the zip file for the repository, unzip the folder, navigate into the folder inside of a bash shell, and run the following command:

sudo python setup.py install

Usage

FM-Track uses the input_info class to store filepaths for easy IO. To initialize an input_info object, pass your root file path into the initialization function like so:

info = input_info('/Users/<username>/Desktop/data')

In this example, we will be interacting with data inside of the data folder, located on the Desktop. All of the input and output files will be located in this data directory.

Input_info stores the names of your subdirectories and other tunable parameters. By default, input_info objects are initialized to work with with the sample data provided in the software package (see the Testing section of this document for an example). To change the names of these properties, simply modify the properties of the object like such:

info.num_feat = 6

To view all of the properties you can change, simply look inside the input_info.py file.

Testing

To test FM-Track, it is easiest to run the sofware on the data folder included within the fmtrack directory. You can either download this data from GitHub as a .zip file or copy the folder from your directory. Copy this data directory to an easily accessible testing location. Try running the following code after modifying the <filepath> to match the path of your data folder.

from fmtrack.input_info import input_info
from fmtrack.run_tracking_all_steps import run_tracking_all_steps

info = input_info('<filepath>')
run_tracking_all_steps(True,True,True,info)

Built With

  • py-earth - Used to compute multivariate adaptive regression splines
  • scikit-learn - Used to generate Gaussian Process Regression models

Versioning

We use SemVer for versioning.

Authors

  • Emma Lejeune
  • Alex Khang

Contributors

  • Jake Sansom

License

This project is licensed under the MIT License - see the LICENSE file for details

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

fm_track-1.0.0-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

Details for the file fm_track-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: fm_track-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 17.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for fm_track-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c58203971e7ad435bd317b4c7a399eaec1fa06ebb4c294f93fbc4de12a9b335b
MD5 d85e2899932cbf0376ef91ec0afe3fa0
BLAKE2b-256 d9d999cd36dd4146ff678fd7f177bd0e18b498924006f33fc9e34daae0431234

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