Changeset 32348 for trunk/psphot/src/psphotStackOptions.c
- Timestamp:
- Sep 6, 2011, 1:32:31 PM (15 years ago)
- Location:
- trunk/psphot
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot
-
trunk/psphot/src
- Property svn:ignore
-
old new 22 22 psphotMakePSF 23 23 psphotStack 24 psphotModelTest
-
- Property svn:ignore
-
trunk/psphot/src/psphotStackOptions.c
r28160 r32348 19 19 psFree (options->norm); 20 20 psFree (options->matchChi2); 21 psFree (options-> weightings);21 psFree (options->targetSeeing); 22 22 23 23 return; … … 36 36 options->convolve = false; 37 37 options->convolveSource = PSPHOT_CNV_SRC_NONE; 38 options->targetSeeing = N AN;38 options->targetSeeing = NULL; 39 39 40 40 options->psfs = psArrayAlloc(num); … … 47 47 options->norm = psVectorAlloc(num, PS_TYPE_F32); 48 48 options->matchChi2 = psVectorAlloc(num, PS_TYPE_F32); // chi^2 for stamps when matching 49 options->weightings = psVectorAlloc(num, PS_TYPE_F32); // Combination weightings for images (1/noise^2)50 49 51 50 psVectorInit(options->inputMask, 0); … … 53 52 psVectorInit(options->norm, NAN); 54 53 psVectorInit(options->matchChi2, NAN); 55 psVectorInit(options->weightings, NAN);56 54 57 55 return options;
Note:
See TracChangeset
for help on using the changeset viewer.
