Changeset 3037 for trunk


Ignore:
Timestamp:
04/30/15 14:58:06 (10 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: Yes/No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No

Module(s): Module Names change impacts.

Description: Describe your changes here...

Fixed a bug that the data from CM10 cannot be calibrated.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/CalibrationManager.cpp

    r2923 r3037  
    311311  assert_<AipsError>(!target_.null(), "You have to set target scantable first.");
    312312  // will match DV01-25, DA41-65, PM01-04, CM01-12
    313   Regex reant("^(DV(0[1-9]|1[0-9]|2[0-5])|DA(4[1-9]|5[0-9]|6[0-5])|PM0[1-4]|CM(0[1-9]|1[1,2]))$");
     313  Regex reant("^(DV(0[1-9]|1[0-9]|2[0-5])|DA(4[1-9]|5[0-9]|6[0-5])|PM0[1-4]|CM(0[1-9]|1[0-2]))$");
    314314  const String antname = target_->getAntennaName();
    315315  return (reant.match(antname.c_str(), antname.size()) != String::npos);
Note: See TracChangeset for help on using the changeset viewer.