IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 7, 2005, 6:22:23 PM (21 years ago)
Author:
eugene
Message:

added notes and minor pieces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/dvo/pmeasure.c

    r2598 r3392  
    1111  unsigned IDclip, IDchoice, LimExclude;
    1212  unsigned FlagChoice, FlagClip, flags;
     13  int PhotcodeClip;
    1314
    1415  Catalog catalog;
     
    2930  Rmax = graphmode.coords.crval1 + 182.0;
    3031
     32  PhotcodeClip = -1;
     33  if (N = get_argument (argc, argv, "-p")) {
     34    remove_argument (N, &argc, argv);
     35    PhotcodeClip = GetPhotcodeCodebyName (argv[N]);
     36    remove_argument (N, &argc, argv);
     37  }
    3138  IDclip = FALSE;
    3239  if (N = get_argument (argc, argv, "-ID")) {
     
    120127          if (!(flags & FlagChoice)) continue;
    121128        }
     129        if ((PhotcodeClip != -1) && (catalog.measure[m+k].source != PhotcodeClip)) continue;
    122130        mag = PhotCat (&catalog.measure[m+k]);
    123131        Zvec.elements[N] = MIN (1.0, MAX (0.01, (mag - Mz) / Mr));
Note: See TracChangeset for help on using the changeset viewer.