Skip to main content

A fast, flexible, automated, and differentiable astronomical image 2D forward modelling tool for precise parallel multi-wavelength photometry.

Project description

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

Project details


Download files

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

Source Distribution

astrophot-0.17.0.tar.gz (543.3 kB view details)

Uploaded Source

Built Distribution

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

astrophot-0.17.0-py3-none-any.whl (187.7 kB view details)

Uploaded Python 3

File details

Details for the file astrophot-0.17.0.tar.gz.

File metadata

  • Download URL: astrophot-0.17.0.tar.gz
  • Upload date:
  • Size: 543.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for astrophot-0.17.0.tar.gz
Algorithm Hash digest
SHA256 a9a32f398b9165c0f82c447d98797712f7bc212b8463568b62c001a53b87e97d
MD5 37b9b405d0ebdc43eca09298224355d9
BLAKE2b-256 e23711fd9feb3748f61917292b3a78209913cc3568e70877aee0527da02a5cd6

See more details on using hashes here.

Provenance

The following attestation bundles were made for astrophot-0.17.0.tar.gz:

Publisher: cd.yaml on Autostronomy/AstroPhot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file astrophot-0.17.0-py3-none-any.whl.

File metadata

  • Download URL: astrophot-0.17.0-py3-none-any.whl
  • Upload date:
  • Size: 187.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for astrophot-0.17.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aded0d16ab860ae6a39bce6426bbd0b6c6a4a2055f5a3c387b341c8a4142a2f7
MD5 867935198f110addc5c6d97845c2bf54
BLAKE2b-256 c3dc3855fc99380eca9265143d29b7be8421f6dfbcf99555d928ca534b5c5781

See more details on using hashes here.

Provenance

The following attestation bundles were made for astrophot-0.17.0-py3-none-any.whl:

Publisher: cd.yaml on Autostronomy/AstroPhot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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