IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 5, 2009, 10:44:04 AM (17 years ago)
Author:
eugene
Message:

merging Doxygen comments by Bill G from eam_branch_20081230

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pswarp/src/pswarpArguments.c

    r20347 r21323  
     1/** @file pswarpArguments.c
     2 *
     3 *  @brief
     4 *
     5 *  @ingroup pswarp
     6 *
     7 *  @author IfA
     8 *  @version $Revision: 1.23 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2009-02-05 20:44:04 $
     10 *  Copyright 2009 Institute for Astronomy, University of Hawaii
     11 */
     12
    113# include "pswarp.h"
    214# include <glob.h>
     
    2638
    2739    {
    28         int arg;                        // Argument Number
     40        int arg;                        ///< Argument Number
    2941        if ((arg = psArgumentGet(argc, argv, "-psphot-visual"))) {
    3042            psArgumentRemove(arg, &argc, argv);
     
    105117}
    106118
    107 // Parse the recipe and format into the arguments
     119/**
     120 * Parse the recipe and format into the arguments
     121 */
    108122bool pswarpOptions(pmConfig *config)
    109123{
     
    116130
    117131    // Get grid size
    118     bool status;                        // Status of MD lookup
     132    bool status;                        ///< Status of MD lookup
    119133    int nGridX = psMetadataLookupS32(&status, recipe, "GRID.NX");
    120134    if (!status || nGridX <= 0) {
     
    129143
    130144    // Get interpolation mode
    131     const char *name = psMetadataLookupStr (&status, recipe, "INTERPOLATION.MODE"); // Name of interp mode
     145    const char *name = psMetadataLookupStr (&status, recipe, "INTERPOLATION.MODE"); ///< Name of interp mode
    132146    if (!name) {
    133147        name = "BILINEAR";
    134148        psLogMsg("pswarp", 3, "defaulting to %s interpolation", name);
    135149    }
    136     psImageInterpolateMode interpolationMode = psImageInterpolateModeFromString(name); // Mode for interp.
     150    psImageInterpolateMode interpolationMode = psImageInterpolateModeFromString(name); ///< Mode for interp.
    137151    if (interpolationMode == PS_INTERPOLATE_NONE) {
    138152        interpolationMode = PS_INTERPOLATE_BILINEAR;
     
    148162    }
    149163
    150     float poorFrac = psMetadataLookupF32(&status, recipe, "POOR.FRAC"); // Frac of bad flux for a "poor"
     164    float poorFrac = psMetadataLookupF32(&status, recipe, "POOR.FRAC"); ///< Frac of bad flux for a "poor"
    151165    if (!status) {
    152166        poorFrac = 0.0;
     
    154168    }
    155169
    156     float acceptFrac = psMetadataLookupF32(&status, recipe, "ACCEPT.FRAC"); // Min fraction of good pixels
     170    float acceptFrac = psMetadataLookupF32(&status, recipe, "ACCEPT.FRAC"); ///< Min fraction of good pixels
    157171    if (!status) {
    158172        acceptFrac = 0.0;
     
    194208    if (dump_file) {
    195209        const char *skyCamera = psMetadataLookupStr(NULL, config->arguments,
    196                                                     "SKYCELL.CAMERA");  // Name of camera for skycell
     210                                                    "SKYCELL.CAMERA");  ///< Name of camera for skycell
    197211        pmConfigCamerasCull(config, skyCamera);
    198212        pmConfigRecipesCull(config, "PSWARP,PPSTATS,PSPHOT,MASKS");
Note: See TracChangeset for help on using the changeset viewer.