IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 6, 2008, 10:47:50 AM (18 years ago)
Author:
Paul Price
Message:

Adding multi-darks --- fitting dark current with multi-dimensional polynomial. This allows the dark current to be a function of temperature, or time since PON. To do this, added new file type, DARK. A DARK file is just like an IMAGE, except that it has a table per FITS file that contains the parameters to use in applying the dark. It's kinda like a FRINGE, but there's only one table per file, instead of one table per extension.

File:
1 edited

Legend:

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

    r15180 r16841  
    2020#include "pmFPACopy.h"
    2121#include "pmFPAConstruct.h"
     22#include "pmDark.h"
    2223
    2324pmFPA *pmFPAfileSuitableFPA(const pmFPAfile *file, const pmFPAview *view, const pmConfig *config)
     
    243244}
    244245
     246bool pmFPAviewReadFitsDark(const pmFPAview *view, pmFPAfile *file)
     247{
     248    PS_ASSERT_PTR_NON_NULL(view, false);
     249    PS_ASSERT_PTR_NON_NULL(file, false);
     250    return fpaViewReadFitsImage(view, file, pmFPAReadDark, pmChipReadDark, pmCellReadDark);
     251}
     252
    245253bool pmFPAviewReadFitsHeaderSet(const pmFPAview *view, pmFPAfile *file)
    246254{
     
    337345    PS_ASSERT_PTR_NON_NULL(file, false);
    338346    return fpaViewWriteFitsImage(view, file, config, pmFPAWriteWeight, pmChipWriteWeight, pmCellWriteWeight);
     347}
     348
     349bool pmFPAviewWriteFitsDark(const pmFPAview *view, pmFPAfile *file, const pmConfig *config)
     350{
     351    PS_ASSERT_PTR_NON_NULL(view, false);
     352    PS_ASSERT_PTR_NON_NULL(file, false);
     353    return fpaViewWriteFitsImage(view, file, config, pmFPAWriteDark, pmChipWriteDark, pmCellWriteDark);
    339354}
    340355
Note: See TracChangeset for help on using the changeset viewer.