Skip to main content

No project description provided

Project description

scarlet2

PyPI Documentation Status status

scarlet2 is an open-source python library for modeling astronomical sources from multi-band, multi-epoch, and multi-instrument data. It provides non-parametric and parametric models, can handle source overlap (aka blending), and can integrate neural network priors. It's designed to be modular, flexible, and powerful.

scarlet2 is implemented in jax, layered on top of the equinox library. It can be deployed to GPUs and TPUs and supports optimization and sampling approaches.

Installation

For performance reasons, you should first install jax with the suitable jaxlib for your platform. After that

pip install scarlet2

should do. If you want the latest development version, use

pip install git+https://github.com/pmelchior/scarlet2.git

This will allow you to evaluate source models and compute likelihoods of observed data, so you can run your own optimizer/sampler. If you want a fully fledged library out of the box, you need to install optax, numpyro, and h5py as well.

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

scarlet2-0.5.0.tar.gz (629.4 kB view details)

Uploaded Source

Built Distribution

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

scarlet2-0.5.0-py3-none-any.whl (97.3 kB view details)

Uploaded Python 3

File details

Details for the file scarlet2-0.5.0.tar.gz.

File metadata

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

File hashes

Hashes for scarlet2-0.5.0.tar.gz
Algorithm Hash digest
SHA256 d68482206f628e0f83d5afa1b8c6e1e8325d9a877f8a85ddb21a1d4f90a966ab
MD5 083040df65b69874ec1b2fc987fe589c
BLAKE2b-256 0d238648fe5c878f7d0217a8e314170f3a3a2abc8387423c045c5c41832accd2

See more details on using hashes here.

Provenance

The following attestation bundles were made for scarlet2-0.5.0.tar.gz:

Publisher: publish-to-pypi.yml on pmelchior/scarlet2

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

File details

Details for the file scarlet2-0.5.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for scarlet2-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bf671e88aac860e6704de672be6c038c82bd6bb2a209f8b9ff3a4d9fd9d81644
MD5 991ff4dc9547302b3dd353d5377789f6
BLAKE2b-256 19ee38ca9e9822a6166fd922444f367471fe5bbd81fd96430fef5542d8f11fb2

See more details on using hashes here.

Provenance

The following attestation bundles were made for scarlet2-0.5.0-py3-none-any.whl:

Publisher: publish-to-pypi.yml on pmelchior/scarlet2

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