IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 31, 2011, 5:00:58 PM (15 years ago)
Author:
watersc1
Message:

Fix ASINH headers to be more descriptive and useful in figuring out how to decode the image into an uncompressed format.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/fits/psFitsImage.c

    r31633 r32597  
    772772                       (options->scaling == PS_FITS_SCALE_LOG_STDEV_BOTH)))) {
    773773          fits_write_key_dbl(fits->fd, "BOFFSET", boffset, 12,
    774                              "Scaling: ORIGINAL = 10**(TRUE) + BOFFSET)", &status);
     774                             "Scaling: UNCOMP = 10**(TRUE) + BOFFSET", &status);
    775775        }       
    776776        if (options&&(((options->scaling == PS_FITS_SCALE_ASINH_RANGE)||
     
    779779                       (options->scaling == PS_FITS_SCALE_ASINH_STDEV_NEGATIVE)||
    780780                       (options->scaling == PS_FITS_SCALE_ASINH_STDEV_BOTH)))) {
     781          fits_write_key_dbl(fits->fd, "BSOFTEN", bsoften, 12,
     782                             "Scaling: LINEAR = 2 * BSOFTEN * sinh(TRUE/a)",&status);
    781783          fits_write_key_dbl(fits->fd, "BOFFSET", boffset, 12,
    782                              "Scaling: NORM = DISK + BOFFSET", &status);
    783           fits_write_key_dbl(fits->fd, "BSOFTEN", bsoften, 12,
    784                              "Scaling: TRUE = 2 * BSOFTEN * sinh(NORM/a)",&status);
    785 
    786 
     784                             "Scaling: UNCOMP = BOFFSET + LINEAR",&status);
    787785        }       
    788786
Note: See TracChangeset for help on using the changeset viewer.