IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 18, 2006, 9:01:19 PM (20 years ago)
Author:
eugene
Message:

mods to fix mask issues, negative-radius errors, simpsons formula for integral

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotFakeSources.c

    r6715 r6900  
    11# include "psphot.h"
    2 
    3 # if (0)
    4 psArray *psphotFakeSources () {
    5 
    6     // psphotUpdateHeader (header, config);
    7 
    8     psArray *sources = psArrayAlloc (50);
    9 
    10     for (int i = 0; i < sources->n; i++) {
    11         pmSource *source = pmSourceAlloc ();
    12         modelType = pmModelSetType ("PS_MODEL_QGAUSS");
    13         source->modelPSF = pmSourceModelGuess (source, modelType);
    14         source->peak = pmPeakAlloc (10, 10, 0, 0);
    15         sources->data[i] = source;
    16     }
    17     return sources;
    18 }
    19 # endif
    202
    213psArray *psphotFakeSources () {
Note: See TracChangeset for help on using the changeset viewer.