Changeset 27838 for branches/tap_branches/Ohana/src/opihi/dvo/mextract.c
- Timestamp:
- May 3, 2010, 8:41:49 AM (16 years ago)
- Location:
- branches/tap_branches
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/tap_branches
- Property svn:mergeinfo changed
-
branches/tap_branches/Ohana
-
Property svn:mergeinfo
set to (toggle deleted branches)
/trunk/Ohana merged eligible /branches/eam_branches/Ohana.20100407 27635-27772 /branches/pap_delete/Ohana 27530-27595
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
branches/tap_branches/Ohana/src/opihi/dvo/mextract.c
r24233 r27838 3 3 int mextract (int argc, char **argv) { 4 4 5 int i, j, k, m, n, N, Npts, NPTS, last, next, state, Nfields, Nreturn, Ncstack, Nstack; 5 off_t i, j, k, m; // used for counter averages and measures 6 int n, N, Npts, NPTS, last, next, state, Nfields, Nreturn, Ncstack, Nstack; 6 7 int Nsecfilt, VERBOSE, loadImages, mosaicMode; 7 8 char **cstack, name[1024]; … … 119 120 catalog.Nsecfilt = Nsecfilt; 120 121 121 if (VERBOSE) gprint (GP_ERR, "trying %s (% d of %d)\n", catalog.filename, i,skylist[0].Nregions);122 if (VERBOSE) gprint (GP_ERR, "trying %s (%lld of %lld)\n", catalog.filename, (long long) i, (long long) skylist[0].Nregions); 122 123 123 124 // an error exit status here is a significant error … … 201 202 202 203 if ((argc > N + 1) && !strcasecmp (argv[N+1], "fields")) { 203 gprint (GP_ERR, " USAGE: avextract field[,field,field...] where (expression)\n");204 204 gprint (GP_ERR, " RA : right ascension (J2000) for detection [degrees]\n"); 205 205 gprint (GP_ERR, " DEC : declination for detection [degrees]\n"); … … 208 208 gprint (GP_ERR, " RA:err : ra scatter [degrees] \n"); 209 209 gprint (GP_ERR, " DEC:err : dec scatter [degrees]\n"); 210 gprint (GP_ERR, " GLON : galactic longitude [degrees]\n"); 211 gprint (GP_ERR, " GLAT : galactic latitude [degrees]\n"); 212 gprint (GP_ERR, " GLON:ave : average galactic longitude [degrees]\n"); 213 gprint (GP_ERR, " GLAT:ave : average galactic latitude [degrees]\n"); 214 gprint (GP_ERR, " ELON : ecliptic longitude [degrees]\n"); 215 gprint (GP_ERR, " ELAT : ecliptic latitude [degrees]\n"); 216 gprint (GP_ERR, " ELON:ave : average ecliptic longitude [degrees]\n"); 217 gprint (GP_ERR, " ELAT:ave : average ecliptic latitude [degrees]\n"); 210 218 gprint (GP_ERR, " uRA : proper motion in ra [mas/yr]\n"); 211 219 gprint (GP_ERR, " uDEC : proper motion in dec [mas/yr]\n"); … … 214 222 gprint (GP_ERR, " PAR : parallax\n"); 215 223 gprint (GP_ERR, " dPAR : parallax error \n"); 216 gprint (GP_ERR, " nmeas : number of measurements\n"); 217 gprint (GP_ERR, " nmiss : number of non-detections\n"); 218 gprint (GP_ERR, " xp : positional raw chi-square\n"); 219 gprint (GP_ERR, " objflag : object flags\n"); 224 225 gprint (GP_ERR, " dR : ra offset [arcseconds]\n"); 226 gprint (GP_ERR, " dD : dec offset [arcseconds]\n"); 227 gprint (GP_ERR, " dR:fit : ra offset from fit [arcseconds]\n"); 228 gprint (GP_ERR, " dD:fit : dec offset from fit [arcseconds]\n"); 229 gprint (GP_ERR, " dR:err : ra offset error [arcseconds]\n"); 230 gprint (GP_ERR, " dD:err : dec offset error [arcseconds]\n"); 231 232 gprint (GP_ERR, " ChiSqPos : chi square of position fit \n"); 233 gprint (GP_ERR, " ChiSqPM : chi square of proper-motion fit \n"); 234 gprint (GP_ERR, " ChiSqPar : chi square of parallax fit \n"); 235 236 gprint (GP_ERR, " Tmean : mean epoch (reference for proper motion)\n"); 237 gprint (GP_ERR, " Trange : range of times used for proper motion/parallax fit\n"); 238 239 240 gprint (GP_ERR, " Nmeas : number of measurements\n"); 241 gprint (GP_ERR, " Nmiss : number of non-detections\n"); 242 gprint (GP_ERR, " Npos : number of measurments used for astrometry\n"); 243 244 gprint (GP_ERR, " objflags : object flags\n"); 245 gprint (GP_ERR, " photflags : detection flags from image analysis\n"); 246 gprint (GP_ERR, " dbflags : detection flags from database analysis\n"); 247 248 gprint (GP_ERR, " obj_flags : object flags\n"); 249 gprint (GP_ERR, " phot_flags : detection flags from image analysis\n"); 250 gprint (GP_ERR, " db_flags : detection flags from database analysis\n"); 251 220 252 gprint (GP_ERR, " <photcode>:ave : average magnitude for photcode (or equivalent)\n"); 221 253 gprint (GP_ERR, " <photcode>:ref : reference magnitude system for photcode (or equivalent)\n"); … … 225 257 gprint (GP_ERR, " <photcode>:rel : relative magnitude for photcode\n"); 226 258 gprint (GP_ERR, " <photcode>:cal : calibrated magnitude for photcode \n"); 227 gprint (GP_ERR, " <photcode>:err : magnitude error for photcode\n"); 259 gprint (GP_ERR, " <photcode>:err : magnitude error for measurement\n"); 260 gprint (GP_ERR, " <photcode>:ap : catalog aperture magnitude for photcode\n"); 261 gprint (GP_ERR, " <photcode>:aper : catalog aperture magnitude for photcode\n"); 262 gprint (GP_ERR, " <photcode>:aveerr : average error (stdev)\n"); 228 263 gprint (GP_ERR, " <photcode>:chisq : raw chi-square of magnitude fit\n"); 229 264 gprint (GP_ERR, " <photcode>:ncode : number of measurements in photcode\n"); 230 265 gprint (GP_ERR, " <photcode>:nphot : number of measurements used for average magnitude\n"); 231 266 gprint (GP_ERR, " airmass : airmass of detection\n"); 267 gprint (GP_ERR, " alt : altitude of detection\n"); 268 gprint (GP_ERR, " az : azimuth of detection\n"); 232 269 gprint (GP_ERR, " exptime : exposure time [s]\n"); 233 270 gprint (GP_ERR, " photcode : photcode \n"); 271 gprint (GP_ERR, " photcode:equiv : equivalent average photcode \n"); 234 272 gprint (GP_ERR, " time : time of exposure [Seconds since Jan 1, 1970/\n"); 235 gprint (GP_ERR, " dR : ra offset [arcseconds]\n"); 236 gprint (GP_ERR, " dD : dec offset [arcseconds]\n"); 237 gprint (GP_ERR, " fwhm : fwhm (average) [pixels]\n"); 238 gprint (GP_ERR, " fwhm_maj : fwhm (major axis) [pixels]\n"); 239 gprint (GP_ERR, " fwhm_min : fwhm (minor axis) [pixels]\n"); 240 gprint (GP_ERR, " theta : position angle\n"); 241 gprint (GP_ERR, " flags : detection flags\n"); 273 gprint (GP_ERR, " fwhm : fwhm (average) of fitted PSF [pixels]\n"); 274 gprint (GP_ERR, " fwhm_maj : fwhm (major axis) of fitted PSF [pixels]\n"); 275 gprint (GP_ERR, " fwhm_min : fwhm (minor axis) of fitted PSF [pixels]\n"); 276 gprint (GP_ERR, " theta : position angle of fitted PSF\n"); 277 gprint (GP_ERR, " posangle : position angle of detector at measurement [degrees]\n"); 278 gprint (GP_ERR, " platescale : plate scale of detector at measurement [arcsec/pixel] \n"); 279 280 gprint (GP_ERR, " psf_qf : PSF quality factor (psf-weighted mask fraction)\n"); 281 gprint (GP_ERR, " psf_chisq : PSF fit chi square\n"); 282 gprint (GP_ERR, " psf_ndof : PSF number of degrees of freedom\n"); 283 gprint (GP_ERR, " psf_npix : PSF number of pixels\n"); 284 285 gprint (GP_ERR, " cr_nsigma : Nsigma deviation towards cosmic ray\n"); 286 gprint (GP_ERR, " ext_nsigma : Nsigma deviation towards extended source\n"); 287 288 gprint (GP_ERR, " Mxx : second moment in X [pixels^2]\n"); 289 gprint (GP_ERR, " Mxy : second moment cross term [pixels^2]\n"); 290 gprint (GP_ERR, " Myy : second moment in Y [pixels^2]\n"); 291 242 292 gprint (GP_ERR, " xccd : ccd x position\n"); 243 293 gprint (GP_ERR, " yccd : ccd y position\n"); 294 gprint (GP_ERR, " xccd:err : ccd x position error\n"); 295 gprint (GP_ERR, " yccd:err : ccd y position error\n"); 244 296 gprint (GP_ERR, " xmosaic : mosaic x position\n"); 245 297 gprint (GP_ERR, " ymosaic : mosaic y position\n"); 246 gprint (GP_ERR, " xchip : chip x position\n"); 247 gprint (GP_ERR, " ychip : chip y position\n"); 248 gprint (GP_ERR, " xfpa : fpa x position\n"); 249 gprint (GP_ERR, " yfpa : fpa y position\n"); 298 gprint (GP_ERR, " xchip : chip x position (= ccd position)\n"); 299 gprint (GP_ERR, " ychip : chip y position (= ccd position)\n"); 300 gprint (GP_ERR, " xfpa : fpa x position (= mosaic position)\n"); 301 gprint (GP_ERR, " yfpa : fpa y position (= mosaic position)\n"); 302 303 gprint (GP_ERR, " detID : ID of detection (unique on source image)\n"); 304 gprint (GP_ERR, " objID : object ID (32 bit, unique in catalog)\n"); 305 gprint (GP_ERR, " catID : catalog ID (32 bit)\n"); 306 gprint (GP_ERR, " imageID : ID of source image (32 bit)\n"); 250 307 return (FALSE); 251 308 }
Note:
See TracChangeset
for help on using the changeset viewer.
