Changeset 15038 for trunk/Ohana/src/libautocode
- Timestamp:
- Sep 26, 2007, 5:34:27 PM (19 years ago)
- Location:
- trunk/Ohana/src/libautocode/def
- Files:
-
- 8 edited
-
AddstarClientOptions.d (modified) (2 diffs)
-
Stars.d (modified) (2 diffs)
-
autocode.c (modified) (2 diffs)
-
image-ps1-dev-1.d (modified) (1 diff)
-
image.d (modified) (1 diff)
-
measure-ps1-dev-1.d (modified) (3 diffs)
-
measure.d (modified) (3 diffs)
-
ps1_dev_1.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/libautocode/def/AddstarClientOptions.d
r5345 r15038 2 2 EXTNAME OPTIONS 3 3 TYPE BINTABLE 4 SIZE 7 24 SIZE 76 5 5 6 6 FIELD Nsigma, NSIGMA, double, match radius in terms of astrometric error … … 20 20 FIELD photcode, PHOTCODE, int, photocode of input data 21 21 FIELD timeref, TIMEREF, e_time, time/date of input data (REFLIST only?) 22 FIELD imageID, IMAGE_ID, unsigned int, reference to image -
trunk/Ohana/src/libautocode/def/Stars.d
r15034 r15038 2 2 EXTNAME STARS 3 3 TYPE BINTABLE 4 SIZE 24 04 SIZE 244 5 5 6 6 FIELD X, X, double, x coordinate on image, pixels … … 38 38 FIELD Mcal, MCAL, float, image cal mag, mag 39 39 FIELD airmass, AIRMASS, float, (airmass - 1), airmass 40 FIELD az, AZ, float, azimuth 40 41 FIELD code, CODE, short 41 42 FIELD nFrames, N_FRAMES, short 43 FIELD flags, FLAGS, short 42 44 FIELD dophot, DOPHOT, char, dophot type code 43 FIELD dummy, DUMMY, char [3]45 FIELD dummy, DUMMY, char 44 46 45 47 # XXX I'm going to need azimuth (or load from image header?) -
trunk/Ohana/src/libautocode/def/autocode.c
r7080 r15038 36 36 if ((swapped == NULL) || (*swapped == FALSE)) { 37 37 gfits_convert_$STRUCT (data, sizeof ($STRUCT), *Ndata); 38 gfits_table_scale_data (ftable); 38 39 if (swapped != NULL) *swapped = TRUE; 39 40 } … … 57 58 58 59 /* add data values */ 60 gfits_table_scale_data (ftable); 59 61 gfits_convert_$STRUCT (data, sizeof ($STRUCT), Ndata); 60 62 gfits_add_rows (ftable, (char *) data, Ndata, sizeof ($STRUCT)); -
trunk/Ohana/src/libautocode/def/image-ps1-dev-1.d
r15034 r15038 48 48 FIELD code, CODE, char, image quality flag 49 49 FIELD ccdnum, CCDNUM, unsigned char, CCD ID number 50 FIELD imageID_hi, IMAGE_ID_HI, unsigned int, ID upper bytes 51 FIELD imageID_lo, IMAGE_ID_LO, unsigned int, ID lower bytes 52 # 48 bytes 50 FIELD imageID, IMAGE_ID, unsigned int, image ID 51 # 44 bytes 53 52 54 FIELD dummy, DUMMY, char[1 0], unused53 FIELD dummy, DUMMY, char[14], unused 55 54 FIELD order, ORDER, short, Mrel 2D polynomical order 56 55 FIELD Mx, MX, short, Mrel polyterm -
trunk/Ohana/src/libautocode/def/image.d
r13884 r15038 48 48 FIELD code, CODE, char, image quality flag 49 49 FIELD ccdnum, CCDNUM, unsigned char, CCD ID number 50 FIELD imageID_hi, IMAGE_ID_HI, unsigned int, ID upper bytes 51 FIELD imageID_lo, IMAGE_ID_LO, unsigned int, ID lower bytes 50 FIELD imageID, IMAGE_ID, unsigned int, image ID 52 51 # 48 bytes 53 52 54 FIELD dummy, DUMMY, char[1 0], unused53 FIELD dummy, DUMMY, char[14], unused 55 54 FIELD order, ORDER, short, Mrel 2D polynomical order 56 55 FIELD Mx, MX, short, Mrel polyterm -
trunk/Ohana/src/libautocode/def/measure-ps1-dev-1.d
r15034 r15038 2 2 EXTNAME DVO_MEASURE_PS1_DEV_1 3 3 TYPE BINTABLE 4 SIZE 964 SIZE 104 5 5 DESCRIPTION DVO Detection Measurement Table 6 6 … … 8 8 FIELD dD, D_DEC, float, DEC offset, arcsec 9 9 FIELD M, MAG, float, catalog mag, mag 10 FIELD Mcal, M cal,float, image cal mag, mag11 FIELD Mgal, M gal,float, galaxy mag, mag12 FIELD dM, dM,float, mag error, mag13 FIELD dt, dt,float, exposure time, 2.5*log(exptime)10 FIELD Mcal, M_CAL, float, image cal mag, mag 11 FIELD Mgal, M_GAL, float, galaxy mag, mag 12 FIELD dM, MAG_ERR, float, mag error, mag 13 FIELD dt, M_TIME, float, exposure time, 2.5*log(exptime) 14 14 15 15 # note that with airmass = 1.0 / cos(90 - alt), we have full alt/az representation 16 FIELD airmass, airmass, float, (airmass - 1), airmass16 FIELD airmass, AIRMASS, float, (airmass - 1), airmass 17 17 FIELD az, AZ, float, telescope azimuth 18 18 … … 25 25 FIELD dSky, SKY_FLUX_ERR, float, local estimate of sky flux, counts/sec 26 26 27 FIELD t, t,unsigned int, time in seconds (UNIX)28 FIELD averef, averef,unsigned int, reference to average entry27 FIELD t, TIME, unsigned int, time in seconds (UNIX) 28 FIELD averef, AVE_REF, unsigned int, reference to average entry 29 29 30 30 # Pan-STARRS uses a 64-bit detection ID. keep this in two 32 bit ints for backwards compatibility? 31 FIELD detID _hi, DET_ID_HI,unsigned int, ID upper bytes32 FIELD detID_lo, DET_ID_LO, unsigned int, ID lower bytes31 FIELD detID, DET_ID, unsigned int, ID upper bytes 32 FIELD imageID, IMAGE_ID, unsigned int, reference to image 33 33 34 FIELD imageID_hi, IMAGE_ID_HI, unsigned int, reference to image 35 FIELD imageID_lo, IMAGE_ID_LO, unsigned int, reference to image 34 # do we need more resolution than a short? should this be a log? 35 FIELD qPSF, PSF_QF, float, psf coverage/quality factor 36 FIELD psfProb, PSF_PROB, float, psf coverage/quality factor 37 FIELD crNsigma, CR_NSIGMA, float, psf coverage/quality factor 38 FIELD extNsigma, EXT_NSIGMA, float, psf coverage/quality factor 36 39 37 FIELD FWx, FWx, short, object fwhm major axis, 1/100 of arcsec 38 FIELD FWy, FWy, short, object fwhm minor axis, 1/100 of arcsec 39 FIELD theta, theta, short, angle wrt ccd X dir, (0xffff/360) deg 40 FIELD photcode, photcode, unsigned short, photcode 41 42 FIELD flags, flags, unsigned short, flags for various uses 40 FIELD FWx, FWHM_MAJOR, short, object fwhm major axis, 1/100 of arcsec 41 FIELD FWy, FWHM_MINOR, short, object fwhm minor axis, 1/100 of arcsec 42 FIELD theta, PSF_THETA, short, angle wrt ccd X dir, (0xffff/360) deg 43 FIELD photcode, PHOTCODE, unsigned short, photcode 43 44 44 45 FIELD dXccd, X_CCD_ERR, short, X coord error on chip, pixels 45 46 FIELD dYccd, Y_CCD_ERR, short, Y coord error on chip, pixels 46 47 47 # do we need more resolution than a short? should this be a log? 48 FIELD qPSF, PSF_QF, short, psf coverage/quality factor48 FIELD dbFlags, DB_FLAGS, unsigned short, flags for various uses 49 FIELD photFlags, PHOT_FLAGS, unsigned short, flags supplied by photometry program 49 50 50 FIELD dophot, dophot, char, dophot type 51 FIELD stargal, stargal, char, star-galaxy separator 51 FIELD stargal, STAR_GAL, char, star-galaxy separator 52 52 53 # we need extra bytes for padding purposes...54 FIELD d ummy, dummy, char[2], padding53 # absorb these into photFlags? 54 FIELD dophot, DOPHOT, char, dophot type 55 55 56 # float : 13 x 4 = 52 56 FIELD dummy, DUMMY, char[2], padding 57 58 # float : 17 x 4 = 68 57 59 # int: 6 x 4 = 24 58 60 # short: 8 x 2 = 16 -
trunk/Ohana/src/libautocode/def/measure.d
r12332 r15038 2 2 EXTNAME DVO_MEASURE 3 3 TYPE BINTABLE 4 SIZE 964 SIZE 104 5 5 DESCRIPTION DVO Detection Measurement Table 6 6 … … 11 11 FIELD Mgal, Mgal, float, galaxy mag, mag 12 12 FIELD dM, dM, float, mag error, mag 13 FIELD airmass, airmass, float, (airmass - 1), airmass14 13 FIELD dt, dt, float, exposure time, 2.5*log(exptime) 15 14 16 FIELD t, t, unsigned int, time in seconds (UNIX) 17 FIELD averef, averef, unsigned int, reference to average entry 18 19 FIELD FWx, FWx, short, object fwhm major axis, 1/100 of arcsec 20 FIELD FWy, FWy, short, object fwhm minor axis, 1/100 of arcsec 21 FIELD theta, theta, short, angle wrt ccd X dir, (0xffff/360) deg 22 FIELD photcode, photcode, unsigned short, photcode 23 24 FIELD flags, flags, unsigned short, flags for various uses 25 FIELD dophot, dophot, char, dophot type 26 FIELD stargal, stargal, char, star-galaxy separator 15 # note that with airmass = 1.0 / cos(90 - alt), we have full alt/az representation 16 FIELD airmass, airmass, float, (airmass - 1), airmass 17 FIELD az, AZ, float, telescope azimuth 27 18 28 19 # new field elements needed for Pan-STARRS: … … 34 25 FIELD dSky, SKY_FLUX_ERR, float, local estimate of sky flux, counts/sec 35 26 27 FIELD t, t, unsigned int, time in seconds (UNIX) 28 FIELD averef, averef, unsigned int, reference to average entry 29 30 # Pan-STARRS uses a 64-bit detection ID. keep this in two 32 bit ints for backwards compatibility? 31 FIELD detID, DET_ID, unsigned int, detection ID 32 FIELD imageID, IMAGE_ID, unsigned int, reference to image 33 34 # do we need more resolution than a short? should this be a log? 35 FIELD qPSF, PSF_QF, float, psf coverage/quality factor 36 FIELD psfProb, PSF_PROB, float, psf coverage/quality factor 37 FIELD crNsigma, CR_NSIGMA, float, psf coverage/quality factor 38 FIELD extNsigma, EXT_NSIGMA, float, psf coverage/quality factor 39 40 FIELD FWx, FWx, short, object fwhm major axis, 1/100 of arcsec 41 FIELD FWy, FWy, short, object fwhm minor axis, 1/100 of arcsec 42 FIELD theta, theta, short, angle wrt ccd X dir, (0xffff/360) deg 43 FIELD photcode, photcode, unsigned short, photcode 44 36 45 FIELD dXccd, X_CCD_ERR, short, X coord error on chip, pixels 37 46 FIELD dYccd, Y_CCD_ERR, short, Y coord error on chip, pixels 38 47 39 # do we need more resolution than a short? should this be a log? 40 FIELD qPSF, PSF_QF, short, psf coverage/quality factor48 FIELD dbFlags, DB_FLAGS, unsigned short, flags for various uses 49 FIELD photFlags, PHOT_FLAGS, unsigned short, flags supplied by photometry program 41 50 42 # Pan-STARRS uses a 64-bit detection ID. keep this in two 32 bit ints for backwards compatibility? 43 FIELD detID_hi, DET_ID_HI, unsigned int, ID upper bytes 44 FIELD detID_lo, DET_ID_LO, unsigned int, ID lower bytes 51 FIELD stargal, stargal, char, star-galaxy separator 45 52 46 FIELD imageID_hi, IMAGE_ID_HI, unsigned int, reference to image 47 FIELD imageID_lo, IMAGE_ID_LO, unsigned int, reference to image53 # absorb these into photFlags? 54 FIELD dophot, dophot, char, dophot type 48 55 49 # note that with airmass = 1.0 / cos(90 - alt), we have full alt/az representation 50 FIELD az, AZ, float, telescope azimuth 51 52 # we need extra bytes for padding purposes... 53 FIELD dummy, dummy, char[2], padding 56 FIELD dummy, DUMMY, char[2], padding -
trunk/Ohana/src/libautocode/def/ps1_dev_1.d
r15034 r15038 24 24 FIELD psfQual, PSF_QF, float, quality factor 25 25 FIELD nFrames, N_FRAMES, short, images overlapping peak 26 FIELD dummy, DUMMY, short, padding26 FIELD flags, FLAGS, short, padding
Note:
See TracChangeset
for help on using the changeset viewer.
