Changeset 3043 for trunk/src/Scantable.h


Ignore:
Timestamp:
07/30/15 17:11:36 (9 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...

Optimize cubic spline fitting in Scantable::subBaseline.
I expect that the performance will improve about 30%.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Scantable.h

    r3023 r3043  
    1919#include <string>
    2020#include <vector>
     21#include <map>
    2122// AIPS++
    2223#include <casa/aips.h>
     
    993994 std::vector<float> doSubtractBaseline(std::vector<float>& spec, std::vector<bool>& mask, const STBaselineFunc::FuncName ftype, std::vector<int>& fpar, std::vector<float>& params, float&rms, std::vector<bool>& finalmask, float clipth, int clipn, bool uself, int irow, float lfth, std::vector<int>& lfedge, int lfavg);
    994995
     996 // storage of cubic spline model for various number of channels
     997 map<size_t, vector< vector<double> > > cubicSplineModelPool_;
     998
    995999};
    9961000} // namespace
Note: See TracChangeset for help on using the changeset viewer.