IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 7, 2006, 5:57:23 PM (20 years ago)
Author:
eugene
Message:

substantial upgrade to work with the pmFPAfile paradigm

File:
1 edited

Legend:

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

    r6747 r6817  
    22#define PP_IMAGE_H
    33
     4#include <stdio.h>
    45#include "pslib.h"
    56#include "psmodules.h"
    6 
    7 #include "ppImageData.h"
    87#include "ppImageOptions.h"
     8#include "ppMem.h"
    99
    1010#define RECIPE_NAME "PHASE2"            // Name of the recipe to use
     
    1515
    1616// Determine what type of camera, and initialise
    17 bool ppImageParseCamera(ppImageData *data,   // The data to be processed
    18                         pmConfig *config // Configuration
    19                         );
    20 
     17bool ppImageParseDetrend(ppImageOptions *options, pmConfig *config);
    2118
    2219// Loop over the input
    23 bool ppImageLoop(ppImageData *data, ppImageOptions *options, pmConfig *config);
     20bool ppImageLoop(ppImageOptions *options, pmConfig *config);
    2421
    25 // Load the pixels for the given file
    26 bool ppImageLoadPixels(ppFile *input,   // File for which to load the pixels
    27                        psDB *db,        // Database handle (for reading concepts)
    28                        int nChip,       // Chip number to load
    29                        int nCell        // Cell number to load
    30                        );
     22// perform the detrend analysis on the current readout
     23bool ppImageDetrendReadout (ppImageOptions *options, pmConfig *config, pmFPAview *view);
    3124
    32 bool ppImageParseDetrend(ppImageData *data, ppImageOptions *options, pmConfig *config);
     25bool ppImageDetrendBias(pmReadout *inputReadout, pmReadout *bias, pmReadout *dark, ppImageOptions *options);
     26bool ppImageDetrendMask(pmReadout *input, pmReadout *mask);
    3327
    34 bool ppReadoutWeights(pmReadout *readout);
    35 
    36 #if 0
    37 // These functions are not implemented, or not needed
    38 pmReadout* ppDetrendPedestal(pmReadout *pedestal, pmCell *input, pmReadout *bias, pmReadout *dark, float darkTime, ppImageOptions *options);
    39 bool ppImageOutput(ppImageData *data, pmConfig *config);
    40 bool ppImagePhot(ppImageData *data, ppImageOptions *options, pmConfig *config);
    41 bool ppFileOpen(ppFile *fpa, char *name, bool doThis);
    42 #endif
     28bool ppImageDetrendNonLinear(pmReadout *input, ppImageOptions *options);
     29bool ppImageDetrendNonLinearLookup(pmReadout *input, psMetadataItem *dataItem);
     30bool ppImageDetrendNonLinearPolynomial(pmReadout *input, psMetadataItem *dataItem);
    4331
    4432#endif // Pau.
Note: See TracChangeset for help on using the changeset viewer.