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

    r8455 r12332  
    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;
     
    2020  RegionName = NULL;
    2121  RegionList = NULL;
     22  skylist = NULL;
    2223
    2324  /* load photcode information */
    2425  if (!InitPhotcodes ()) goto escape;
    25   Nsec = GetPhotcodeNsecfilt ();
     26  Nsecfilt = GetPhotcodeNsecfilt ();
    2627
    2728  /* interpret command-line options */
     
    7576
    7677      SetSelectionParam (0);
    77       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);
    7879      if (N1 == 0) goto skip;
    7980
    8081      SetSelectionParam (2);
    81       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);
    8283      if (N2 == 0) {
    8384        if (KeepNulls) {
Note: See TracChangeset for help on using the changeset viewer.