Changeset 2961


Ignore:
Timestamp:
06/29/14 16:29:17 (10 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: Yes (CAS-6587)

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs:

Put in Release Notes: No

Module(s): asapfitter, asaplinefind

Description: handling of FLAGROW column in STLineFinder::findLines and asapfitter.fit.


Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asapfitter.py

    r2681 r2961  
    157157
    158158        if self.data is not None:
     159            if self.data._getflagrow(row):
     160                raise RuntimeError,"Can not fit flagged row."
    159161            self.x = self.data._getabcissa(row)
    160162            self.y = self.data._getspectrum(row)
  • trunk/src/STLineFinder.cpp

    r2774 r2961  
    980980  // taking flagged channels into account
    981981  if (useScantable) {
     982    if (scan->getFlagRow(whichRow))
     983      throw AipsError("STLineFinder::findLines - flagged scantable row.");
    982984    vector<bool> flaggedChannels = scan->getMask(whichRow);
    983985    if (flaggedChannels.size()) {
Note: See TracChangeset for help on using the changeset viewer.