SystemCalibratorStepFinder.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2021 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/More/Polarimetry/Pulsar/SystemCalibratorStepFinder.h
10 
11 #ifndef __Pulsar_SystemCalibratorStepFinder_H
12 #define __Pulsar_SystemCalibratorStepFinder_H
13 
14 #include "Pulsar/SystemCalibrator.h"
15 
16 class Pulsar::SystemCalibrator::StepFinder : public Reference::Able
17 {
18 public:
19 
20  virtual void process (SystemCalibrator*) = 0;
21 
22 protected:
23 
24  std::vector< std::vector<Calibration::SourceObservation> >&
25  get_calibrator_data (SystemCalibrator* sc) { return sc->calibrator_data; }
26 
27  std::vector< std::vector<Calibration::CoherencyMeasurementSet> >&
28  get_pulsar_data (SystemCalibrator* sc) { return sc->pulsar_data; }
29 
31  get_model (SystemCalibrator* sc) { return sc->model; }
32 };
33 
34 
35 #endif
SystemCalibrator(Archive *archive=0)
Construct with optional processed calibrator Archive.
Definition: SystemCalibrator.C:53
virtual const Calibration::SignalPath * get_model(unsigned ichan) const
Return the SignalPath for the specified channel.
Definition: SystemCalibrator.C:1551

Generated using doxygen 1.8.17