You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to make it so my code writes bit-identical outputs every time it runs, but I'm using the compression schemes that do the subtractive dither thing, so there is a seed chosen at run-time. It looks like CFITSIO has routines to set that seed - fits_set_quantize_dither() or fits_set_dither_seed() etc https://heasarc.gsfc.nasa.gov/docs/software/fitsio/c/c_user/node41.html
It looks like one place to add this feature would be here,
Hi,
I'm trying to make it so my code writes bit-identical outputs every time it runs, but I'm using the compression schemes that do the subtractive dither thing, so there is a seed chosen at run-time. It looks like CFITSIO has routines to set that seed -
fits_set_quantize_dither()
orfits_set_dither_seed()
etchttps://heasarc.gsfc.nasa.gov/docs/software/fitsio/c/c_user/node41.html
It looks like one place to add this feature would be here,
fitsio/fitsio/fitsio_pywrap.c
Line 1376 in c8f8d60
ie similar to how the quantization level can be set,
fitsio/fitsio/fitsio_pywrap.c
Line 1483 in c8f8d60
thanks!
-dustin
The text was updated successfully, but these errors were encountered: