IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 8, 2007, 12:21:18 PM (19 years ago)
Author:
eugene
Message:

complete merge from branch dvo-mods-2007-02

File:
1 edited

Legend:

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

    r8455 r12332  
    77  int i, j, m, i1, i3, N1, N3, N;
    88  int Npts, NPTS, mode[3];
    9   int Nsec, KeepNulls;
     9  int Nsecfilt, KeepNulls;
    1010
    1111  PhotCode *code[3];
     
    2424  /* load photcode information */
    2525  if (!InitPhotcodes ()) goto escape;
    26   Nsec = GetPhotcodeNsecfilt ();
     26  Nsecfilt = GetPhotcodeNsecfilt ();
    2727
    2828  /* interpret command-line options */
     
    7474
    7575      SetSelectionParam (0);
    76       M1 = ExtractDMag (code, mode, &catalog.average[i], &catalog.secfilt[i*Nsec], &catalog.measure[m], &N1);
     76      M1 = ExtractDMag (code, mode, &catalog.average[i], &catalog.secfilt[i*Nsecfilt], &catalog.measure[m], &N1);
    7777      if (N1 == 0) goto skip;
    7878
    7979      SetSelectionParam (2);
    80       M3 = ExtractMagnitudes (code[2], mode[2], &catalog.average[i], &catalog.secfilt[i*Nsec], &catalog.measure[m], &N3);
     80      M3 = ExtractMagnitudes (code[2], mode[2], &catalog.average[i], &catalog.secfilt[i*Nsecfilt], &catalog.measure[m], &N3);
    8181      if (N3 == 0) {
    8282        if (KeepNulls) {
Note: See TracChangeset for help on using the changeset viewer.