IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 10215


Ignore:
Timestamp:
Nov 27, 2006, 6:39:28 PM (19 years ago)
Author:
Paul Price
Message:

Cleaning up code. Deleted old unused files.

Location:
trunk/ppImage/src
Files:
4 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppImage.c

    r8751 r10215  
    1717    pmConfig *config = ppImageArguments(argc, argv);
    1818    if (config == NULL) {
    19         psErrorStackPrint(stderr, " ");
     19        psErrorStackPrint(stderr, "Unable to parse command-line arguments.");
    2020        exit(1);
    2121    }
     
    2525    ppImageOptions *options = ppImageParseCamera(config);
    2626    if (options == NULL) {
    27         psErrorStackPrint(stderr, " ");
     27        psErrorStackPrint(stderr, "Unable to parse camera.");
    2828        exit(1);
    2929    }
     
    3131    // Image Arithmetic Loop
    3232    if (!ppImageLoop(config, options)) {
    33         psErrorStackPrint(stderr, " ");
     33        psErrorStackPrint(stderr, "Unable to loop over input");
    3434        exit(1);
    3535    }
    3636
    37     psLogMsg ("ppImage", 3, "complete ppImage run: %f sec\n", psTimerMark (TIMERNAME));
     37    psLogMsg ("ppImage", 3, "Complete ppImage run: %f sec\n", psTimerMark(TIMERNAME));
    3838
    3939    // Cleaning up
    4040    ppImageCleanup(config, options);
     41
    4142    return EXIT_SUCCESS;
    4243}
  • trunk/ppImage/src/ppImageDetrendFringe.h

    r9952 r10215  
    66#include "ppImageOptions.h"
    77
     8// Measure fringes
    89bool ppImageDetrendFringeMeasure(pmReadout *readout, // Readout to measure
    910                                 pmCell *fringe, // Fringe cell (each readout is a different component)
     
    1112    );
    1213
     14// Solve the fringe system
    1315bool ppImageDetrendFringeSolve(pmChip *scienceChip, // Chip with science
    1416                               const pmChip *refChip, // Chip with reference fringes
     
    1618    );
    1719
    18 
     20// Generate fringe frame
    1921psImage *ppImageDetrendFringeGenerate(pmCell *science, // Science cell
    2022                                      pmCell *fringes // Fringe cell, one readout per fringe component
  • trunk/ppImage/src/ppImageParseCamera.c

    r10083 r10215  
    1616        return NULL;
    1717    }
     18
     19#if 0
     20    // the input image defines the camera, and all recipes and options the follow
     21    pmFPAfile *inputMask = pmFPAfileDefineFromArgs (&status, config, "PPIMAGE.INPUT.MASK", "INPUT.MASK");
     22    if (!status || !inputMask) {
     23        psError(PS_ERR_IO, false, "Failed to build FPA from PPIMAGE.INPUT.MASK");
     24        return NULL;
     25    }
     26
     27    // the input image defines the camera, and all recipes and options the follow
     28    pmFPAfile *inputWeight = pmFPAfileDefineFromArgs (&status, config, "PPIMAGE.INPUT.WEIGHT", "INPUT.WEIGHT");
     29    if (!status || !inputWeight) {
     30        psError(PS_ERR_IO, false, "Failed to build FPA from PPIMAGE.INPUT.WEIGHT");
     31        return NULL;
     32    }
     33#endif
    1834
    1935    // add recipe options supplied on command line
Note: See TracChangeset for help on using the changeset viewer.