Skip to content
/ Lenzer Public

A gravitational lens simulation package for Python

License

Notifications You must be signed in to change notification settings

RubyPC/Lenzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Screenshot 2023-08-02 at 11 16 35 Lenzer Screenshot 2023-08-02 at 11 16 35

Software package for simulating strong gravitational lenses that can be used for machine learning applications. This repository contains information, source code and a worked example of how to simulate mock lenses (and the unlensed source) for Euclid observations.

Lenzer also supports alternative catalogs to COSMOS. Simply change the catalog class to SersicCatalog.

To install Lenzer, clone the repository at the top of the page: run the following commands in your working directory

$ git clone https://github.com/RubyPC/Lenzer.git <desired location>
$ cd <desired location>
$ python setup.py install

Requirements

Warnings

The PEMD (Power-Law Elliptical Mass Distribution) lens model requires the fastell4py package to run. This can be cloned from here, though requires a fortran compiler.

About

A gravitational lens simulation package for Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published