Changeset 24974
- Timestamp:
- Aug 2, 2009, 4:27:43 PM (17 years ago)
- Location:
- trunk/Ohana/src
- Files:
-
- 5 edited
-
libdvo/include/dvo.h (modified) (1 diff)
-
libdvo/src/dvo_photcode_ops.c (modified) (1 diff)
-
opihi/dvo/dbExtractMeasures.c (modified) (1 diff)
-
opihi/dvo/dbFields.c (modified) (1 diff)
-
opihi/include/dvoshell.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/libdvo/include/dvo.h
r24748 r24974 311 311 float PhotInst (Measure *measure); 312 312 float PhotCat (Measure *measure); 313 float PhotAper (Measure *measure); 313 314 float PhotSys (Measure *measure, Average *average, SecFilt *secfilt); 314 315 float PhotRel (Measure *measure, Average *average, SecFilt *secfilt); -
trunk/Ohana/src/libdvo/src/dvo_photcode_ops.c
r17253 r24974 249 249 code = &photcodes[0].code[Np]; 250 250 Mcat = measure[0].M - ZERO_POINT + code[0].K*(measure[0].airmass - 1.000) + SCALE*code[0].C; 251 252 return (Mcat); 253 } 254 255 float PhotAper (Measure *measure) { 256 257 int Np; 258 float Mcat; 259 PhotCode *code; 260 261 Np = photcodes[0].hashcode[measure[0].photcode]; 262 if (Np == -1) return (NAN); 263 264 if (photcodes[0].code[Np].type == PHOT_REF) { 265 Mcat = measure[0].Map; 266 return (Mcat); 267 } 268 code = &photcodes[0].code[Np]; 269 Mcat = measure[0].Map - ZERO_POINT + code[0].K*(measure[0].airmass - 1.000) + SCALE*code[0].C; 251 270 252 271 return (Mcat); -
trunk/Ohana/src/opihi/dvo/dbExtractMeasures.c
r21508 r24974 117 117 case MAG_REF: 118 118 value.Flt = PhotRef (equiv, average, secfilt, measure); 119 break; 120 case MAG_APER: 121 value.Flt = PhotAper (measure); 119 122 break; 120 123 case MAG_ERR: -
trunk/Ohana/src/opihi/dvo/dbFields.c
r21508 r24974 37 37 if (!strcasecmp (string, "ave")) return (MAG_AVE); 38 38 if (!strcasecmp (string, "ref")) return (MAG_REF); 39 if (!strcasecmp (string, "ap")) return (MAG_APER); 40 if (!strcasecmp (string, "aper")) return (MAG_APER); 39 41 if (!strcasecmp (string, "err")) return (MAG_ERR); 40 42 if (!strcasecmp (string, "photflags")) return (MAG_PHOT_FLAGS); -
trunk/Ohana/src/opihi/include/dvoshell.h
r21508 r24974 27 27 MAG_INST, 28 28 MAG_CAT, 29 MAG_APER, 29 30 MAG_SYS, 30 31 MAG_REL,
Note:
See TracChangeset
for help on using the changeset viewer.
