Skip to content

rirze/interactive-strong-lensing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello!

This is a demonstration of how different parameters change the image we see from a gravitational lens. This code is very largely taken from Adam S. Bolton's Strong Lensing Demo (@http://www.physics.utah.edu/~bolton/python_lens_demo/) and put in an interactive frame with sliders for the different parameter spaces. This provides an instaneous update to the image without the need for a command-line input. The program requires matplotlib and numpy to run.

To run the demonstration, execute the file interactive_lens.py with the file lensdemo_funcs.py being in the same directory.

Screenshots

Einstein Ring

Einstein Ring

Einstein Cross

Einstein Cross

Others...

Others

About

An interactive-slider-demo for a simple gravitational lens.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages