IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 1, 2009, 11:43:05 AM (17 years ago)
Author:
eugene
Message:

merging Doxygen templates added by Bill G

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppArith/src/ppArithLoop.c

    r18070 r21244  
     1/** @file ppArithLoop.c
     2 *
     3 *  @brief
     4 *
     5 *  @ingroup ppArith
     6 *
     7 *  @author IfA
     8 *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2009-02-01 21:40:52 $
     10 *  Copyright 2009 Institute for Astronomy, University of Hawaii
     11 */
     12
    113#ifdef HAVE_CONFIG_H
    214#include <config.h>
     
    1628    PS_ASSERT_PTR_NON_NULL(config, false);
    1729
    18     bool mdok;                          // Status of MD lookup
    19     const char *statsName = psMetadataLookupStr(&mdok, config->arguments, "STATS"); // Filename for statistics
    20     psMetadata *stats = NULL;           // Container for statistics
    21     FILE *statsFile = NULL;             // File stream for statistics
     30    bool mdok;                          ///< Status of MD lookup
     31    const char *statsName = psMetadataLookupStr(&mdok, config->arguments, "STATS"); ///< Filename for statistics
     32    psMetadata *stats = NULL;           ///< Container for statistics
     33    FILE *statsFile = NULL;             ///< File stream for statistics
    2234    if (statsName && strlen(statsName) > 0) {
    23         psString resolved = pmConfigConvertFilename(statsName, config, true, true); // Resolved filename
     35        psString resolved = pmConfigConvertFilename(statsName, config, true, true); ///< Resolved filename
    2436        statsFile = fopen(resolved, "w");
    2537        if (!statsFile) {
     
    3345    }
    3446
    35     const char *outName = psMetadataLookupStr(NULL, config->arguments, "FILERULE.OUTPUT"); // Output filerule
    36     pmFPAfile *output = psMetadataLookupPtr(NULL, config->files, outName); // Output file
     47    const char *outName = psMetadataLookupStr(NULL, config->arguments, "FILERULE.OUTPUT"); ///< Output filerule
     48    pmFPAfile *output = psMetadataLookupPtr(NULL, config->files, outName); ///< Output file
    3749    assert(output);                     // We added it earlier
    3850
    39     const char *inName = psMetadataLookupStr(NULL, config->arguments, "FILERULE.INPUT"); // Input filerule
    40     pmFPAfile *input1 = NULL, *input2 = NULL; // Input files
    41     psString fileRegex = NULL;          // Regular expression to find input files
     51    const char *inName = psMetadataLookupStr(NULL, config->arguments, "FILERULE.INPUT"); ///< Input filerule
     52    pmFPAfile *input1 = NULL, *input2 = NULL; ///< Input files
     53    psString fileRegex = NULL;   ///< Regular expression to find input files
    4254    psStringAppend(&fileRegex, "^%s$", inName);
    43     psMetadataIterator *iter = psMetadataIteratorAlloc(config->files, PS_LIST_HEAD, fileRegex); // Iterator
    44     psMetadataItem *item = psMetadataGetAndIncrement(iter); // Item from iteration
     55    psMetadataIterator *iter = psMetadataIteratorAlloc(config->files, PS_LIST_HEAD, fileRegex); ///< Iterator
     56    psMetadataItem *item = psMetadataGetAndIncrement(iter); ///< Item from iteration
    4557    input1 = item->data.V;
    4658    assert(input1);                     // It should be there!
     
    5163    psFree(iter);
    5264
    53     pmFPAview *view = pmFPAviewAlloc(0); // Pointer into FPA hierarchy
    54     pmHDU *lastHDU = NULL;              // Last HDU that was updated
     65    pmFPAview *view = pmFPAviewAlloc(0); ///< Pointer into FPA hierarchy
     66    pmHDU *lastHDU = NULL;              ///< Last HDU that was updated
    5567
    5668    // Iterate over the FPA hierarchy
     
    5971    }
    6072
    61     pmChip *outChip;                    // Output chip of interest
     73    pmChip *outChip;                    ///< Output chip of interest
    6274    while ((outChip = pmFPAviewNextChip(view, output->fpa, 1)) != NULL) {
    63         pmChip *inChip1 = pmFPAviewThisChip(view, input1->fpa); // Input chip of interest
    64         pmChip *inChip2 = input2 ? pmFPAviewThisChip(view, input2->fpa) : NULL; // Input chip of interest
     75        pmChip *inChip1 = pmFPAviewThisChip(view, input1->fpa); ///< Input chip of interest
     76        pmChip *inChip2 = input2 ? pmFPAviewThisChip(view, input2->fpa) : NULL; ///< Input chip of interest
    6577        if (inChip2 && ((!inChip1->file_exists && inChip2->file_exists) ||
    6678                        (inChip1->file_exists && !inChip2->file_exists))) {
     
    7890        }
    7991
    80         pmCell *outCell;                // Cell of interest
     92        pmCell *outCell;                ///< Cell of interest
    8193        while ((outCell = pmFPAviewNextCell(view, output->fpa, 1)) != NULL) {
    82             pmCell *inCell1 = pmFPAviewThisCell(view, input1->fpa); // Input cell of interest
    83             pmCell *inCell2 = input2 ? pmFPAviewThisCell(view, input2->fpa) : NULL; // Input cell of interest
     94            pmCell *inCell1 = pmFPAviewThisCell(view, input1->fpa); ///< Input cell of interest
     95            pmCell *inCell2 = input2 ? pmFPAviewThisCell(view, input2->fpa) : NULL; ///< Input cell of interest
    8496            if (inCell2 && ((!inCell1->file_exists && inCell2->file_exists) ||
    8597                            (inCell1->file_exists && !inCell2->file_exists))) {
     
    105117            }
    106118
    107             pmReadout *outRO;           // Readout of interest
     119            pmReadout *outRO;           ///< Readout of interest
    108120            while ((outRO = pmFPAviewNextReadout(view, output->fpa, 1))) {
    109121                if (!pmFPAfileIOChecks(config, view, PM_FPA_BEFORE)) {
    110122                    return false;
    111123                }
    112                 pmReadout *inRO1 = pmFPAviewThisReadout(view, input1->fpa);// Input readout of interest
     124                pmReadout *inRO1 = pmFPAviewThisReadout(view, input1->fpa);///< Input readout of interest
    113125                pmReadout *inRO2 = input2 ? pmFPAviewThisReadout(view, input2->fpa) :
    114                     NULL;// Input readout of interest
     126                    NULL;///< Input readout of interest
    115127
    116128                if (inRO2 && ((!inRO1->data_exists && inRO2->data_exists) ||
Note: See TracChangeset for help on using the changeset viewer.