Skip to main content

logo paltax

ci coverage license

paltax is a package for conducting simulation-based inference on strong gravitational lensing images.

Installation

paltax is installable via pip:

$ pip install paltax

For the most up-to-date version of paltax install directly from the git repository.

$ git clone https://github.com/swagnercarena/paltax.git
    $ cd path/to/paltax/
    $ pip install -e .

Usage

The main functionality of paltax is to train (sequential) neural posterior estimators with on-the-fly data generation. To train a model with paltax you need a training configuration file that is passed to main.py:

$ python main.py --workdir=path/to/model/output/folder --config=path/to/training/configuration

paltax comes preloaded with a number of training configuration files which are described in paltax/TrainConfigs/README.rst. These training configuration files require input configuration files, examples of which can be found in paltax/InputConfigs/.

Demos

paltax comes with a tutorial notebook for users interested in using the package.

Figures

Code for generating the plots included in some of the publications using paltax can be found under the corresponding arxiv number in the paltax/notebooks/papers/ folder.

Attribution

If you use paltax for your own research, please cite the paltax package (Wagner-Carena et al. 2024)

paltax builds off of the publically released Google DeepMind codebase jaxstronomy.

Metadata

Release files for paltax 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for paltax 1.0.1
File Size Uploaded Provenance Actions
paltax-1.0.1.tar.gz 2.4 MB Without provenance Details for paltax-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for paltax 1.0.1
File Interpreter ABI Platform Actions
paltax-1.0.1-py3-none-any.whl Python 3 none any Details for paltax-1.0.1-py3-none-any.whl

Total release size: 2.9 MB

Release files / paltax-1.0.1.tar.gz

Download URL paltax-1.0.1.tar.gz
Size 2.4 MB
Tags Source
SHA-256 checksum
How to use checksums
9151eae4f97c52d05c7270c284ff04e8df3f71b38dab7d673caed66b9c94a23f
BLAKE2b-256 checksum
How to use checksums
c300c442e8c731f0813855970fcf1b7d77620198997ebe112fbee67cedb3288a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / paltax-1.0.1-py3-none-any.whl

Download URL paltax-1.0.1-py3-none-any.whl
Size 472.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ffbd546301f9d72364dd053826f77415c73b20fc40865faeff228b3002a59b5c
BLAKE2b-256 checksum
How to use checksums
62fcd4aa78f21af5abe431296280769e3dc99415a7f115673d86cfc697237ea3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Security for paltax 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page