Changeset 12332 for trunk/Ohana/src/libautocode
- Timestamp:
- Mar 8, 2007, 12:21:18 PM (19 years ago)
- Location:
- trunk/Ohana/src/libautocode
- Files:
-
- 4 added
- 6 edited
-
Makefile.Targets (modified) (6 diffs)
-
def/average-panstarrs-dev-0.d (added)
-
def/average.d (modified) (3 diffs)
-
def/image-panstarrs-dev-0.d (added)
-
def/image.d (modified) (3 diffs)
-
def/measure-panstarrs-dev-0.d (added)
-
def/measure.d (modified) (1 diff)
-
def/photcode.d (modified) (2 diffs)
-
def/secfilt-panstarrs-dev-0.d (added)
-
def/secfilt.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/libautocode/Makefile.Targets
r10315 r12332 5 5 $(ASRC)/average-loneos.$(ARCH).o \ 6 6 $(ASRC)/average-elixir.$(ARCH).o \ 7 $(ASRC)/average-panstarrs-dev-0.$(ARCH).o \ 7 8 $(ASRC)/average-panstarrs.$(ARCH).o \ 8 9 $(ASRC)/average-pmtest.$(ARCH).o \ … … 10 11 $(ASRC)/secfilt-loneos.$(ARCH).o \ 11 12 $(ASRC)/secfilt-elixir.$(ARCH).o \ 13 $(ASRC)/secfilt-panstarrs-dev-0.$(ARCH).o \ 12 14 $(ASRC)/secfilt-panstarrs.$(ARCH).o \ 13 15 $(ASRC)/measure.$(ARCH).o \ 14 16 $(ASRC)/measure-loneos.$(ARCH).o \ 15 17 $(ASRC)/measure-elixir.$(ARCH).o \ 18 $(ASRC)/measure-panstarrs-dev-0.$(ARCH).o \ 16 19 $(ASRC)/measure-panstarrs.$(ARCH).o \ 17 20 $(ASRC)/missing.$(ARCH).o \ … … 20 23 $(ASRC)/image-loneos.$(ARCH).o \ 21 24 $(ASRC)/image-elixir.$(ARCH).o \ 25 $(ASRC)/image-panstarrs-dev-0.$(ARCH).o \ 22 26 $(ASRC)/image-panstarrs.$(ARCH).o \ 23 27 $(ASRC)/regimage.$(ARCH).o \ … … 38 42 $(AINC)/average-loneos.h \ 39 43 $(AINC)/average-elixir.h \ 44 $(AINC)/average-panstarrs-dev-0.h \ 40 45 $(AINC)/average-panstarrs.h \ 41 46 $(AINC)/average-pmtest.h \ … … 43 48 $(AINC)/secfilt-loneos.h \ 44 49 $(AINC)/secfilt-elixir.h \ 50 $(AINC)/secfilt-panstarrs-dev-0.h \ 45 51 $(AINC)/secfilt-panstarrs.h \ 46 52 $(AINC)/measure.h \ 47 53 $(AINC)/measure-loneos.h \ 48 54 $(AINC)/measure-elixir.h \ 55 $(AINC)/measure-panstarrs-dev-0.h \ 49 56 $(AINC)/measure-panstarrs.h \ 50 57 $(AINC)/missing.h \ … … 53 60 $(AINC)/image-loneos.h \ 54 61 $(AINC)/image-elixir.h \ 62 $(AINC)/image-panstarrs-dev-0.h \ 55 63 $(AINC)/image-panstarrs.h \ 56 64 $(AINC)/regimage.h \ -
trunk/Ohana/src/libautocode/def/average.d
r11742 r12332 2 2 EXTNAME DVO_AVERAGE 3 3 TYPE BINTABLE 4 SIZE 7 64 SIZE 72 5 5 DESCRIPTION DVO Average Object Table 6 6 … … 19 19 FIELD dP, PAR_ERR, float, parallax error, arcsec 20 20 21 FIELD M, MAG, float, primary mag, mag 22 FIELD dM, MAG_ERR, float, error on primary mag, mag 21 # XXX drop the old primary magnitude concept 22 # FIELD M, MAG, float, primary mag, mag 23 # FIELD dM, MAG_ERR, float, error on primary mag, mag 24 # FIELD Xm, CHISQ_MAG, short, chisq for primary mag, [100*log(value)] 25 # FIELD Xg, CHISQ_GAL, short, chisq for galaxy mags, [100*log(value)] 26 23 27 FIELD Xp, SIGMA_POS, short, position scatter, 1/100 arcsec 24 FIELD Xm, CHISQ_MAG, short, chisq for primary mag, [100*log(value)]25 FIELD Xg, CHISQ_GAL, short, chisq for galaxy mags, [100*log(value)]26 28 FIELD Nm, NMEAS, unsigned short, number of measures 27 29 FIELD Nn, NMISS, unsigned short, number of missings … … 30 32 FIELD missing, missing, int, offset to first missing obs 31 33 34 # Pan-STARRS uses a 64-bit detection ID. keep this in two 32 bit ints for backwards compatibility? 35 FIELD objID_hi, OBJ_ID_HI, unsigned int, ID upper bytes 36 FIELD objID_lo, OBJ_ID_LO, unsigned int, ID lower bytes 37 32 38 # this structure should only be used for internal representations 33 39 # the average-FORMAT structures should be used for external representations 34 40 # note that the average magnitudes are stored in the 'secfilt' table (change this name??) 35 41 # the index for the secfilt table is just Nsecfilt times the index for the average table. 42 43 # XXX after the rest of the DVO re-org work, remove the magnitude based values from this table 44 # and move them to the secfilt table. 45 46 # the DVO object IDs are generated internally and are not equivalent to the PSPS object IDs 47 # probably need to add position chisq 48 49 # XXX include the number of measurements used to determine the positional information? -
trunk/Ohana/src/libautocode/def/image.d
r6454 r12332 25 25 FIELD tzero, TZERO, e_time, readout time (row 0) 26 26 FIELD nstar, NSTAR, unsigned int, number of stars on image 27 FIELD secz _PS,SECZ, float, airmass, mag27 FIELD secz, SECZ, float, airmass, mag 28 28 FIELD NX, NX, short, image width 29 29 FIELD NY, NY, short, image height 30 FIELD apmifit _PS,APMIFIT, float, aperture correction, mag31 FIELD dapmifit _PS,DAPMIFIT, float, apmifit error, mag32 FIELD Mcal _PS,MCAL, float, calibration mag, mag33 FIELD dMcal _PS,DMCAL, float, error on Mcal, mag30 FIELD apmifit, APMIFIT, float, aperture correction, mag 31 FIELD dapmifit, DAPMIFIT, float, apmifit error, mag 32 FIELD Mcal, MCAL, float, calibration mag, mag 33 FIELD dMcal, DMCAL, float, error on Mcal, mag 34 34 FIELD Xm, XM, short, image chisq, 10*log(value) 35 FIELD source, SOURCE,short, identifier for CCD,35 FIELD photcode, PHOTCODE, short, identifier for CCD, 36 36 FIELD exptime, EXPTIME, float, exposure time, seconds 37 37 FIELD sidtime, ST, float, sidereal time of exposure … … 48 48 FIELD code, CODE, char, image quality flag 49 49 FIELD ccdnum, CCDNUM, unsigned char, CCD ID number 50 # 40 bytes 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 51 53 52 FIELD dummy, DUMMY, char[1 8], unused54 FIELD dummy, DUMMY, char[10], unused 53 55 FIELD order, ORDER, short, Mrel 2D polynomical order 54 56 FIELD Mx, MX, short, Mrel polyterm … … 66 68 FIELD Mxyyy, MXYYY, short, Mrel polyterm 67 69 FIELD Myyyy, MYYYY, short, Mrel polyterm 68 # 4 8bytes70 # 40 bytes -
trunk/Ohana/src/libautocode/def/measure.d
r6454 r12332 2 2 EXTNAME DVO_MEASURE 3 3 TYPE BINTABLE 4 SIZE 504 SIZE 96 5 5 DESCRIPTION DVO Detection Measurement Table 6 6 7 FIELD dR_PS, D_RA, float, RA offset, arcsec 8 FIELD dD_PS, D_DEC, float, DEC offset, arcsec 9 FIELD M_PS, MAG, float, catalog mag, mag 10 FIELD Mcal_PS, Mcal, float, image cal mag, mag 11 FIELD Mgal_PS, Mgal, float, galaxy mag, mag 12 FIELD dM_PS, dM, float, mag error, mag 13 FIELD airmass_PS, airmass, float, (airmass - 1), airmass 14 FIELD dt_PS, dt, float, exposure time, 2.5*log(exptime) 15 FIELD FWx, FWx, short, object fwhm major axis, 1/100 of arcsec 16 FIELD FWy, FWy, short, object fwhm minor axis, 1/100 of arcsec 17 FIELD theta, theta, unsigned char, angle wrt ccd X dir, (0xff/360) deg 18 FIELD dophot, dophot, char, dophot type 19 FIELD source, source, unsigned short, photcode 20 FIELD flags, flags, unsigned short, flags for various uses 21 FIELD t, t, unsigned int, time in seconds (UNIX) 22 FIELD averef, averef, unsigned int, reference to average entry 7 FIELD dR, D_RA, float, RA offset, arcsec 8 FIELD dD, D_DEC, float, DEC offset, arcsec 9 FIELD M, MAG, float, catalog mag, mag 10 FIELD Mcal, Mcal, float, image cal mag, mag 11 FIELD Mgal, Mgal, float, galaxy mag, mag 12 FIELD dM, dM, float, mag error, mag 13 FIELD airmass, airmass, float, (airmass - 1), airmass 14 FIELD dt, dt, float, exposure time, 2.5*log(exptime) 15 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 27 28 # new field elements needed for Pan-STARRS: 29 FIELD Xccd, X_CCD, float, X coord on chip, pixels 30 FIELD Yccd, Y_CCD, float, Y coord on chip, pixels 31 32 # could these be packed into fewer bits? 33 FIELD Sky, SKY_FLUX, float, local estimate of sky flux, counts/sec 34 FIELD dSky, SKY_FLUX_ERR, float, local estimate of sky flux, counts/sec 35 36 FIELD dXccd, X_CCD_ERR, short, X coord error on chip, pixels 37 FIELD dYccd, Y_CCD_ERR, short, Y coord error on chip, pixels 38 39 # do we need more resolution than a short? should this be a log? 40 FIELD qPSF, PSF_QF, short, psf coverage/quality factor 41 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 45 46 FIELD imageID_hi, IMAGE_ID_HI, unsigned int, reference to image 47 FIELD imageID_lo, IMAGE_ID_LO, unsigned int, reference to image 48 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 -
trunk/Ohana/src/libautocode/def/photcode.d
r6454 r12332 2 2 EXTNAME DVO_PHOTCODE 3 3 TYPE BINTABLE 4 SIZE 774 SIZE 80 5 5 DESCRIPTION DVO Photcode Description Table 6 6 … … 9 9 FIELD name, NAME, char[32], name for filter combination 10 10 FIELD type, TYPE, char, PRI/SEC/DEP/REF 11 FIELD dummy, DUMMY, char[3], padding 11 12 FIELD C, C_LAM, short, primary phot calibration terms (millimags) 12 13 FIELD dC, C_LAM_ERR, short, primary phot calibration terms (millimags) -
trunk/Ohana/src/libautocode/def/secfilt.d
r6454 r12332 2 2 EXTNAME DVO_SECFILT 3 3 TYPE BINTABLE 4 SIZE 1 24 SIZE 16 5 5 DESCRIPTION DVO SecFilt : Secondary Filter Data 6 6 7 7 # elements of data structure / FITS table 8 FIELD M _PS,MAG, float, other mags, mags9 FIELD dM _PS,MAG_ERR, float, scatter on mag, mags8 FIELD M, MAG, float, other mags, mags 9 FIELD dM, MAG_ERR, float, scatter on mag, mags 10 10 FIELD Xm, MAG_CHI, short, chisq on mag, [100*log(value)] 11 FIELD Ncode, NCODE, short, number of detections in band 12 FIELD Nused, NUSED, short, number of detections used in average 11 13 FIELD dummy, JUNK, short, place holder
Note:
See TracChangeset
for help on using the changeset viewer.
