IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 3, 2010, 8:41:49 AM (16 years ago)
Author:
eugene
Message:

updates from trunk

Location:
branches/tap_branches
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/tap_branches

  • branches/tap_branches/Ohana

  • branches/tap_branches/Ohana/src/opihi/dvo/mextract.c

    r24233 r27838  
    33int mextract (int argc, char **argv) {
    44 
    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;
    67  int Nsecfilt, VERBOSE, loadImages, mosaicMode;
    78  char **cstack, name[1024];
     
    119120    catalog.Nsecfilt = Nsecfilt;
    120121
    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);
    122123     
    123124    // an error exit status here is a significant error
     
    201202
    202203  if ((argc > N + 1) && !strcasecmp (argv[N+1], "fields")) {
    203     gprint (GP_ERR, " USAGE: avextract field[,field,field...] where (expression)\n");
    204204    gprint (GP_ERR, "  RA : right ascension (J2000) for detection [degrees]\n");
    205205    gprint (GP_ERR, "  DEC : declination for detection [degrees]\n");
     
    208208    gprint (GP_ERR, "  RA:err : ra scatter [degrees] \n");
    209209    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");
    210218    gprint (GP_ERR, "  uRA : proper motion in ra [mas/yr]\n");
    211219    gprint (GP_ERR, "  uDEC : proper motion in dec [mas/yr]\n");
     
    214222    gprint (GP_ERR, "  PAR : parallax\n");
    215223    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
    220252    gprint (GP_ERR, "  <photcode>:ave : average magnitude for photcode (or equivalent)\n");
    221253    gprint (GP_ERR, "  <photcode>:ref : reference magnitude system for photcode (or equivalent)\n");
     
    225257    gprint (GP_ERR, "  <photcode>:rel :  relative magnitude for photcode\n");
    226258    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");
    228263    gprint (GP_ERR, "  <photcode>:chisq : raw chi-square of magnitude fit\n");
    229264    gprint (GP_ERR, "  <photcode>:ncode : number of measurements in photcode\n");
    230265    gprint (GP_ERR, "  <photcode>:nphot : number of measurements used for average magnitude\n");
    231266    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");
    232269    gprint (GP_ERR, "  exptime : exposure time [s]\n");
    233270    gprint (GP_ERR, "  photcode : photcode \n");
     271    gprint (GP_ERR, "  photcode:equiv : equivalent average photcode \n");
    234272    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
    242292    gprint (GP_ERR, "  xccd : ccd x position\n");
    243293    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");
    244296    gprint (GP_ERR, "  xmosaic : mosaic x position\n");
    245297    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");
    250307    return (FALSE);
    251308  }
Note: See TracChangeset for help on using the changeset viewer.