Changeset 15694 for trunk/Ohana/src/relastro/src/UpdateObjects.c
- Timestamp:
- Nov 26, 2007, 4:36:14 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/relastro/src/UpdateObjects.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/relastro/src/UpdateObjects.c
r15600 r15694 47 47 int mode, Nave, Npm, Npar, Nskip; 48 48 double Tmin, Tmax; 49 float errorScale; 50 PhotCode *code; 49 51 50 52 initObjectData (catalog, Ncatalog); … … 96 98 /* the astrometric errors are not being carried yet (but should be!) */ 97 99 /* we use the photometric mag error as a weighting term */ 98 dR[N] = MAX (catalog[i].measure[m].dM, MIN_ERROR); 99 dD[N] = MAX (catalog[i].measure[m].dM, MIN_ERROR); 100 101 code = GetPhotcodebyCode (catalog[0].measure[m].photcode); 102 errorScale = code[0].astromScale; 103 dR[N] = MAX (catalog[i].measure[m].dM, MIN_ERROR) * errorScale; 104 dD[N] = MAX (catalog[i].measure[m].dM, MIN_ERROR) * errorScale; 100 105 dT[N] = catalog[i].measure[m].dt; 101 106
Note:
See TracChangeset
for help on using the changeset viewer.
