IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16000


Ignore:
Timestamp:
Jan 4, 2008, 11:17:24 AM (18 years ago)
Author:
eugene
Message:

allow -phu to show DIS-only images (a hack?)

File:
1 edited

Legend:

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

    r15487 r16000  
    33int imbox (int argc, char **argv) {
    44 
    5   int j, kapa, Nskip, status, InPic, flipped;
     5  int j, kapa, Nskip, status, InPic, flipped, N, SOLO_PHU;
    66  Vector Xvec, Yvec;
    77  double r, d, x[4], y[4], Rmin, Rmax, Rmid;
     
    1313
    1414  if (!style_args (&graphmode, &argc, argv, &kapa)) return FALSE;
     15
     16  SOLO_PHU = FALSE;
     17  if ((N = get_argument (argc, argv, "-phu"))) {
     18    SOLO_PHU = TRUE;
     19    remove_argument (N, &argc, argv);
     20  }
    1521
    1622  if (argc != 2) {
     
    3541  while (gfits_fread_header (f, &header)) {
    3642    if (!GetCoords (&coords, &header)) goto skip;
    37     if (!strcmp (&coords.ctype[4], "-DIS")) {
     43    if (!SOLO_PHU && !strcmp (&coords.ctype[4], "-DIS")) {
    3844      mosaic = coords;
    3945      RegisterMosaic (&mosaic);
Note: See TracChangeset for help on using the changeset viewer.