Changeset 36933 for branches/eam_branches/ipp-20140610
- Timestamp:
- Jun 22, 2014, 5:20:23 PM (12 years ago)
- Location:
- branches/eam_branches/ipp-20140610/Ohana/src/libautocode
- Files:
-
- 2 edited
-
Makefile.Targets (modified) (3 diffs)
-
def/cmf-ps1-sv3.d (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140610/Ohana/src/libautocode/Makefile.Targets
r36912 r36933 82 82 $(ASRC)/cmf-ps1-sv1.$(ARCH).o \ 83 83 $(ASRC)/cmf-ps1-sv2.$(ARCH).o \ 84 $(ASRC)/cmf-ps1-sv3.$(ARCH).o \85 84 $(ASRC)/cmf-ps1-dv4.$(ARCH).o \ 86 85 $(ASRC)/cmf-smpdata.$(ARCH).o \ … … 95 94 $(ASRC)/FlatCorrectionImage.$(ARCH).o \ 96 95 $(ASRC)/FlatCorrection.$(ARCH).o 96 97 # $(ASRC)/cmf-ps1-sv3.$(ARCH).o 97 98 98 99 AINCS = \ … … 179 180 $(AINC)/cmf-ps1-sv1.h \ 180 181 $(AINC)/cmf-ps1-sv2.h \ 181 $(AINC)/cmf-ps1-sv3.h \182 182 $(AINC)/cmf-ps1-dv4.h \ 183 183 $(AINC)/cmf-smpdata.h \ -
branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/cmf-ps1-sv3.d
r36912 r36933 3 3 EXTNAME CMF_PS1_SV3 4 4 TYPE BINTABLE 5 SIZE 208 6 7 ## note that this definition is inconsistent with the definition in 8 ## pmModules/src/objects/pmSourceIO_CMF.c.in. The version in 9 ## pmSourceIO*.c creates a table with data not properly aligned with 10 ## the 8-byte boundaries. The structure defined by libautocode does 11 ## this, but has a different order of elements (and adds padding2 to 12 ## fix things). We have generated may files with PS1_SV1 as is, so 13 ## I'll leave it. But in future a PS1_SV2 should be forced to match 14 ## libautocode. Note that addstar knows to detect the alternate 15 ## version of PS1_SV1 and correctly interpret its fields. 5 SIZE 224 16 6 17 7 # elements of data structure / FITS table … … 20 10 FIELD Y, Y_PSF, float, y coord, pixels 21 11 FIELD dX, X_PSF_SIG, float, x coord error, pixels 22 23 12 FIELD dY, Y_PSF_SIG, float, y coord error, pixels 24 13 FIELD posangle, POSANGLE, float, Posangle at source, degrees 25 14 FIELD pltscale, PLTSCALE, float, Plate Scale at source, arcsec/pixel 26 15 FIELD M, PSF_INST_MAG, float, inst mags, mags 27 28 16 FIELD dM, PSF_INST_MAG_SIG, float, inst mag error, mags 29 17 FIELD Flux, PSF_INST_FLUX, float, psf flux, counts 30 18 FIELD dFlux, PSF_INST_FLUX_SIG, float, psf flux error, counts 31 19 FIELD Map, AP_MAG, float, standard aperture mag, mags 32 33 20 FIELD MapRaw, AP_MAG_RAW, float, raw aperture mag, mags 34 21 FIELD apRadius, AP_MAG_RADIUS, float, radius used for fit, pixels 35 22 FIELD apFlux, AP_FLUX, float, aperture flux, counts 36 23 FIELD apFluxErr, AP_FLUX_SIG, float, error on ap flux, counts 37 24 FIELD apNpix, AP_NPIX, int, pixels used for aper 38 25 FIELD Mcalib, CAL_PSF_MAG, float, calibrated psf mag, mags 39 26 FIELD dMcal, CAL_PSF_MAG_SIG, float, zero point scatter, mags 27 28 # this field is in the wrong order (is between DEC and sky in cmf, but breaks byte boundary). 29 # I need to move these bytes around on read (fix PS1_V5?) 30 FIELD Mpeak, PEAK_FLUX_AS_MAG, float, peak flux as a mag, mags 40 31 41 32 # NOTE: RA & DEC (both double) need to be on an 8-byte boundary... … … 43 34 FIELD DEC, DEC_PSF, double, PSF DEC coord, degrees 44 35 45 FIELD Mpeak, PEAK_FLUX_AS_MAG, float, peak flux as a mag, mags46 36 FIELD sky, SKY, float, sky flux, cnts/sec 47 37 FIELD dSky, SKY_SIG, float, sky flux error, cnts/sec 48 38 FIELD psfChisq, PSF_CHISQ, float, psf fit chisq 49 39 50 40 FIELD crNsigma, CR_NSIGMA, float, Nsigma deviations from PSF to CF 51 41 FIELD extNsigma, EXT_NSIGMA, float, Nsigma deviations from PSF to EXT 52 42 FIELD fx, PSF_MAJOR, float, psf fit major axis, pixels 53 43 FIELD fy, PSF_MINOR, float, psf fit minor axis, pixels 54 55 44 FIELD df, PSF_THETA, float, ellipse angle, degrees 45 FIELD k, PSF_CORE, float, extra PSF parameter, unitless 46 FIELD fwhmMaj, PSF_FWHM_MAJ, float, true fwhm of psf, pixels 47 FIELD fwhmMin, PSF_FWHM_MIN, float, true fwhm (minor), pixels 56 48 FIELD psfQF, PSF_QF, float, quality factor 57 49 FIELD psfQFperf, PSF_QF_PERFECT, float, quality factor perfect 58 50 FIELD psfNdof, PSF_NDOF, int, psf degrees of freedom 51 FIELD psfNpix, PSF_NPIX, int, psf number of pixels 59 52 60 FIELD psfNpix, PSF_NPIX, int, psf number of pixels61 53 FIELD Mxx, MOMENTS_XX, float, second moment X, pixels^2 62 54 FIELD Mxy, MOMENTS_XY, float, second moment Y, pixels^2 63 55 FIELD Myy, MOMENTS_YY, float, second moment XY, pixels^2 64 65 56 FIELD M3c, MOMENTS_M3C, float, third moment cos(t), pixels^3 66 57 FIELD M3s, MOMENTS_M3S, float, third moment sin(t), pixels^3 67 58 FIELD M4c, MOMENTS_M4C, float, fourth moment cos(t), pixels^4 68 59 FIELD M4s, MOMENTS_M4S, float, fourth moment sin(t), pixels^4 69 70 60 FIELD Mr1, MOMENTS_R1, float, first radial moment, pixels 71 61 FIELD Mrh, MOMENTS_RH, float, half radial moment, pixels^1/2 72 62 FIELD kronFlux, KRON_FLUX, float, kron flux, counts 73 63 FIELD kronFluxErr, KRON_FLUX_ERR, float, kron flux error, counts 74 75 64 FIELD kronInner, KRON_FLUX_INNER, float, kron flux 1<R<2.5, counts 76 65 FIELD kronOuter, KRON_FLUX_OUTER, float, kron flux 2.5<R<4, counts … … 78 67 FIELD flags2, FLAGS2, int, analysis flags (2) 79 68 80 FIELD padding2, PADDING2, int, padding for 8byte records81 69 FIELD nFrames, N_FRAMES, short, images overlapping peak 82 70 FIELD padding, PADDING, short, padding for 8byte records 71 FIELD padding2, PADDING2, int, padding for 8byte records 83 72 84 # for an object in an image, we have three triplets that tell us about the shape:85 # second moments: Mxx, Mxy, Myy86 # model shape parameters: F_major, F_minor, F_theta87 # centroid errors: sigma_X, sigma_Y, sigma_XY88 89 # # elements of data structure / FITS table90 # FIELD detID, IPP_IDET, IPP_IDET 1J unsigned int, detection ID91 # FIELD X, X_PSF, X_PSF 1E float, x coord, pixels92 # FIELD Y, Y_PSF, Y_PSF 1E float, y coord, pixels93 # FIELD dX, X_PSF_SIG, X_PSF_SIG 1E float, x coord error, pixels94 # FIELD dY, Y_PSF_SIG, Y_PSF_SIG 1E float, y coord error, pixels95 # FIELD posangle, POSANGLE, POSANGLE 1E float, Posangle at source, degrees96 # FIELD pltscale, PLTSCALE, PLTSCALE 1E float, Plate Scale at source, arcsec/pixel97 # FIELD M, PSF_INST_MAG, PSF_INST_MAG 1E float, inst mags, mags98 # FIELD dM, PSF_INST_MAG_SIG, PSF_INST_MAG_SIG 1E float, inst mag error, mags99 # FIELD flux, PSF_INST_FLUX, PSF_INST_FLUX 1E float, psf flux, counts100 # FIELD flux, PSF_INST_FLUX_SIG, PSF_INST_FLUX_SIG 1E float, psf flux error, counts101 # FIELD Map, AP_MAG_STANDARD, AP_MAG 1E float, standard aperture mag, mags102 # FIELD Map, AP_MAG_RAW, AP_MAG_RAW 1E float, raw aperture mag, mags103 # FIELD apRadius, AP_MAG_RADIUS, AP_MAG_RADIUS 1E float, radius used for fit, pixels104 # FIELD Mpeak, PEAK_FLUX_AS_MAG, PEAK_FLUX_AS_MAG 1E float, peak flux as a mag, mags105 # FIELD Mcalib, CAL_PSF_MAG, CAL_PSF_MAG 1E float, calibrated psf mag, mags106 # FIELD dMcal, CAL_PSF_MAG_SIG, CAL_PSF_MAG_SIG 1E float, zero point scatter, mags107 # FIELD RA, RA_PSF, RA_PSF 1D double, PSF RA coord, degrees108 # FIELD DEC, DEC_PSF, DEC_PSF 1D double, PSF DEC coord, degrees109 # FIELD sky, SKY, SKY 1E float, sky flux, cnts/sec110 # FIELD dSky, SKY_SIG, SKY_SIGMA 1E float, sky flux error, cnts/sec111 # FIELD psfChisq, PSF_CHISQ, PSF_CHISQ 1E float, psf fit chisq112 # FIELD crNsigma, CR_NSIGMA, CR_NSIGMA 1E float, Nsigma deviations from PSF to CF113 # FIELD extNsigma, EXT_NSIGMA, EXT_NSIGMA 1E float, Nsigma deviations from PSF to EXT114 # FIELD fx, PSF_MAJOR, PSF_MAJOR 1E float, psf fit major axis, pixels115 # FIELD fy, PSF_MINOR, PSF_MINOR 1E float, psf fit minor axis, pixels116 # FIELD df, PSF_THETA, PSF_THETA 1E float, ellipse angle, degrees117 # FIELD psfQF, PSF_QF, PSF_QF 1E float, quality factor118 # FIELD psfQFperf, PSF_QF_PERFECT, PSF_QF_PERFECT 1E float, quality factor perfect119 # FIELD psfNdof, PSF_NDOF, PSF_NDOF 1J int, psf degrees of freedom120 # FIELD psfNpix, PSF_NPIX, PSF_NPIX 1J int, psf number of pixels121 # FIELD Mxx, MOMENTS_XX, MOMENTS_XX 1E float, second moment X, pixels^2122 # FIELD Mxy, MOMENTS_XY, MOMENTS_XY 1E float, second moment Y, pixels^2123 # FIELD Myy, MOMENTS_YY, MOMENTS_YY 1E float, second moment XY, pixels^2124 # FIELD M3c, MOMENTS_M3C, MOMENTS_M3C 1E float, third moment cos(t), pixels^3125 # FIELD M3s, MOMENTS_M3S, MOMENTS_M3S 1E float, third moment sin(t), pixels^3126 # FIELD M4c, MOMENTS_M4C, MOMENTS_M4C 1E float, fourth moment cos(t), pixels^4127 # FIELD M4s, MOMENTS_M4S, MOMENTS_M4S 1E float, fourth moment sin(t), pixels^4128 # FIELD Mr1, MOMENTS_R1, MOMENTS_R1 1E float, first radial moment, pixels129 # FIELD Mrh, MOMENTS_RH, MOMENTS_RH 1E float, half radial moment, pixels^1/2130 # FIELD kronFlux, KRON_FLUX, KRON_FLUX 1E float, kron flux, counts131 # FIELD kronFluxErr, KRON_FLUX_ERR, KRON_FLUX_ERR 1E float, kron flux error, counts132 # FIELD kronInner, KRON_FLUX_INNER, KRON_FLUX_INNER 1E float, kron flux 1<R<2.5, counts133 # FIELD kronOuter, KRON_FLUX_OUTER, KRON_FLUX_OUTER 1E float, kron flux 2.5<R<4, counts134 # FIELD flags, FLAGS, FLAGS 1J int, analysis flags135 # FIELD flags2, FLAGS, FLAGS2 1J int, analysis flags (2)136 # FIELD nFrames, N_FRAMES, N_FRAMES 1I short, images overlapping peak137 # FIELD padding, PADDING, PADDING 1I short, padding for 8byte records138 139 140
Note:
See TracChangeset
for help on using the changeset viewer.
