model_ensemble_averaged_scattered_image Class Reference

Defines the interface for models that generate scattered visibilities. More...

#include "model/model_ensemble_averaged_scattered_image.h"

Inheritance diagram for model_ensemble_averaged_scattered_image:
Collaboration diagram for model_ensemble_averaged_scattered_image:

Public Member Functions

 model_ensemble_averaged_scattered_image (model_visibility_amplitude &model)
 
virtual size_t size () const
 Size of the supplied model image, i.e., number of parameters expected.
 
virtual void generate_model (std::vector< double > parameters)
 Takes model parameters and generates.
 
virtual double visibility_amplitude (datum_visibility_amplitude &d, double accuracy)
 A user-supplied function that returns the visibility amplitude in Jy. Takes a datum_visibility_amplitude to provide access to the various accoutrements. While this provides access to the actual data value, the two could be separated if necessary. Also takes an accuracy parameter with the same units as the data, indicating the accuracy with which the model must generate a comparison value.
 
virtual void set_mpi_communicator (MPI_Comm comm)
 

Private Attributes

model_visibility_amplitude_model
 

Additional Inherited Members

- Protected Attributes inherited from model_visibility_amplitude
MPI_Comm _comm
 

Detailed Description

Author
Roman Gold
Date
Apr 2017

Scattering implementation assumes we are in ensemble-averaged (Gaussian blurring) regime

Member Function Documentation

void set_mpi_communicator ( MPI_Comm  comm)
virtual

Defines a set of processors provided to the model for parallel computation via an MPI communicator. Only facilates code parallelization if the model computation is parallelized via MPI.

Reimplemented from model_visibility_amplitude.

Here is the call graph for this function:


The documentation for this class was generated from the following files: