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/dmagmeas.c

    r12046 r12295  
    77  int i, j, m, i1, i3, N1, N3, N;
    88  int Npts, NPTS, param, mode[3];
    9   int Nsec, KeepNulls;
     9  int Nsecfilt, KeepNulls;
    1010
    1111  Catalog catalog;
     
    2525  /* load photcode information */
    2626  if (!InitPhotcodes ()) goto escape;
    27   Nsec = GetPhotcodeNsecfilt ();
     27  Nsecfilt = GetPhotcodeNsecfilt ();
    2828
    2929  /* interpret command-line options */
     
    7676
    7777      SetSelectionParam (0);
    78       M1 = ExtractDMag (code, mode, &catalog.average[i], &catalog.secfilt[i*Nsec], &catalog.measure[m], &N1);
     78      M1 = ExtractDMag (code, mode, &catalog.average[i], &catalog.secfilt[i*Nsecfilt], &catalog.measure[m], &N1);
    7979      if (N1 == 0) goto skip;
    8080
    8181      SetSelectionParam (2);
    82       M3 = ExtractMeasures (code[2], mode[2], &catalog.average[i], &catalog.secfilt[i*Nsec], &catalog.measure[m], &N3, param);
     82      M3 = ExtractMeasures (code[2], mode[2], &catalog.average[i], &catalog.secfilt[i*Nsecfilt], &catalog.measure[m], &N3, param);
    8383      if (N3 == 0) {
    8484        if (KeepNulls) {
Note: See TracChangeset for help on using the changeset viewer.