Changeset 19948
- Timestamp:
- Oct 7, 2008, 10:06:25 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmSourceIO_PS1_DEV_1.c
r19904 r19948 3 3 * @author EAM, IfA 4 4 * 5 * @version $Revision: 1.1 1$ $Name: not supported by cvs2svn $6 * @date $Date: 2008-10-0 6 13:02:43$5 * @version $Revision: 1.12 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2008-10-07 20:06:25 $ 7 7 * 8 8 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 61 61 psF32 xPos, yPos; 62 62 psF32 xErr, yErr; 63 psF32 errMag ;63 psF32 errMag, chisq; 64 64 65 65 // let's write these out in S/N order … … 84 84 yErr = dPAR[PM_PAR_YPOS]; 85 85 axes = pmPSF_ModelToAxes (PAR, 20.0); 86 chisq = model->chisq; 86 87 87 88 // need to determine the PSF photometry error: source->errMag is the error on the 'best' model mag. … … 95 96 axes.minor = NAN; 96 97 axes.theta = NAN; 98 chisq = NAN; 97 99 errMag = NAN; 98 100 } … … 114 116 psMetadataAdd (row, PS_LIST_TAIL, "SKY_SIGMA", PS_DATA_F32, "Sigma of sky level", source->skyErr); 115 117 116 psMetadataAdd (row, PS_LIST_TAIL, "PSF_CHISQ", PS_DATA_F32, "Chisq of PSF-fit", model->chisq);118 psMetadataAdd (row, PS_LIST_TAIL, "PSF_CHISQ", PS_DATA_F32, "Chisq of PSF-fit", chisq); 117 119 psMetadataAdd (row, PS_LIST_TAIL, "CR_NSIGMA", PS_DATA_F32, "Nsigma deviations from PSF to CF", source->crNsigma); 118 120 psMetadataAdd (row, PS_LIST_TAIL, "EXT_NSIGMA", PS_DATA_F32, "Nsigma deviations from PSF to EXT", source->extNsigma);
Note:
See TracChangeset
for help on using the changeset viewer.
