|
DP3
|
#include <SolveData.h>
Classes | |
| class | ChannelBlockData |
Public Member Functions | |
| SolveData (const BdaSolverBuffer &buffer, size_t n_channel_blocks, size_t n_antennas, const std::vector< size_t > &n_solutions_per_direction, const std::vector< int > &antennas1, const std::vector< int > &antennas2, bool with_weights) | |
| SolveData (const std::vector< base::DPBuffer > &buffers, const std::vector< std::string > &direction_names, size_t n_channel_blocks, size_t n_antennas, const std::vector< size_t > &n_solutions_per_direction, const std::vector< int > &antennas1, const std::vector< int > &antennas2) | |
| const ChannelBlockData & | ChannelBlock (size_t i) const |
| std::vector< std::vector< double > > | GetSolutionWeights () const |
| size_t | NChannelBlocks () const |
Contains exactly the data required for solving: (weighted) data, model_data and the associated antennas for each visibility. In this class, the term visibility refers to either a 2x2 diagonal or a full 2x2 matrix, containing 2 or 4 polarizations respectively.
| dp3::ddecal::SolveData< MatrixType >::SolveData | ( | const std::vector< base::DPBuffer > & | buffers, |
| const std::vector< std::string > & | direction_names, | ||
| size_t | n_channel_blocks, | ||
| size_t | n_antennas, | ||
| const std::vector< size_t > & | n_solutions_per_direction, | ||
| const std::vector< int > & | antennas1, | ||
| const std::vector< int > & | antennas2 | ||
| ) |
Constructor for regular data.
| buffers | Weighted data and weighted model data for all time steps in the current solution interval. |
| directions_names | Names of the model data in 'buffers'. |
| n_channel_blocks | Number of channel blocks / groups. |
| n_antennas | Number of antennas. |
| n_solutions_per_direction | For each direction, the number of solutions for this direction. The timesteps in the buffer are split evenly over the solutions. This allows direction-dependent solution intervals. If n_solutions_per_direction[i] is larger than the number of available timesteps, it is truncated. |
| antennas1 | For each baseline, the index of the first antenna. |
| antennas2 | For each baseline, the index of the second antenna. |
| dp3::ddecal::SolveData< MatrixType >::SolveData | ( | const BdaSolverBuffer & | buffer, |
| size_t | n_channel_blocks, | ||
| size_t | n_antennas, | ||
| const std::vector< size_t > & | n_solutions_per_direction, | ||
| const std::vector< int > & | antennas1, | ||
| const std::vector< int > & | antennas2, | ||
| bool | with_weights | ||
| ) |
Constructor for BDA data.
| buffer | Buffer with BDA data for the current solution interval. |
| n_channel_blocks | Number of channel blocks / groups. |
| n_directions | Number of solver directions. |
| n_antennas | Number of antennas. |
| antennas1 | For each baseline, the index of the first antenna. |
| antennas2 | For each baseline, the index of the second antenna. |
|
inline |
| std::vector<std::vector<double> > dp3::ddecal::SolveData< MatrixType >::GetSolutionWeights | ( | ) | const |
Get solution weights, which are the direction-dependent weights.
|
inline |