Skip to main content

No project description provided

Project description

scarlet2

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.3.0.tar.gz (93.8 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.3.0-py3-none-any.whl (63.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for scarlet2-0.3.0.tar.gz
Algorithm Hash digest
SHA256 f395aba6701d121a096e489c849d25703bdbf46a83d8a5cbafa1179a971a716c
MD5 d0bd8205481db8cd72117cbb5fcc3f59
BLAKE2b-256 3b5dcd2b1178909b0a4e52f88f222ae7b51762af304416947c3e32a4da2bdafa

See more details on using hashes here.

Provenance

The following attestation bundles were made for scarlet2-0.3.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.3.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for scarlet2-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 604cf548299d664d05a4c24f462db368288ecba2895111569a0b285c7cd09dc2
MD5 0073df9b9c28e5299c9c37f240decff6
BLAKE2b-256 263f962eda7d38c2cd8b209e791f645aed1cdd598a50f9d85b20e9d70f4e89ef

See more details on using hashes here.

Provenance

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