IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 17011


Ignore:
Timestamp:
Mar 17, 2008, 12:04:36 PM (18 years ago)
Author:
eugene
Message:

option to modify chip order when fitting

Location:
trunk/Ohana/src/relastro
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/relastro/include/relastro.h

    r16810 r17011  
    114114int    USE_GRID;
    115115int    PLOTDELAY;
     116int    CHIPORDER;
    116117
    117118int    RELPHOT_GRID_X;
  • trunk/Ohana/src/relastro/src/FitChip.c

    r16810 r17011  
    2828    dRmax = 3.0*values[(int)(0.40*Nscatter)];
    2929
     30    if (CHIPORDER > 0) {
     31      coords[0].Npolyterms = CHIPORDER;
     32    }
    3033    fit = fit_init (coords[0].Npolyterms);
    3134
  • trunk/Ohana/src/relastro/src/args.c

    r16810 r17011  
    9898  if ((N = get_argument (argc, argv, "-v"))) {
    9999    VERBOSE = TRUE;
     100    remove_argument (N, &argc, argv);
     101  }
     102
     103  CHIPORDER = 0;
     104  if ((N = get_argument (argc, argv, "-chiporder"))) {
     105    remove_argument (N, &argc, argv);
     106    CHIPORDER = atoi(argv[N]);
    100107    remove_argument (N, &argc, argv);
    101108  }
Note: See TracChangeset for help on using the changeset viewer.