IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 7, 2007, 11:54:39 AM (19 years ago)
Author:
eugene
Message:

cleanup Nsec / Nsecfilt names, fixed usage with PRI photcodes dropped

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dvo-mods-2007-02/Ohana/src/opihi/dvo/mextract.c

    r12008 r12295  
    44 
    55  int i, j, k, m, N, N1, NPTS;
    6   int param, mode, Nsec;
     6  int param, mode, Nsecfilt;
    77  char *RegionName, *RegionList, *p;
    88  double *M1;
     
    2323  /* load photcode information */
    2424  if (!InitPhotcodes ()) goto escape;
    25   Nsec = GetPhotcodeNsecfilt ();
     25  Nsecfilt = GetPhotcodeNsecfilt ();
    2626
    2727  /* interpret command-line options */
     
    5757    catalog.filename = skylist[0].filename[i];
    5858    catalog.catflags = LOAD_AVES | LOAD_MEAS | LOAD_SECF;
    59     catalog.Nsecfilt = Nsec;
     59    catalog.Nsecfilt = Nsecfilt;
    6060
    6161    // an error exit status here is a significant error
     
    7171      M1 = NULL;
    7272      m = catalog.average[j].offset;
    73       M1 = ExtractMeasures (code, mode, &catalog.average[j], &catalog.secfilt[j*Nsec], &catalog.measure[m], &N1, param);
     73      M1 = ExtractMeasures (code, mode, &catalog.average[j], &catalog.secfilt[j*Nsecfilt], &catalog.measure[m], &N1, param);
    7474      for (k = 0; k < N1; k++) {
    7575        vec[0].elements[N] = M1[k];
Note: See TracChangeset for help on using the changeset viewer.