Last change
on this file since 2729 was 2720, checked in by Takeshi Nakazato, 12 years ago |
New Development: Yes
JIRA Issue: Yes CAS-4770 and its sub-tickets
Ready for Test: Yes
Interface Changes: 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...
First version of applycal for single dish calibration.
Added new classes for the operation (STApplyCal, Calibrator, PSAlmaCalibrator,
Locator, BisectionLocator, Interpolator1D, NearestInterpolator1D).
Also, modified existing classes to fit with implementation of applycal.
|
File size:
816 bytes
|
Line | |
---|
1 | //
|
---|
2 | // C++ Interface: NearestInterpolator1D
|
---|
3 | //
|
---|
4 | // Description:
|
---|
5 | //
|
---|
6 | //
|
---|
7 | // Author: Takeshi Nakazato <takeshi.nakazato@nao.ac.jp>, (C) 2012
|
---|
8 | //
|
---|
9 | // Copyright: See COPYING file that comes with this distribution
|
---|
10 | //
|
---|
11 | //
|
---|
12 | #ifndef ASAP_NEAREST_INTERPOLATOR_1D_H
|
---|
13 | #define ASAP_NEAREST_INTERPOLATOR_1D_H
|
---|
14 |
|
---|
15 | #include <memory>
|
---|
16 | #include <vector>
|
---|
17 |
|
---|
18 | #include <casa/aips.h>
|
---|
19 | #include <casa/Containers/Block.h>
|
---|
20 | #include <casa/Arrays/Vector.h>
|
---|
21 | #include <casa/Arrays/Matrix.h>
|
---|
22 | #include <casa/BasicSL/String.h>
|
---|
23 | #include <casa/Utilities/CountedPtr.h>
|
---|
24 |
|
---|
25 | #include "Interpolator1D.h"
|
---|
26 |
|
---|
27 | namespace asap {
|
---|
28 |
|
---|
29 | /**
|
---|
30 | * Base class for interpolation operation
|
---|
31 | * @author TakeshiNakazato
|
---|
32 | */
|
---|
33 | class NearestInterpolator1D : public Interpolator1D {
|
---|
34 | public:
|
---|
35 | NearestInterpolator1D();
|
---|
36 |
|
---|
37 | virtual ~NearestInterpolator1D();
|
---|
38 |
|
---|
39 | float interpolate(double x);
|
---|
40 | };
|
---|
41 |
|
---|
42 | }
|
---|
43 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.