Ignore:
Timestamp:
01/11/13 18:48:37 (11 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-4770, CAS-4774

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...

Updated STApplyCal to be able to specify interpolation method.
The method can be specified in time and frequency axes independently.
Possible options are nearest, linear (default), (natural) cubic spline,
and polynomial with arbitrary order.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Interpolator1D.h

    r2720 r2727  
    1212#ifndef ASAP_INTERPOLATOR_1D_H
    1313#define ASAP_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>
    2414
    2515#include "Locator.h"
     
    4131  void setY(float *y, unsigned int n);
    4232  void reset();
     33
     34  // currently only effective for polynomial interpolation
    4335  void setOrder(unsigned int order) {order_ = order;}
    4436
     
    4840  int locate(double x);
    4941  bool isready();
     42  void createLocator();
    5043
    5144  unsigned int order_;
Note: See TracChangeset for help on using the changeset viewer.