Skip to main content
AstroPhot logo

unittests Documentation Status pre-commit.ci status Code style: black Static Badge pypi downloads codecov Static Badge DOI

AstroPhot is a fast, flexible, and principled astronomical image modelling tool for precise parallel multi-wavelength/epoch photometry. It is a python based package that uses PyTorch or JAX to quickly and efficiently perform analysis tasks. Written by Connor Stone for tasks such as LSB imaging, handling crowded fields, multi-band photometry, and analyzing massive data from future telescopes. AstroPhot is flexible and fast for any parametric astronomical image modelling task. While it uses PyTorch and/or JAX (originally developed for Machine Learning) it is NOT a machine learning based tool. In fact AstroPhot very rigidly sticks to Gaussian/Poisson likelihood modelling (with extensions for priors if desired).

AstroPhot is now a caskade ecosystem project, meaning its parameters have an incredible amount of flexibility. Check out the documentation for more details!

Installation

AstroPhot can be installed with pip:

pip install astrophot

If PyTorch gives you any trouble on your system, just follow the instructions on the pytorch website to install a version for your system.

Also note that AstroPhot is only available for python3.

See the documentation for more details.

Documentation

You can find the documentation at the ReadTheDocs site connected with the AstroPhot project which covers many of the main use cases for AstroPhot. There is tons of useful information in there, hopefully you can mix and match tutorials to get to just about any parametric image modelling task quickly! Feel free to contact the author, Connor Stone, for any questions not answered by the documentation or tutorials.

Credit / Citation

If you use AstroPhot in your research, please follow the citation instructions here.

Thanks to our contributors!

Contributors

Metadata

Release files for astrophot 1.0.0

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

Source distribution (sdist)

Source distribution for astrophot 1.0.0
File Size Uploaded Provenance Actions
astrophot-1.0.0.tar.gz 596.5 kB With provenance Details for astrophot-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 810.2 kB

Release files / astrophot-1.0.0.tar.gz

Download URL astrophot-1.0.0.tar.gz
Size 596.5 kB
Tags Source
SHA-256 checksum
How to use checksums
78997b1a1e49c4c0489c076109f775c0acd6cd8167f4b195eeca02c5a1474cd3
BLAKE2b-256 checksum
How to use checksums
3891ce96815f0cadf55a9990c21802a93a8449adfd6e9d2ea38ff1e01c7fe592
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Release files / astrophot-1.0.0-py3-none-any.whl

Download URL astrophot-1.0.0-py3-none-any.whl
Size 213.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
82caedf7927f708a60ccda30a22cebcafb6e524d1b7e426d5e1e0f30381c77f7
BLAKE2b-256 checksum
How to use checksums
df92d6b8e40474f1be8e92bd8e130beb06861ecc27a2065fc20092133fcd44b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Security for astrophot 1.0.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for astrophot-1.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

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

1.0.0 This release

2 release files Full 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