Import Trackmate XML files in Python as Pandas dataframe.
Project description
pytrackmate
Import Trackmate XML files in Python as Pandas dataframe.
Installation 📦
# Pip
pip install pytrackmate
# Conda (mamba and micromamba)
conda install -c conda-forge pytrackmate
# Pixi
pixi add pytrackmate
Usage 🚀
Check the notebook.
fname = "FakeTracks.xml"
spots = trackmate_peak_import(fname)
spots is a dataframe with the following columns:
t_stamptxyzwqspot_idmean_intensitymedian_intensitymin_intensitymax_intensitytotal_intensitystd_intensitycontrastsnrlabel
Development 🛠️
You need to use pixi.
# Run tests
pixi run -e dev test
# Lint (ruff)
pixi run -e dev lint
# Format code (ruff)
pixi run -e dev format
Release 🚢
The package is released on PyPi and on conda-forge at https://github.com/conda-forge/pytrackmate-feedstock.
To cut a new release:
- Trigger the
releaseworkflow on the main branch. - A new GitHub Release will be created with the new version.
- The new version will be uploaded on PyPi.
- The conda-forge bot will create a PR to update the feedstock.
- Once the conda-forge PR merged, the new conda version will be available.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pytrackmate-1.3.4.tar.gz.
File metadata
- Download URL: pytrackmate-1.3.4.tar.gz
- Upload date:
- Size: 184.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9376cd39fc9e74df0f727dfb19146b757354ef780795dd8a5c5b6d47a489f3c
|
|
| MD5 |
ff0a34f58384697fd7c280fba89f090b
|
|
| BLAKE2b-256 |
3388449e656f68af11bbcfa378073002c08ecfdbc23e24f496651851b43fa97f
|
Provenance
The following attestation bundles were made for pytrackmate-1.3.4.tar.gz:
Publisher:
release.yaml on hadim/pytrackmate
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pytrackmate-1.3.4.tar.gz -
Subject digest:
b9376cd39fc9e74df0f727dfb19146b757354ef780795dd8a5c5b6d47a489f3c - Sigstore transparency entry: 169680146
- Sigstore integration time:
-
Permalink:
hadim/pytrackmate@098a8ab2e714412288453f4597a03ec0244ebadd -
Branch / Tag:
refs/heads/main - Owner: https://github.com/hadim
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@098a8ab2e714412288453f4597a03ec0244ebadd -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file pytrackmate-1.3.4-py3-none-any.whl.
File metadata
- Download URL: pytrackmate-1.3.4-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a94fb08173d93c86a5daede866172ab99c20c2ec46d9bd4d723100f078202ac
|
|
| MD5 |
4f23324b7e8e3da8094d6e900eb70bfe
|
|
| BLAKE2b-256 |
3b7ac72bf59682229c09af7b1a77d87fb862e959fc73d66a24a8ea1018fa64fc
|
Provenance
The following attestation bundles were made for pytrackmate-1.3.4-py3-none-any.whl:
Publisher:
release.yaml on hadim/pytrackmate
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pytrackmate-1.3.4-py3-none-any.whl -
Subject digest:
4a94fb08173d93c86a5daede866172ab99c20c2ec46d9bd4d723100f078202ac - Sigstore transparency entry: 169680147
- Sigstore integration time:
-
Permalink:
hadim/pytrackmate@098a8ab2e714412288453f4597a03ec0244ebadd -
Branch / Tag:
refs/heads/main - Owner: https://github.com/hadim
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@098a8ab2e714412288453f4597a03ec0244ebadd -
Trigger Event:
workflow_dispatch
-
Statement type: