Changeset 618


Ignore:
Timestamp:
Nov 30, 2011, 2:06:08 PM (13 years ago)
Author:
torrento
Message:

Add different integration intervals for HI in different clusters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BAORadio/AmasNancay/trunk/mergeAnaFiles.cc

    r617 r618  
    851851  sa_size_t chCalibLow  = freqToChan(para.rcalibFreq_ - (para.rcalibBandFreq_*0.5));
    852852  sa_size_t chCalibHigh = freqToChan(para.rcalibFreq_ + (para.rcalibBandFreq_*0.5));
    853   //Lower and Higher freq.  just arround 1420.4MHz Freq. bin to perform mean follow up
    854   sa_size_t ch1420Low  = freqToChan(1420.4-0.2);
    855   sa_size_t ch1420High = freqToChan(1420.4+0.2);
     853  //Lower and Higher freq.  just around 1420.4MHz Freq. bin to perform mean follow up
     854  sa_size_t ch1420Low;
     855  sa_size_t ch1420High;
     856  if (para.sourceName_ == "Abell85") {
     857    ch1420Low  = freqToChan(1420.4-0.2);  // Abell85
     858    ch1420High = freqToChan(1420.4+0.2);
     859  } else if (para.sourceName_ == "Abell1205") {
     860    ch1420Low  = freqToChan(1420.4-0.3);  // Abell1205
     861    ch1420High = freqToChan(1420.4+0.2);
     862  } else if (para.sourceName_ == "Abell2440") {
     863    ch1420Low  = freqToChan(1420.4);      // Abell2440
     864    ch1420High = freqToChan(1420.4+0.3);
     865  } else {
     866    ch1420Low  = freqToChan(1420.4-0.2);  // Abell85
     867    ch1420High = freqToChan(1420.4+0.2);
     868  }
    856869
    857870  //Lower and Higher freq. on the sides of 1420.4Mhz Freq. bin to perform mean follow up
     
    20222035    } else if (action == "meanCalibBAODiffOnOff") {
    20232036      meanCalibBAODiffOnOffCycles();
     2037    } else if (action == "calibCoeffNtp") {
     2038      calibCoeffNtp();
    20242039    } else {
    20252040      msg = "Unknown action " + action;
Note: See TracChangeset for help on using the changeset viewer.