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

Uploaded Python 3

File details

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

File metadata

  • Download URL: erresire-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 7a7651291cbb40c05c445614886b68ec7b51ff5859e0fb42977696ef9086323e
MD5 b9581831ef3d0f95a1991fdfa0c0ee0f
BLAKE2b-256 41b6636375f962f7231ea54c574d5abce276270c4e0744ea04968a1ee4dd3ccb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: erresire-0.1.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f926f8f406bdcd39df85b2790e7f20a26f180bbef3ccfd48acfcb5e0e3a70f48
MD5 2a985e278ba97879510a75268ec81c82
BLAKE2b-256 22ccc70f6b68e53b711d338a8e83936161431d15e6bab87d1ed65fd9b75a7178

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