IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 25, 2007, 11:57:36 AM (19 years ago)
Author:
eugene
Message:

added galaxies, some tweaks

File:
1 edited

Legend:

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

    r14657 r14667  
    4848} ppSimStar;
    4949
     50typedef struct {
     51    double ra;
     52    double dec;
     53    float mag;
     54    float x;
     55    float y;
     56    float flux;
     57
     58    float peak;
     59    float Rmaj;
     60    float Rmin;
     61    float theta;
     62    float index;
     63} ppSimGalaxy;
    5064
    5165ppSimStar *ppSimStarAlloc ();
     66ppSimGalaxy *ppSimGalaxyAlloc ();
    5267
    5368/// Parse command-line arguments
     
    85100                     );
    86101
    87 psArray *ppSimLoadStars (pmFPA *fpa, pmConfig *config);
     102bool ppSimLoadStars (psArray *stars, pmFPA *fpa, pmConfig *config);
    88103bool ppSimMakeStars(psArray *stars, pmFPA *fpa, pmConfig *config, const psRandom *rng);
    89104
     
    117132bool ppSimSetPSF (pmChip *chip, pmConfig *config);
    118133
     134bool ppSimMakeGalaxies(psArray *galaxies, pmFPA *fpa, pmConfig *config, const psRandom *rng);
     135bool ppSimInsertGalaxies (pmReadout *readout, psImage *expCorr, psArray *galaxies, pmConfig *config);
     136
    119137#endif
Note: See TracChangeset for help on using the changeset viewer.