IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 26, 2007, 5:33:37 PM (19 years ago)
Author:
Paul Price
Message:

Fixing problem with mosaicked versions of cameras --- they have file->format set, but they aren't supposed to have pmFPACopy run on them. Solution is to check if the file->camera is the default camera; if not, then don't do any copy in pmFPAfileSuitableFPA.

File:
1 edited

Legend:

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

    r11255 r11339  
    55 * @author PAP, IfA
    66 *
    7  * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
    8  * @date $Date: 2007-01-24 03:11:19 $
     7 * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
     8 * @date $Date: 2007-01-27 03:33:37 $
    99 * Copyright 2004-2005 Institute for Astronomy, University of Hawaii
    1010 */
     
    3232/// Write the image for the specified view
    3333bool pmFPAviewWriteFitsImage(const pmFPAview *view, ///< View specifying level of interest
    34                              pmFPAfile *file ///< FPA file to write
     34                             pmFPAfile *file, ///< FPA file to write
     35                             pmConfig *config ///< Configuration
    3536                            );
    3637
    3738/// Write the mask for the specified view
    3839bool pmFPAviewWriteFitsMask(const pmFPAview *view, ///< View specifying level of interest
    39                             pmFPAfile *file ///< FPA file to write
     40                            pmFPAfile *file, ///< FPA file to write
     41                            pmConfig *config ///< Configuration
    4042                           );
    4143
    4244/// Write the weight map for the specified view
    4345bool pmFPAviewWriteFitsWeight(const pmFPAview *view, ///< View specifying level of interest
    44                               pmFPAfile *file ///< FPA file to write
     46                              pmFPAfile *file, ///< FPA file to write
     47                              pmConfig *config ///< Configuration
    4548                             );
    4649
     
    6467/// Produce a suitable FPA for writing, on the basis of the input FPAfile
    6568///
    66 /// A format change is done is required.  Otherwise the file->fpa is returned (incremented).
     69/// A new FPA with a changed format is generated if required (file->format is set and file->camera is equal to
     70/// the default, indicating a change in the format without changing the camera --- changes to the camera are
     71/// handled using other systems --- see pmFPAfileDefineChipMosaic, pmFPAfileDefineFPAMosaic).  Otherwise the
     72/// file->fpa is returned (incremented).
    6773pmFPA *pmFPAfileSuitableFPA(const pmFPAfile *file,///< File containing the fpa
    68                             const pmFPAview *view ///< View at which to produce the fpa
     74                            const pmFPAview *view, ///< View at which to produce the fpa
     75                            const pmConfig *config ///< Configuration
    6976                           );
    7077
Note: See TracChangeset for help on using the changeset viewer.