Changeset 2250
- Timestamp:
- 07/27/11 17:16:18 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/external-alma/asdm2ASAP/ASDMReader.cc
r2249 r2250 924 924 else if ( subIntent == OFF_SOURCE ) { 925 925 srctype = SrcType::REF ; 926 } 927 } 928 } 929 else if ( scanIntent == CALIBRATE_ATMOSPHERE ) { 930 if ( swmode == NO_SWITCHING || swmode == POSITION_SWITCHING ) { 931 // position switching 932 // tentatively set NO_SWITCHING = POSITION_SWITCHING 933 if ( subIntent == ON_SOURCE ) { 934 srctype = SrcType::PONCAL ; 935 } 936 else if ( subIntent == OFF_SOURCE ) { 937 srctype = SrcType::POFFCAL ; 938 } 939 } 940 else if ( swmode == FREQUENCY_SWITCHING ) { 941 // frequency switching 942 if ( subIntent == ON_SOURCE ) { 943 srctype = SrcType::FONCAL ; 944 } 945 else if ( subIntent == OFF_SOURCE ) { 946 srctype = SrcType::FOFFCAL ; 947 } 948 } 949 else if ( swmode == NUTATOR_SWITCHING ) { 950 // nutator switching 951 if ( subIntent == ON_SOURCE ) { 952 srctype = SrcType::PONCAL ; 953 } 954 else if ( subIntent == OFF_SOURCE ) { 955 srctype = SrcType::POFFCAL ; 956 } 957 } 958 else { 959 // other switching mode 960 if ( subIntent == ON_SOURCE ) { 961 srctype = SrcType::CAL ; 962 } 963 else if ( subIntent == OFF_SOURCE ) { 964 srctype = SrcType::CAL ; 926 965 } 927 966 }
Note:
See TracChangeset
for help on using the changeset viewer.