Simulate large populations of strong gravitational lenses (Monte Carlo‑based).
Project description
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.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file erresire-0.1.2.tar.gz.
File metadata
- Download URL: erresire-0.1.2.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
233d7c9a1fb5a91d54d63ef263cdcfe16170b7d5be98a0acf4c9b0824e30eb23
|
|
| MD5 |
4e2c2e31386b10c8b5790675408d89ea
|
|
| BLAKE2b-256 |
5dbfd4ac97ba6660424eb21b0b82b48eee9c3828b05d25a85e892def2aa4b354
|
File details
Details for the file erresire-0.1.2-py3-none-any.whl.
File metadata
- Download URL: erresire-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e40120a6f618887384b26a006b9432e6d5bf3e82f24b9b94547402994f73d12
|
|
| MD5 |
66d30c953245bf909daae97f35b3ab8b
|
|
| BLAKE2b-256 |
84ebd1050f5c94ccf8f3688b6572d46d4c0ff8421e9dc7f8a546e11bfecbfca3
|