Changeset 21493
- Timestamp:
- Feb 15, 2009, 11:11:36 AM (17 years ago)
- Location:
- branches/eam_branch_20090208/Ohana/src
- Files:
-
- 13 edited
-
addstar/src/ReadStarsFITS.c (modified) (1 diff)
-
addstar/src/find_matches.c (modified) (2 diffs)
-
addstar/src/find_matches_closest.c (modified) (2 diffs)
-
addstar/src/find_matches_refstars.c (modified) (2 diffs)
-
libautocode/def/measure-ps1-v1.d (modified) (2 diffs)
-
libautocode/def/measure.d (modified) (2 diffs)
-
libdvo/src/dvo_convert_PS1_DEV_1.c (modified) (1 diff)
-
libdvo/src/dvo_convert_PS1_DEV_2.c (modified) (1 diff)
-
libdvo/src/dvo_convert_PS1_V1.c (modified) (2 diffs)
-
libdvo/src/dvo_convert_elixir.c (modified) (1 diff)
-
libdvo/src/dvo_convert_loneos.c (modified) (1 diff)
-
libdvo/src/dvo_convert_panstarrs_DEV_0.c (modified) (1 diff)
-
libdvo/src/dvo_convert_panstarrs_DEV_1.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20090208/Ohana/src/addstar/src/ReadStarsFITS.c
r21491 r21493 210 210 stars[i].measure.dM = ps1data[i].dM; 211 211 stars[i].measure.dMcal = ps1data[i].dMcal; 212 stars[i].measure.Map = ps1data[i].Map ;212 stars[i].measure.Map = ps1data[i].Map + ZeroPt; 213 213 214 214 stars[i].measure.Sky = ps1data[i].sky; -
branches/eam_branch_20090208/Ohana/src/addstar/src/find_matches.c
r21444 r21493 156 156 catalog[0].measure[Nmeas].dbFlags = 0; 157 157 catalog[0].measure[Nmeas].averef = n; // this must be an absolute sequence number, if partial average is loaded 158 catalog[0].measure[Nmeas].objID = catalog[0].average[n].objID; 159 catalog[0].measure[Nmeas].catID = catalog[0].catID; 158 160 159 161 // rationalize dR: … … 289 291 catalog[0].measure[Nmeas].dbFlags = 0; 290 292 catalog[0].measure[Nmeas].averef = Nave; // XXX EAM : must be absolute Nave if partial read 293 catalog[0].measure[Nmeas].objID = catalog[0].average[Nave].objID; 294 catalog[0].measure[Nmeas].catID = catalog[0].catID; 291 295 292 296 /* set the average magnitude if not already set and the photcode.equiv is not 0 */ -
branches/eam_branch_20090208/Ohana/src/addstar/src/find_matches_closest.c
r21444 r21493 173 173 catalog[0].measure[Nmeas].dbFlags = 0; 174 174 catalog[0].measure[Nmeas].averef = n; 175 catalog[0].measure[Nmeas].objID = catalog[0].average[n].objID; 176 catalog[0].measure[Nmeas].catID = catalog[0].catID; 175 177 176 178 // rationalize dR … … 287 289 catalog[0].measure[Nmeas].dbFlags = 0; 288 290 catalog[0].measure[Nmeas].averef = Nave; 291 catalog[0].measure[Nmeas].objID = catalog[0].average[Nave].objID; 292 catalog[0].measure[Nmeas].catID = catalog[0].catID; 289 293 290 294 /* set the average magnitude if not already set and the photcode.equiv is not 0 */ -
branches/eam_branch_20090208/Ohana/src/addstar/src/find_matches_refstars.c
r21444 r21493 165 165 catalog[0].measure[Nmeas].averef = n; 166 166 catalog[0].measure[Nmeas].dbFlags = 0; 167 catalog[0].measure[Nmeas].objID = catalog[0].average[n].objID; 168 catalog[0].measure[Nmeas].catID = catalog[0].catID; 167 169 168 170 catalog[0].measure[Nmeas].t = (TIMEREF == 0) ? stars[N][0].measure.t : TIMEREF; /** careful : time_t vs e_time **/ … … 289 291 catalog[0].measure[Nmeas].dbFlags = 0; 290 292 catalog[0].measure[Nmeas].averef = Nave; 293 catalog[0].measure[Nmeas].objID = catalog[0].average[Nave].objID; 294 catalog[0].measure[Nmeas].catID = catalog[0].catID; 291 295 292 296 stars[N][0].found = Nmeas; -
branches/eam_branch_20090208/Ohana/src/libautocode/def/measure-ps1-v1.d
r21491 r21493 29 29 FIELD averef, AVE_REF, unsigned int, reference to average entry 30 30 31 # Pan-STARRS uses a 64-bit detection ID. keep this in two 32 bit ints for backwards compatibility?31 # internally, this is an unsigned int; however, we do NOT convert with TZERO/TSCAL on output 32 32 FIELD detID, DET_ID, unsigned int, detection ID 33 33 FIELD imageID, IMAGE_ID, unsigned int, reference to DVO image ID 34 FIELD objID, OBJ_ID, unsigned int, unique ID for object in table 35 FIELD catID, CAT_ID, unsigned int, unique ID for table in which object was first realized 34 36 37 # PSPS uses a 64-bit detection ID 35 38 FIELD extID, EXT_ID, uint64_t, external ID (eg PSPS detID) 36 39 … … 60 63 FIELD dXccd, X_CCD_ERR, short, X coord error on chip, 1/100 of pixels 61 64 FIELD dYccd, Y_CCD_ERR, short, Y coord error on chip, 1/100 of pixels 65 66 FIELD pad, PAD, char[6], padding 67 68 # local astrometry scales 62 69 FIELD posangle, POSANGLE, short, position angle sky to chip, (0xffff/360) deg 63 FIELD pad1, PAD1, char[2], padding64 70 FIELD pltscale, PLTSCALE, float, plate scale, arcsec/pixel 65 71 66 FIELD pad2, PAD2, char[4], padding 67 FIELD dbFlags, DB_FLAGS, uint64_t, flags supplied by analysis in database 68 FIELD photFlags, PHOT_FLAGS, uint64_t, flags supplied by photometry program 72 FIELD dbFlags, DB_FLAGS, unsigned int, flags supplied by analysis in database 73 FIELD photFlags, PHOT_FLAGS, unsigned int, flags supplied by photometry program 69 74 70 75 -
branches/eam_branch_20090208/Ohana/src/libautocode/def/measure.d
r21444 r21493 30 30 FIELD averef, AVE_REF, unsigned int, reference to average entry 31 31 32 # Pan-STARRS uses a 64-bit detection ID. keep this in two 32 bit ints for backwards compatibility?33 32 FIELD detID, DET_ID, unsigned int, detection ID 34 33 FIELD imageID, IMAGE_ID, unsigned int, reference to DVO image ID 34 FIELD objID, OBJ_ID, unsigned int, unique ID for object in table 35 FIELD catID, CAT_ID, unsigned int, unique ID for table in which object was first realized 36 37 # PSPS uses a 64-bit detection ID 35 38 FIELD extID, EXT_ID, uint64_t, external ID (eg PSPS detID) 36 39 … … 56 59 FIELD dXccd, X_CCD_ERR, short, X coord error on chip, 1/100 of pixels 57 60 FIELD dYccd, Y_CCD_ERR, short, Y coord error on chip, 1/100 of pixels 61 58 62 FIELD posangle, POSANGLE, short, position angle sky to chip, (0xffff/360) deg 59 63 FIELD pltscale, PLTSCALE, float, plate scale, arcsec/pixel 60 64 61 65 FIELD photcode, PHOTCODE, unsigned short, photcode 62 FIELD dbFlags, DB_FLAGS, u int64_t,flags supplied by analysis in database63 FIELD photFlags, PHOT_FLAGS, u int64_t,flags supplied by photometry program66 FIELD dbFlags, DB_FLAGS, unsigned int, flags supplied by analysis in database 67 FIELD photFlags, PHOT_FLAGS, unsigned int, flags supplied by photometry program 64 68 65 69 # *** 20090206 : new fields : t_msec, extID, Mxx, Mxy, Myy, posangle, -
branches/eam_branch_20090208/Ohana/src/libdvo/src/dvo_convert_PS1_DEV_1.c
r21444 r21493 48 48 out[i].t_msec = 0; 49 49 out[i].extID = 0; 50 out[i].objID = 0; 51 out[i].catID = 0; 50 52 out[i].Mxx = 0.0; 51 53 out[i].Mxy = 0.0; -
branches/eam_branch_20090208/Ohana/src/libdvo/src/dvo_convert_PS1_DEV_2.c
r21444 r21493 45 45 out[i].t_msec = 0; 46 46 out[i].extID = 0; 47 out[i].objID = 0; 48 out[i].catID = 0; 47 49 out[i].Mxx = 0.0; 48 50 out[i].Mxy = 0.0; -
branches/eam_branch_20090208/Ohana/src/libdvo/src/dvo_convert_PS1_V1.c
r21444 r21493 30 30 out[i].detID = in[i].detID; 31 31 out[i].imageID = in[i].imageID; 32 out[i].objID = in[i].objID; 33 out[i].catID = in[i].catID; 32 34 out[i].extID = in[i].extID; 33 35 out[i].psfQual = in[i].psfQual; … … 81 83 out[i].detID = in[i].detID; 82 84 out[i].imageID = in[i].imageID; 85 out[i].objID = in[i].objID; 86 out[i].catID = in[i].catID; 83 87 out[i].extID = in[i].extID; 84 88 out[i].psfQual = in[i].psfQual; -
branches/eam_branch_20090208/Ohana/src/libdvo/src/dvo_convert_elixir.c
r21444 r21493 55 55 out[i].t_msec = 0; 56 56 out[i].extID = 0; 57 out[i].objID = 0; 58 out[i].catID = 0; 57 59 out[i].Mxx = 0.0; 58 60 out[i].Mxy = 0.0; -
branches/eam_branch_20090208/Ohana/src/libdvo/src/dvo_convert_loneos.c
r21444 r21493 57 57 out[i].t_msec = 0; 58 58 out[i].extID = 0; 59 out[i].objID = 0; 60 out[i].catID = 0; 59 61 out[i].Mxx = 0.0; 60 62 out[i].Mxy = 0.0; -
branches/eam_branch_20090208/Ohana/src/libdvo/src/dvo_convert_panstarrs_DEV_0.c
r21444 r21493 52 52 out[i].t_msec = 0; 53 53 out[i].extID = 0; 54 out[i].objID = 0; 55 out[i].catID = 0; 54 56 out[i].Mxx = 0.0; 55 57 out[i].Mxy = 0.0; -
branches/eam_branch_20090208/Ohana/src/libdvo/src/dvo_convert_panstarrs_DEV_1.c
r21444 r21493 52 52 out[i].t_msec = 0; 53 53 out[i].extID = 0; 54 out[i].objID = 0; 55 out[i].catID = 0; 54 56 out[i].Mxx = 0.0; 55 57 out[i].Mxy = 0.0;
Note:
See TracChangeset
for help on using the changeset viewer.
