banzai icon indicating copy to clipboard operation
banzai copied to clipboard

allow multiplying images where GAIN etc is not set

Open griffin-h opened this issue 3 years ago • 0 comments

Multiplying an image by a constant crashes with a KeyError if GAIN, SATURATE, or MAXLIN are not set in the headers. This switches the multiplication method to using the gain, saturate, and max_linearity properties, which have an appropriate default set.

griffin-h avatar Feb 07 '23 07:02 griffin-h