Input sequences mERG
This python script generates a sequence (of custom length) of hexagonic inputs that can be used in multifocal electroretinography studies or computational modeling of the human eye.
Usage
Navigate to the directory the python script was put into. Then do:
python generate.py *mode* *radius* *size_x* *size_y* *output_directory* *output_size*
- mode is the image type (e.g. RGB or 1 for 1-bit black-white, check Pillow Documentation for more info)
- radius is the radius for each hexagon (all have the same)
- size_x and size_y the dimensions of the image
- output_directory is the directory the images will be saved in
- output_size is the amount of images to generate