CompositePipeline¶
- class nsb2.core.pipeline.CompositePipeline[source]¶
Bases:
objectSeveral pipelines run together as one.
See also
Pipeline.__add__The usual way to build one.
Methods Summary
compile(**kwargs)Compile every constituent pipeline.
predict(observation)Run every constituent pipeline for one observation.
Methods Documentation
- compile(**kwargs)[source]¶
Compile every constituent pipeline.
- Parameters:
**kwargs – Solver-specific compilation options, forwarded to every pipeline.
- Returns:
Summed compilation cost metric.
- Return type:
- predict(observation)[source]¶
Run every constituent pipeline for one observation.
- Parameters:
observation (astropy.coordinates.BaseCoordinateFrame) – The telescope pointing frame.
- Returns:
The concatenated predictions of every constituent pipeline.
- Return type:
- classmethod __new__(*args, **kwargs)¶