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.2.tar.gz (551.0 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.2-py3-none-any.whl (194.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: astrophot-0.17.2.tar.gz
  • Upload date:
  • Size: 551.0 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.2.tar.gz
Algorithm Hash digest
SHA256 db89da2fdf324bc17cbd0d783e3696c4b511ea504a79fe007794902ca838d4f8
MD5 04ad05285d61911d91fac192bfc5697f
BLAKE2b-256 538e1e59253cc05ff2e5317dff9f1276e138e49108391286f4726f49d2341e6d

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: astrophot-0.17.2-py3-none-any.whl
  • Upload date:
  • Size: 194.6 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fad6c3b49b9bac4780f2b813bd65100eb85afe9a6ee495749cd210e7a99e434c
MD5 1743c7891a578021f25879e131fd01e4
BLAKE2b-256 f803e2a24bf4f155a31baa8dce5673d5db8c4ba9b6ac68549ba8568249835cfc

See more details on using hashes here.

Provenance

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