Skip to main content

A fast, flexible, full featured, 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.18.0.tar.gz (551.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.18.0-py3-none-any.whl (193.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for astrophot-0.18.0.tar.gz
Algorithm Hash digest
SHA256 f3161fca908db305f04e7f1d16f26314d66677d1327e4f474c92147ae9ff8072
MD5 937f7da1d9daf2b896efb67bc43f99ba
BLAKE2b-256 305e445b6769310a9596751060a65a49eb0570e31f76de25ba87265830aea1a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for astrophot-0.18.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.18.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for astrophot-0.18.0-py3-none-any.whl
Algorithm Hash digest
SHA256 080032e2802f62a303573f56a94b3876b69d351614701674deddea9f24ebcda9
MD5 24c3a7bcb24b78df74ca56533ea0995d
BLAKE2b-256 5a188e585907f26881e8beef3e80b738b3d38c048112a33ba2633b723caf5832

See more details on using hashes here.

Provenance

The following attestation bundles were made for astrophot-0.18.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