IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 4, 2008, 10:21:35 PM (18 years ago)
Author:
Paul Price
Message:

Provide mask and mask value when writing an HDU. This is required for the case when a large masked region of the image has been set to a constant (or close to a constant). If the mask is not provided in this case, then the standard deviation is under-estimated, leading to a choice of BSCALE,BZERO that adversely affects the dynamic range of the image. Mask value comes from MASK.VALUE using pmConfigMaskGet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmHDU.h

    r15973 r19385  
    44 * @author Paul Price, IfA
    55 *
    6  * @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
    7  * @date $Date: 2008-01-02 20:33:41 $
     6 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
     7 * @date $Date: 2008-09-05 08:21:35 $
    88 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii
    99 */
     
    1111#ifndef PM_HDU_H
    1212#define PM_HDU_H
     13
     14#include <pslib.h>
     15#include "pmConfig.h"
    1316
    1417/// @addtogroup Camera Camera Layout
     
    6265bool pmHDUReadWeight(pmHDU *hdu,        ///< HDU to read
    6366                     psFits *fits       ///< FITS file to read from
    64                     );
     67    );
    6568
    6669/// Write the HDU header and pixels
    6770bool pmHDUWrite(pmHDU *hdu,             ///< HDU to write
    68                 psFits *fits            ///< FITS file to write to
    69                );
     71                psFits *fits,           ///< FITS file to write to
     72                const pmConfig *config  ///< Configuration
     73    );
    7074
    7175/// Write the HDU header and mask
    7276bool pmHDUWriteMask(pmHDU *hdu,         ///< HDU to write
    73                     psFits *fits        ///< FITS file to write to
    74                    );
     77                    psFits *fits,       ///< FITS file to write to
     78                    const pmConfig *config  ///< Configuration
     79    );
    7580
    7681/// Write the HDU header and weight map
    7782bool pmHDUWriteWeight(pmHDU *hdu,       ///< HDU to write
    78                       psFits *fits      ///< FITS file to write to
    79                      );
     83                      psFits *fits,     ///< FITS file to write to
     84                      const pmConfig *config  ///< Configuration
     85    );
    8086
    8187/// @}
Note: See TracChangeset for help on using the changeset viewer.