IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 41992


Ignore:
Timestamp:
Jan 20, 2022, 6:46:06 AM (4 years ago)
Author:
eugene
Message:

better description for match2d; fix unmatched INT value in reindex

Location:
branches/eam_branches/ipp-20211108/Ohana/src/opihi/cmd.data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20211108/Ohana/src/opihi/cmd.data/match2d.c

    r40650 r41992  
    140140  gprint (GP_ERR, "if -index1 or -index2 is not supplied, the vectors are created with names index1 or index2\n");
    141141  gprint (GP_ERR, "use 'reindex' to generate new vectors based on these index vectors\n");
     142
     143  gprint (GP_ERR, "examples:\n");
     144  gprint (GP_ERR, " for 'match2d x1 y1 x2 y2 radius -closest'\n");
     145  gprint (GP_ERR, " use 'reindex x2m = x2 using index1 -keep-unmatched'\n");
     146  gprint (GP_ERR, "   x2m will have values which correspond to x1 (or NAN if not matched)\n"); 
     147  gprint (GP_ERR, " \n"); 
     148  gprint (GP_ERR, " for 'match2d x1 y1 x2 y2 radius'\n");
     149  gprint (GP_ERR, " use 'reindex x1m = x1 using index1'\n");
     150  gprint (GP_ERR, " use 'reindex x2m = x2 using index2'\n");
     151  gprint (GP_ERR, "   x1m will have values which correspond to x2m\n"); 
     152  gprint (GP_ERR, " \n"); 
    142153
    143154  gprint (GP_ERR, "if -sphere or -sky is supplied, (x1,y1) and (x2,y2) are treaded as (ra,dec) or (long,lat) pairs in degrees\n");
  • branches/eam_branches/ipp-20211108/Ohana/src/opihi/cmd.data/reindex.c

    r40291 r41992  
    6262      if (*vx < 0) {
    6363        if (KEEP_UNMATCH) {
    64           ovec[0].elements.Flt[Npts] = -1;
     64          ovec[0].elements.Int[Npts] = -4096; // XXX use a different or a specified value?
    6565          Npts++;
    6666        }
Note: See TracChangeset for help on using the changeset viewer.