Changeset 618 for BAORadio/AmasNancay/trunk
- Timestamp:
- Nov 30, 2011, 2:06:08 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BAORadio/AmasNancay/trunk/mergeAnaFiles.cc
r617 r618 851 851 sa_size_t chCalibLow = freqToChan(para.rcalibFreq_ - (para.rcalibBandFreq_*0.5)); 852 852 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 } 856 869 857 870 //Lower and Higher freq. on the sides of 1420.4Mhz Freq. bin to perform mean follow up … … 2022 2035 } else if (action == "meanCalibBAODiffOnOff") { 2023 2036 meanCalibBAODiffOnOffCycles(); 2037 } else if (action == "calibCoeffNtp") { 2038 calibCoeffNtp(); 2024 2039 } else { 2025 2040 msg = "Unknown action " + action;
Note: See TracChangeset
for help on using the changeset viewer.