…to the functions instead of the function's return values.
In the get_image_generator() function there is now a single assignment of get_image_parameters into a dictionary of lambda functions that are used to update the image parameters each iteration.
…to the functions instead of the function's return values.
In the get_image_generator() function there is now a single assignment of get_image_parameters into a dictionary of lambda functions that are used to update the image parameters each iteration.