IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 23, 2007, 2:52:55 PM (19 years ago)
Author:
eugene
Message:

finish code re-org, add loading of external psf model

File:
1 edited

Legend:

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

    r14463 r14657  
    7272
    7373/// Loop over the output file, generating simulated data
    74 psExit ppSimLoop(pmConfig *config ///< Configuration
     74bool ppSimLoop(pmConfig *config ///< Configuration
    7575                 );
    7676
     
    8989
    9090psVector *ppSimMakeBiassec (pmCell *cell, pmConfig *config);
    91 psVector *ppSimMakeBias (psImage *signal, psImage *variance, pmCell *cell, pmConfig *config, const psRandom *rng) ;
    92 bool ppSimMakeDark (psImage *signal, psImage *variance, pmConfig *config);
    93 bool ppSimMakeSky (psImage *signal, psImage *variance, psImage *expCorr, ppSimType type, pmConfig *config, pmFPA *fpa, pmChip *chip, pmCell *cell);
     91psVector *ppSimMakeBias (pmReadout *readout, pmConfig *config, const psRandom *rng) ;
     92bool ppSimMakeDark (pmReadout *readout, pmConfig *config);
     93bool ppSimMakeSky (pmReadout *readout, psImage *expCorr, ppSimType type, pmConfig *config);
    9494bool ppSimInsertStars (psImage *signal, psImage *variance, psImage *expCorr, psArray *stars, pmConfig *config, pmChip *chip, pmCell *cell);
     95bool ppSimInsertSources (pmReadout *readout, psImage *expCorr, psArray *stars, pmConfig *config);
    9596
    9697bool ppSimInitHeader(pmConfig *config,
     
    99100                     pmCell *cell);
    100101
    101 bool ppSimSaturate(psImage *image,      // Image to apply saturation
    102                    const pmConfig *config,                     
    103                    const pmCell *cell); // Saturation level
     102bool ppSimSaturate(pmReadout *readout,  // Image to apply saturation
     103                   const pmConfig *config); // Saturation level
    104104
    105105bool ppSimUpdateConceptsFPA (pmFPA *fpa, pmConfig *config);
     
    108108bool ppSimAddOverscan (pmReadout *readout, pmConfig *config, psVector *biasCols, psVector *biasRows, psRandom *rng);
    109109
    110 psImage *ppSimAddNoise(psImage *signal, // Signal image, modified and returned
    111                        const psImage *variance, // Variance image
    112                        const pmConfig *config,                 
    113                        const pmCell *cell,
    114                        const psRandom *rng // Random number generator
    115                        );
     110bool ppSimAddNoise(psImage *signal,
     111                   psImage *variance,
     112                   const pmCell *cell,                 
     113                   const pmConfig *config,                     
     114                   const psRandom *rng // Random number generator
     115    );
     116
     117bool ppSimSetPSF (pmChip *chip, pmConfig *config);
    116118
    117119#endif
Note: See TracChangeset for help on using the changeset viewer.