pipeline.hif.tasks.bandpass.adapters¶
The adapters module contains classes that adapt Heuristics in the
pipeline.heuristics
package, allowing them to be called directly with
low-level objects from the pipeline domain.
Heuristics in the pipeline.heuristics package have simple interfaces; to maximize their ease of use, their interfaces accept only Python and NumPy primitives.
As the pipeline deals with complex lower-level objects and structures, we need a way to convert from these structures to the simple primitives demanded by the Heuristics. The classes in this module encapsulate that logic, converting objects or reading calibration tables as necessary and extracting the information needed by the wrapped Heuristic.
Classes
|
|
|
|
|
PhaseUpSolIntAdapter adapts the |
|
PolynomialHeuristicAdapter converts from the pipeline interface for a polynomial order heuristic, the string name of a caltable, to the data types needed by the heuristic itself, which are numerical data arrays. |