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

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