Skip to main content

Simulate large populations of strong gravitational lenses (Monte Carlo‑based).

Project description

Erresire(2)

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

erresire-0.1.4.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

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

erresire-0.1.4-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file erresire-0.1.4.tar.gz.

File metadata

  • Download URL: erresire-0.1.4.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.7

File hashes

Hashes for erresire-0.1.4.tar.gz
Algorithm Hash digest
SHA256 eb0727e9ede6e6ea921dff6c1dc67cf30d5f502a2aa4d4fc581b4ad9afea0746
MD5 9ddba0d617bf59242c39287839fd4a0d
BLAKE2b-256 ba10b18900c1b61dfdbc479fa7abf1123b0760fc38db3823a9dda4af615b1686

See more details on using hashes here.

File details

Details for the file erresire-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: erresire-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 17.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.7

File hashes

Hashes for erresire-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 dd1e91b8323f751398f607b0cd4343dd12f006386eb4e4529f42f0c1894e3900
MD5 5193e8203160c4f16518f149de7e4468
BLAKE2b-256 281e9149cc1287f350ef64e0ca36e5fdc57a36d3ac3b644875172749e7fa0137

See more details on using hashes here.

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