Skip to main content

Automatic Anatomical Fiducials (autoAFIDs)

AIMS Lab Research Team at the Robarts Research Institute - 2023-2024

This package is under active development. It should be stable and reproducible, but please let any of the active contributing members know if there are any bugs or unusual behaviour.

This Python package is a standard 3D U-Net (Ronneberger et al. 2015) machine learning model based on Snakemake and SnakeBIDS workflow management tools that leverages the recent release of the anatomical fiducial framework to solve the landmark regression problem on 3D MRI images. It is currently in development phase and contains tunable parameters that are not normally exposed in most other machine learning models; the user is highly advised to get familiar with the above mentioned workflow managaments tools and read docstrings and relevant documentation before using this software. Please see the changelog for more details.

Table of Contents

  1. Installation
  2. Workflow
  3. Train
  4. Apply
  5. Known issues
  6. Roadmap
  7. Questions, Issues, Suggestions, and Other Feedback

Installation

Installing Poetry

We use poetry tool for dependency management and to package the python project. You can find step by step instructions on how to install it by visiting it's official website.

Local Installation

After installing poetry, clone this repository via:

git clone https://github.com/afids/autoafids.git

You can then install the python package using one of the following commands, which should be executed within the repository folder (i.e., autoafids/).

poetry install

If you want to install in develop mode, use:

poetry install -e

Workflow

Brief summary of the workflow along with its Directed Acyclic Graph (DAG) can be found below.

Insert DAG image - inspired by khanlab/scattr

Processing landmark data (AFIDs)

  1. Extract fiducial points from the landmark files (.fcsv is supported)
  2. Generate a landmark Euclidean distance/probability map with each voxel communicating distance to an AFID of interest

Train

Currently, we support generating your own models (i.e., training) in a sperate workflow (i.e., afids-cnn: ). For more details, see Known Issues.

Apply

Known Issues

  • Factorize apply workflow to run per landmark of interest

Roadmap

  • Model optimization
  • Extension to incorporate new modalities (i.e., CT scans)

Questions, Issues, Suggestions, and Other Feedback

Please reach out if you have any questions, suggestions, or other feedback related to this software—either through email (dbansal7@uwo.ca) or the discussions page. Larger issues or feature requests can be posted and tracked via the issues page. Finally, you can also reach out to Alaa Taha, the Science Lead.

Metadata

Release files for autoafids 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autoafids 0.1.4
File Size Uploaded Provenance Actions
autoafids-0.1.4.tar.gz 27.0 MB Without provenance Details for autoafids-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for autoafids 0.1.4
File Interpreter ABI Platform Actions
autoafids-0.1.4-py3-none-any.whl Python 3 none any Details for autoafids-0.1.4-py3-none-any.whl

Total release size: 54.0 MB

Release files / autoafids-0.1.4.tar.gz

Download URL autoafids-0.1.4.tar.gz
Size 27.0 MB
Tags Source
SHA-256 checksum
How to use checksums
e8853d82f3903352bd816e6f990a9a747cbaca847e106db04019d8e742bddd05
BLAKE2b-256 checksum
How to use checksums
1a51598047509a287274d88a1ee6ae2e95e12dac55152ae783b9322d19244db8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.8.10

Release files / autoafids-0.1.4-py3-none-any.whl

Download URL autoafids-0.1.4-py3-none-any.whl
Size 27.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
f949e0e1b01a01de122cd23fc8457444d455e50a7482cf4b2440f505778fcdbc
BLAKE2b-256 checksum
How to use checksums
99f7fcc52bc9a95cbf690eeffac8e85a0c504eed6bd4432aad54e798065b4c2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.8.10

Security for autoafids 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page