Changeset 6900 for trunk/psphot/src/psphotFakeSources.c
- Timestamp:
- Apr 18, 2006, 9:01:19 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotFakeSources.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotFakeSources.c
r6715 r6900 1 1 # 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 # endif20 2 21 3 psArray *psphotFakeSources () {
Note:
See TracChangeset
for help on using the changeset viewer.
