4 #ifndef DDECAL_SOLVER_TOOLS_H_
5 #define DDECAL_SOLVER_TOOLS_H_
56 std::vector<std::unique_ptr<base::DPBuffer>>& unweighted_buffers,
57 const std::vector<std::string>& direction_names,
58 std::vector<base::DPBuffer>& weighted_buffers,
59 bool keep_unweighted_model_data,
bool linear_weighting_mode);
Buffer holding the data of a timeslot/band.
xt::xtensor< float, 3 > WeightsType
Definition: DPBuffer.h:96
aocommon::xt::UTensor< std::complex< float >, 3 > DataType
Definition: DPBuffer.h:95
Definition: AmplitudeOnlyConstraint.h:12
void AssignAndWeight(std::vector< std::unique_ptr< base::DPBuffer >> &unweighted_buffers, const std::vector< std::string > &direction_names, std::vector< base::DPBuffer > &weighted_buffers, bool keep_unweighted_model_data, bool linear_weighting_mode)
void Weigh(const base::DPBuffer::DataType &in, base::DPBuffer::DataType &out, const base::DPBuffer::WeightsType &weights)