#include <SolutionWriter.h>
|
| | SolutionWriter (const std::string &filename) |
| |
| void | AddAntennas (const std::vector< std::string > &all_antenna_names, const std::vector< std::array< double, 3 >> &all_antenna_positions) |
| |
| void | Write (const std::vector< std::vector< std::vector< std::complex< double >>>> &solutions, const std::vector< std::vector< std::vector< ddecal::ConstraintResult >>> &constraint_solutions, double start_time, double end_time, double ms_timestep_duration, size_t n_interval_timesteps, const std::vector< size_t > &solutions_per_direction, base::CalType mode, const std::vector< std::string > &used_antenna_names, const std::vector< base::Direction > &source_directions, const std::vector< std::vector< std::string >> &directions, const std::vector< double > &chan_freqs, const std::vector< double > &chan_block_freqs, const std::string &history) |
| |
◆ SolutionWriter()
| dp3::ddecal::SolutionWriter::SolutionWriter |
( |
const std::string & |
filename | ) |
|
|
explicit |
Constructor. Initializes the writer for writing to a specific file.
- Parameters
-
| filename | Name of H5Parm file. Will be overwritten if it exists. |
◆ AddAntennas()
| void dp3::ddecal::SolutionWriter::AddAntennas |
( |
const std::vector< std::string > & |
all_antenna_names, |
|
|
const std::vector< std::array< double, 3 >> & |
all_antenna_positions |
|
) |
| |
Write main antenna properties.
◆ Write()
| void dp3::ddecal::SolutionWriter::Write |
( |
const std::vector< std::vector< std::vector< std::complex< double >>>> & |
solutions, |
|
|
const std::vector< std::vector< std::vector< ddecal::ConstraintResult >>> & |
constraint_solutions, |
|
|
double |
start_time, |
|
|
double |
end_time, |
|
|
double |
ms_timestep_duration, |
|
|
size_t |
n_interval_timesteps, |
|
|
const std::vector< size_t > & |
solutions_per_direction, |
|
|
base::CalType |
mode, |
|
|
const std::vector< std::string > & |
used_antenna_names, |
|
|
const std::vector< base::Direction > & |
source_directions, |
|
|
const std::vector< std::vector< std::string >> & |
directions, |
|
|
const std::vector< double > & |
chan_freqs, |
|
|
const std::vector< double > & |
chan_block_freqs, |
|
|
const std::string & |
history |
|
) |
| |
- Parameters
-
| solutions | has dimensions time, frequency block, and then a combination of n_antennas * n_sub_solutions * n_pol. |
| constraint_solutions | has dimensions time, constraint index, constraint sub-type index. |
| n_interval_timesteps | The number of data timesteps in one solution (coming from the solint parset key). |
The documentation for this class was generated from the following file: