c3-time-domain / SeeChange

A time-domain data reduction pipeline (e.g., for handling images->lightcurves) for surveys like DECam and LS4
BSD 3-Clause "New" or "Revised" License
0 stars 4 forks source link

Write backgrounds as float32 #373

Open rknop opened 2 weeks ago

rknop commented 2 weeks ago

Right now, background maps are written to HDF5 files as float64. This is false precision, and a waste of disk space. Convert to float32, or (better) to something like a bscaled int16.

(Any realistic variation in background across the image is not going to require more than 16 bits of precision if the mapping is scaled between the minimum and maximum pixel values.)