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.3.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.3-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: erresire-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 26ce3cd06f3fcaccc48ea9b9550a17af5caa78fd2ab8f5cecb8fe1c7376680c1
MD5 db428124f92ad9efd4de94288b3bbaa3
BLAKE2b-256 76d879d6b34a58a3d7b2ab4bf2a1f95f727686025c548803f7eea854c9170dda

See more details on using hashes here.

File details

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

File metadata

  • Download URL: erresire-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8d2002d68f365222a284b004b0919c36474202824054efcf182ec2cf566b50b7
MD5 53e0dee1cd099ee0c7594c1c1afb7951
BLAKE2b-256 e9504aa5e44515526c84d79bf5e50ba6927e042f2d6bf419bf1de4934be807b5

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