Skip to content

ajshajib/dolphin

Repository files navigation

logo dolphin

https://github.com/ajshajib/dolphin/actions/workflows/ci.yaml/badge.svg?branch=main https://readthedocs.org/projects/dolphin-docs/badge/?version=latest https://codecov.io/gh/ajshajib/dolphin/branch/main/graph/badge.svg?token=WZVXZS9GF1 License BSD 3-Clause Badge https://img.shields.io/badge/arXiv-2503.22657-b31b1b?logo=arxiv&logoColor=white https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=brightyellow

AI-powered automated pipeline for lens modeling, with lenstronomy as the modeling engine.

Features

  • AI-automated forward modeling for large samples of galaxy-scale lenses.
  • Flexible: supports both fully automated and semi-automated (with user tweaks) modes.
  • Multi-band lens modeling made simple.
  • Supports both galaxy–galaxy and galaxy–quasar systems.
  • Effortless syncing between local machines and HPCC.
  • codecov tested!

Installation

PyPI - Version

You can install dolphin using pip. Run the following command:

pip install space-dolphin

Alternatively, you can install the latest development version from GitHub as:

git clone https://github.com/ajshajib/dolphin.git
cd dolphin
pip install .

See the Quickstart guide for instructions on setting up and running dolphin.

Citation

If you use dolphin in your research, please cite the dolphin paper Shajib et al. (2025). If you have used the "galaxy-quasar" fitting recipe, then additionally cite Shajib et al. (2019), or if you have used the "galaxy-galaxy" fitting recipe, then additionally cite Shajib et al. (2021).