Alternaria
fit cylinders and ellipsoids to fungus
Sampler_move_parameters Class Reference

#include <sampler.h>

Collaboration diagram for Sampler_move_parameters:

List of all members.

Public Member Functions

 Sampler_move_parameters (Alternaria_model *alternaria, PSF_model *psf, Imaging_model *imaging, const jwsc::Matblock_f *data) throw (jwscxx::base::Arg_error)
 Constructs a Sampler_move_parameters.
virtual ~Sampler_move_parameters ()
 Deletes a Sampler_move_parameters.
void init_proposals ()
 Initializes the proposal models with a copy of the most recently accepted models.

Public Attributes

Alternaria_modelalternaria
 Most recently accepted Alternaria_model.
PSF_modelpsf
 Most recently accepted PSF_model.
Imaging_modelimaging
 Most recently accepted Imaging_model.
double ll
 Log likelihood of the most recently accepted models.
Alternaria_modelalternaria_proposal
 Most recently proposed Alternaria_model.
PSF_modelpsf_proposal
 Most recently proposed PSF_model.
Imaging_modelimaging_proposal
 Most recently proposed Imaging_model.
double ll_proposal
 Log likelihood of the most recently proposed models.
const jwsc::Matblock_f * data
 Data to analyze.
float data_avg
 Average value of the data.

Detailed Description

Definition at line 73 of file sampler.h.


Constructor & Destructor Documentation

Sampler_move_parameters::Sampler_move_parameters ( Alternaria_model alternaria,
PSF_model psf,
Imaging_model imaging,
const jwsc::Matblock_f *  data 
) throw (jwscxx::base::Arg_error)

Constructs a Sampler_move_parameters.

Parameters:
alternariaAlternaria_model to set as the first accepted model.
psfPSF_model to set as the first accepted model.
imagingImaging_model to set as the first accepted model.
dataData to analyze.
Exceptions:
jwscxx::base::Arg_errorImaging window too large for the data.

Definition at line 88 of file sampler.cpp.

Sampler_move_parameters::~Sampler_move_parameters ( ) [virtual]

Deletes a Sampler_move_parameters.

Deletes the proposal models.

Definition at line 122 of file sampler.cpp.


Member Function Documentation

void Sampler_move_parameters::init_proposals ( )

Initializes the proposal models with a copy of the most recently accepted models.

Deletes the current proposals and copies the accepted ones into it.

Definition at line 134 of file sampler.cpp.


Member Data Documentation

Most recently accepted Alternaria_model.

Definition at line 100 of file sampler.h.

Most recently accepted PSF_model.

Definition at line 103 of file sampler.h.

Most recently accepted Imaging_model.

Definition at line 106 of file sampler.h.

Log likelihood of the most recently accepted models.

Definition at line 109 of file sampler.h.

Most recently proposed Alternaria_model.

Definition at line 112 of file sampler.h.

Most recently proposed PSF_model.

Definition at line 115 of file sampler.h.

Most recently proposed Imaging_model.

Definition at line 118 of file sampler.h.

Log likelihood of the most recently proposed models.

Definition at line 121 of file sampler.h.

const jwsc::Matblock_f* Sampler_move_parameters::data

Data to analyze.

Definition at line 124 of file sampler.h.

Average value of the data.

Definition at line 127 of file sampler.h.


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