IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 35040 for trunk/ippTools/src


Ignore:
Timestamp:
Jan 23, 2013, 4:56:00 PM (13 years ago)
Author:
bills
Message:

Add -abs_glat_min and -abs_glat_max to the skycell args to make it easier
to select things away from or near the galactic plane

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/pxspace.c

    r33921 r35040  
    6767    psMetadataAddF32(md,  PS_LIST_TAIL, "-glong_max",         0, "search by galactic longitude (degrees)", NAN);
    6868    psMetadataAddF32(md,  PS_LIST_TAIL, "-glat_max",          0, "search by galactic latitude (degrees)", NAN);
     69    psMetadataAddF32(md,  PS_LIST_TAIL, "-abs_glat_min",       0, "search by absolute value(galactic latitude) (degrees)", NAN);
     70    psMetadataAddF32(md,  PS_LIST_TAIL, "-abs_glat_max",       0, "search by absolute value(galactic latitude) (degrees)", NAN);
    6971}
    7072
     
    7981    PXOPT_COPY_F32(config->args, where, "-glong_max", "skycell.glong", "<");
    8082    PXOPT_COPY_F32(config->args, where, "-glat_max", "skycell.glat", "<");
     83    PXOPT_COPY_F32(config->args, where, "-abs_glat_min", "abs(skycell.glat)", ">=");
     84    PXOPT_COPY_F32(config->args, where, "-abs_glat_max", "abs(skycell.glat)", "<");
    8185    return true;
    8286}
Note: See TracChangeset for help on using the changeset viewer.