generate – Dataset Generation Module
Generate simulated strong lensing images using the classes and parameters of an input configuration dictionary.
This script generates strong lensing images from paltas config dictionaries.
Example
To run this script, pass in the desired config as argument:
$ python -m generate.py path/to/config.py path/to/save_folder --n 1000
The parameters will be pulled from config.py and the images will be saved in save_folder. If save_folder doesn’t exist it will be created.