Skip to content

David-Sweeney/Microlens-Image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Microlens-Image

Example Image

Creating your own microlensing image is easy! The first step is to make sure your python installation has numpy, matplotlib, astropy and scipy installed. If that is not the case for you then follow those links to install them.

The next step is to download the microlens_image.py file and put it in a directory which you know how to access. Then simply run the file with:

python microlens_image.py <input_image> <output_image>

For example:

python microlens_image.py input.jpg output.jpg

Where input.jpg is in the same directory as the microlens_image.py file.

The code will then load in the input image, apply a microlensing effect to the middle of it and save the resultant image to the output_image location.

If you are looking to explore creating your own Galactic Underworld then see the StellarMortis repository.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages