Skip to content
Snippets Groups Projects
Commit c1eebac5 authored by Andre Offringa's avatar Andre Offringa Committed by Andre Offringa
Browse files

buffer -> destination

parent 1a2a97cd
No related tags found
No related merge requests found
......@@ -42,14 +42,14 @@ class GriddedResponse {
*
* @param beam_mode Selects beam mode (BeamMode::kElement,
* BeamMode::kArrayFactor or BeamMode::kFull)
* @param buffer Output buffer, compute and set size with
* @param destination Output buffer, compute and set size with
* GriddedResponse::GetStationBufferSize(1)
* @param station_idx Station index, must be smaller than number of stations
* in the Telescope
* @param time Time, modified Julian date, UTC, in seconds (MJD(UTC), s).
* @param frequency Frequency (Hz)
*/
virtual void Response(BeamMode beam_mode, std::complex<float>* buffer,
virtual void Response(BeamMode beam_mode, std::complex<float>* destination,
double time, double freq, size_t station_idx,
size_t field_id) = 0;
......@@ -59,14 +59,15 @@ class GriddedResponse {
* matrix (4 complex valued floats) per pixel for each station.
*
* @param beam_mode Selects beam mode (element, array factor or full)
* @param buffer Output buffer, compute and set size with
* @param destination Output buffer, compute and set size with
* GriddedResponse::GetStationBufferSize()
* @param time Time, modified Julian date, UTC, in seconds (MJD(UTC), s).
* @param frequency Frequency (Hz)
*/
virtual void ResponseAllStations(BeamMode beam_mode,
std::complex<float>* buffer, double time,
double frequency, size_t field_id) = 0;
std::complex<float>* destination,
double time, double frequency,
size_t field_id) = 0;
/**
* @brief Calculate integrated/undersampled beam for a single time step.
......@@ -75,7 +76,7 @@ class GriddedResponse {
* version.
*
* @param beam_mode Selects beam mode (element, array factor or full)
* @param buffer Buffer for storing the result, should have size width *
* @param destination Buffer for storing the result, should have size width *
* height * 16
* @param time Time, modified Julian date, UTC, in seconds (MJD(UTC), s).
* @param frequency Frequency (Hz)
......@@ -84,7 +85,7 @@ class GriddedResponse {
* @param baseline_weights Baseline weights, size should equal
* Telescope::GetNrStations() * (Telescope::GetNrStations() + 1)/2
*/
virtual void IntegratedResponse(BeamMode beam_mode, float* buffer,
virtual void IntegratedResponse(BeamMode beam_mode, float* destination,
double time, double frequency,
size_t field_id, size_t undersampling_factor,
const std::vector<double>& baseline_weights);
......@@ -99,7 +100,7 @@ class GriddedResponse {
* be used.
*
* @param beam_mode Selects beam mode (element, array factor or full)
* @param buffer Buffer for storing the result, should have size width *
* @param destination Buffer for storing the result, should have size width *
* height * 16
* @param time_array Vector with probing times, modified Julian date, UTC, in
* seconds (MJD(UTC), s).
......@@ -131,8 +132,8 @@ class GriddedResponse {
/**
* Upsample a single element from an undersampled response.
* @param buffer Result buffer for one Mueller matrix element of size Width()
* x Height().
* @param destination Result buffer for one Mueller matrix element of size
* Width() x Height().
* @param element_index Value from 0 to 15 indicating which Mueller matrix to
* upsample.
* @param undersampled_beam The previously calculated undersampled response
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment