IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26462


Ignore:
Timestamp:
Dec 20, 2009, 7:17:23 AM (16 years ago)
Author:
eugene
Message:

center should default to center

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20091201/Ohana/src/opihi/cmd.astro/mkgauss.c

    r7917 r26462  
    1111  Buffer *buf;
    1212
    13   Xo = Yo = 0;
     13  // this should be Nx/2, Ny/2 if not set
     14  Xo = Yo = NAN;
    1415  if ((N = get_argument (argc, argv, "-c"))) {
    1516    remove_argument (N, &argc, argv);
     
    3031  Ny = buf[0].header.Naxis[1];
    3132 
     33  if (isnan(Xo)) Xo = Nx / 2;
     34  if (isnan(Yo)) Yo = Ny / 2;
     35
    3236  /* gaussian parameters */
    3337  Sig_x = atof (argv[2]);
Note: See TracChangeset for help on using the changeset viewer.