IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20741


Ignore:
Timestamp:
Nov 13, 2008, 4:11:45 PM (17 years ago)
Author:
eugene
Message:

adding PS1_CAL_0 output format

Location:
trunk/psModules/src/objects
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/Makefile.am

    r20582 r20741  
    3535     pmSourceIO_PS1_DEV_0.c \
    3636     pmSourceIO_PS1_DEV_1.c \
     37     pmSourceIO_PS1_CAL_0.c \
    3738     pmSourcePlots.c \
    3839     pmSourcePlotPSFModel.c \
  • trunk/psModules/src/objects/pmSourceIO.c

    r19875 r20741  
    33 *  @author EAM, IfA
    44 *
    5  *  @version $Revision: 1.66 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2008-10-03 02:11:48 $
     5 *  @version $Revision: 1.67 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2008-11-14 02:11:45 $
    77 *
    88 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    485485                status = pmSourcesWrite_PS1_DEV_1 (file->fits, sources, file->header, outhead, dataname, xsrcname);
    486486            }
     487            if (!strcmp (exttype, "PS1_CAL_0")) {
     488                status = pmSourcesWrite_PS1_CAL_0 (file->fits, readout, sources, file->header, outhead, dataname, xsrcname);
     489            }
    487490            if (xsrcname) {
    488491              if (!strcmp (exttype, "PS1_DEV_1")) {
    489                 status = pmSourcesWrite_PS1_DEV_1_XSRC (file->fits, sources, xsrcname, recipe);
     492                  status = pmSourcesWrite_PS1_DEV_1_XSRC (file->fits, sources, xsrcname, recipe);
     493              }
     494              if (!strcmp (exttype, "PS1_CAL_0")) {
     495                  status = pmSourcesWrite_PS1_CAL_0_XSRC (file->fits, readout, sources, file->header, xsrcname, recipe);
    490496              }
    491497            }
    492498            if (xfitname) {
    493499              if (!strcmp (exttype, "PS1_DEV_1")) {
    494                 status = pmSourcesWrite_PS1_DEV_1_XFIT (file->fits, sources, xfitname);
     500                  status = pmSourcesWrite_PS1_DEV_1_XFIT (file->fits, sources, xfitname);
     501              }
     502              if (!strcmp (exttype, "PS1_CAL_0")) {
     503                  status = pmSourcesWrite_PS1_CAL_0_XFIT (file->fits, readout, sources, file->header, xfitname);
    495504              }
    496505            }
     
    915924                sources = pmSourcesRead_PS1_DEV_1 (file->fits, hdu->header);
    916925            }
     926            if (!strcmp (exttype, "PS1_CAL_)")) {
     927                sources = pmSourcesRead_PS1_CAL_0 (file->fits, hdu->header);
     928            }
    917929        }
    918930
  • trunk/psModules/src/objects/pmSourceIO.h

    r18601 r20741  
    44 * @author EAM, IfA; GLG, MHPCC
    55 *
    6  * @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
    7  * @date $Date: 2008-07-17 22:38:15 $
     6 * @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
     7 * @date $Date: 2008-11-14 02:11:45 $
    88 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    99 *
     
    3030bool pmSourcesWrite_PS1_DEV_1_XFIT (psFits *fits, psArray *sources, char *extname);
    3131
     32bool pmSourcesWrite_PS1_CAL_0 (psFits *fits, pmReadout *readout, psArray *sources, psMetadata *imageHeader, psMetadata *tableHeader, char *extname, char *xsrcname);
     33bool pmSourcesWrite_PS1_CAL_0_XSRC (psFits *fits, pmReadout *readout, psArray *sources, psMetadata *imageHeader, char *extname, psMetadata *recipe);
     34bool pmSourcesWrite_PS1_CAL_0_XFIT (psFits *fits, pmReadout *readout, psArray *sources, psMetadata *imageHeader, char *extname);
     35
    3236bool pmSource_CMF_WritePHU (const pmFPAview *view, pmFPAfile *file, pmConfig *config);
    3337
     
    3741psArray *pmSourcesRead_PS1_DEV_0 (psFits *fits, psMetadata *header);
    3842psArray *pmSourcesRead_PS1_DEV_1 (psFits *fits, psMetadata *header);
     43psArray *pmSourcesRead_PS1_CAL_0 (psFits *fits, psMetadata *header);
    3944
    4045bool pmSourcesWritePSFs (psArray *sources, char *filename);
Note: See TracChangeset for help on using the changeset viewer.