DataAndModelReport.h
1//-*-C++-*-
2/***************************************************************************
3 *
4 * Copyright (C) 2023 by Lucas Guillemot and Willem van Straten
5 * Licensed under the Academic Free License version 2.1
6 *
7 ***************************************************************************/
8
9// psrchive/More/Polarimetry/Pulsar/DataAndModelReport.h
10
11#ifndef __DataAndModelReport_H
12#define __DataAndModelReport_H
13
14#include "Pulsar/ReceptionModelReport.h"
15#include <set>
16
17namespace Calibration
18{
21 {
22
23 public:
24
26 DataAndModelReport (const std::string& name)
27 : ReceptionModel::Report (name) { }
28
31 { return new DataAndModelReport (*this); }
32
34 void report ();
35
37 void report (std::ostream&);
38
40 std::set<std::string> get_source_names ();
41
42 private:
43 std::string current_source_name;
44 };
45
46}
47
48#endif
49
DataAndModelReport(const std::string &name)
Construct with filename.
Definition DataAndModelReport.h:26
std::set< std::string > get_source_names()
Return the names of all source in the data set.
Definition DataAndModelReport.C:36
ReceptionModel::Report * clone() const
Return a new, copy-constructed clone.
Definition DataAndModelReport.h:30
void report()
Write the report for each pulsar.
Definition DataAndModelReport.C:14
Base class of objects that report on properties of the measurement equation.
Definition ReceptionModelReport.h:20
Report(const std::string &name)
Construct with filename.
Definition ReceptionModelReport.h:31
Models a set of transformations and source polarizations.
Definition ReceptionModel.h:28

Generated using doxygen 1.14.0