LSSTApplications
10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
LSSTDataManagementBasePackage
|
Control how to make an approximation. More...
#include <Approximate.h>
Public Types | |
enum | Style { UNKNOWN = -1, CHEBYSHEV, NUM_STYLES } |
Choose the type of approximation to use. More... | |
Public Member Functions | |
ApproximateControl (Style style, int orderX, int orderY=-1, bool weighting=true) | |
ctor More... | |
Style | getStyle () const |
Return the Style. More... | |
void | setStyle (Style const style) |
Set the Style. More... | |
int | getOrderX () const |
Return the order of approximation to use in the x-direction. More... | |
void | setOrderX (int const orderX) |
Set the order of approximation to use in the x-direction. More... | |
int | getOrderY () const |
Return the order of approximation to use in the y-direction. More... | |
void | setOrderY (int const orderY) |
Set the order of approximation to use in the y-direction. More... | |
bool | getWeighting () const |
Return whether inverse variance weighting will be used in calculation. More... | |
void | setWeighting (bool const weighting) |
Set whether inverse variance weighting will be used in calculation. More... | |
Private Attributes | |
Style | _style |
int | _orderX |
int | _orderY |
bool | _weighting |
Control how to make an approximation.
Definition at line 47 of file Approximate.h.
Choose the type of approximation to use.
Enumerator | |
---|---|
UNKNOWN | |
CHEBYSHEV |
Use a 2-D Chebyshev polynomial. |
NUM_STYLES |
Definition at line 50 of file Approximate.h.
lsst.afw.math::ApproximateControl::ApproximateControl | ( | Style | style, |
int | orderX, | ||
int | orderY = -1 , |
||
bool | weighting = true |
||
) |
ctor
style | Type of approximation |
orderX | Order of approximation to use in x-direction |
orderY | Order of approximation to use in y-direction |
weighting | Use inverse variance weighting? |
Definition at line 48 of file Approximate.cc.
|
inline |
Return the order of approximation to use in the x-direction.
Definition at line 62 of file Approximate.h.
|
inline |
Return the order of approximation to use in the y-direction.
Definition at line 66 of file Approximate.h.
|
inline |
|
inline |
Return whether inverse variance weighting will be used in calculation.
Definition at line 70 of file Approximate.h.
|
inline |
Set the order of approximation to use in the x-direction.
Definition at line 64 of file Approximate.h.
|
inline |
Set the order of approximation to use in the y-direction.
Definition at line 68 of file Approximate.h.
|
inline |
|
inline |
Set whether inverse variance weighting will be used in calculation.
Definition at line 72 of file Approximate.h.
|
private |
Definition at line 75 of file Approximate.h.
|
private |
Definition at line 76 of file Approximate.h.
|
private |
Definition at line 74 of file Approximate.h.
|
private |
Definition at line 77 of file Approximate.h.