Erresire
Erresire enables users to simulate large populations of strong gravitational lenses in an efficient and flexible manner via a Monte Carlo method.
Users can customize the simulation by supplying catalogs of their choice for dark matter halos, galaxies, and sources.
Installation
You can install the latest version directly from PyPI:
pip install erresire
Quickstart
The fastest way to get started is with the model_run_example.ipynb notebook provided in the examples/ folder.
This notebook illustrates how to use the core Erresire functions and shows how to integrate custom lens models into your simulations.
Also within this directory are mini catalogs of galaxy, halo, and source properties. These small datasets allow you to quickly run the example notebook and explore the functionality of Erresire without needing large external files.
Galaxy data comes from the ComsoDC2 Synthetic Sky Catalog (https://iopscience.iop.org/article/10.3847/1538-4365/ab510c/pdf) and source data from the Quaia Gaia-unWISE Quasar Catalog (https://iopscience.iop.org/article/10.3847/1538-4357/ad1328/meta). Creation of the halo data catalog is discussed in Mezini 2025 using particle data from the Symphony Simulation suite.
IMPORTANT: Catalog Configuration
In schema.md we discuss the columns contained within the mock lens catalog and halo catalog. For more information on the source and galaxy catalogs used to create the Erresire catalog, we recommend consulting the external resources linked above for each dataset.
To ensure compatibility with lenstronomy and to support reliable cross-matching between galaxies and their associated dark matter halos, all input data catalogs must follow specific configuration requirements. These requirements are outlined in input_data_configuration.md, where we provide a detailed description of the necessary fields and formatting.
Metadata
Release files for erresire 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| erresire-0.1.5.tar.gz | 16.8 kB | Without provenance | Details for erresire-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| erresire-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for erresire-0.1.5-py3-none-any.whl |
Total release size: 33.9 kB
Release files / erresire-0.1.5.tar.gz
| Download URL | erresire-0.1.5.tar.gz |
|---|---|
| Size | 16.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7a7651291cbb40c05c445614886b68ec7b51ff5859e0fb42977696ef9086323e
|
|
BLAKE2b-256 checksum How to use checksums |
41b6636375f962f7231ea54c574d5abce276270c4e0744ea04968a1ee4dd3ccb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.7
|
Release files / erresire-0.1.5-py3-none-any.whl
| Download URL | erresire-0.1.5-py3-none-any.whl |
|---|---|
| Size | 17.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f926f8f406bdcd39df85b2790e7f20a26f180bbef3ccfd48acfcb5e0e3a70f48
|
|
BLAKE2b-256 checksum How to use checksums |
22ccc70f6b68e53b711d338a8e83936161431d15e6bab87d1ed65fd9b75a7178
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.7
|
Security for erresire 0.1.5
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.