decoding of imageHDU.Image() image.Image for BITPIX-32 and -64 relies on some global variables (the fmin32 et al. variables)
fix this by adding Min and Max fields to f32Image and f64Image which would be calculated when they are created, modifying the newF32Image constructor to take the raw buffer and iterate over it to get the min and max values.
decoding of
imageHDU.Image() image.Image
forBITPIX
-32
and-64
relies on some global variables (thefmin32
et al. variables)fix this by adding
Min
andMax
fields tof32Image
andf64Image
which would be calculated when they are created, modifying thenewF32Image
constructor to take the raw buffer and iterate over it to get themin
andmax
values.