IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16127


Ignore:
Timestamp:
Jan 17, 2008, 4:41:43 PM (18 years ago)
Author:
Paul Price
Message:

Write images with the CFITSIO BZERO value, but not the "real" one --- it's undoing our scaling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap_branch_080117/psLib/src/fits/psFitsImage.c

    r16123 r16127  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.23.2.2 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2008-01-18 01:07:31 $
     9 *  @version $Revision: 1.23.2.3 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2008-01-18 02:41:43 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    556556    // an unsigned integer type).  In all other cases, we have already converted the image to use the
    557557    // appropriate scale and zero (because we want to apply a randomiser to the quantisation).
    558     fits_set_bscale(fits->fd, 1.0, bzero, &status);
     558    fits_set_bscale(fits->fd, 1.0, cfitsioBzero, &status);
    559559
    560560    if (bscale != 0.0) {
Note: See TracChangeset for help on using the changeset viewer.