IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 24, 2007, 3:31:21 PM (18 years ago)
Author:
eugene
Message:

default bscale

File:
1 edited

Legend:

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

    r15909 r15920  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.21 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2007-12-24 21:00:55 $
     9 *  @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2007-12-25 01:31:21 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    516516    assert(image);
    517517
    518     *bscale = 0.0;
     518    *bscale = 1.0;
    519519    *bzero = 0.0;
    520520    *floatType = PS_FITS_FLOAT_NONE;
     
    804804    // an unsigned integer type).  In all other cases, we have already converted the image to use the
    805805    // appropriate scale and zero (because we want to apply a randomiser to the quantisation).
    806     fits_set_bscale(fits->fd, 1.0, cfitsioBzero, &status);
     806    fits_set_bscale(fits->fd, 1.0, bzero, &status);
    807807
    808808    if (bscale != 0.0) {
Note: See TracChangeset for help on using the changeset viewer.