EMAN2
|
Amplitude weighted mean phase difference (radians) with optional SNR weight. More...
#include <cmp.h>
Public Member Functions | |
float | cmp (EMData *image, EMData *with) const |
To compare 'image' with another image passed in through its parameters. More... | |
string | get_name () const |
Get the Cmp's name. More... | |
string | get_desc () const |
TypeDict | get_param_types () const |
Get Cmp parameter information in a dictionary. More... | |
Public Member Functions inherited from EMAN::Cmp | |
virtual | ~Cmp () |
virtual Dict | get_params () const |
Get the Cmp parameters in a key/value dictionary. More... | |
virtual void | set_params (const Dict &new_params) |
Set the Cmp parameters using a key/value dictionary. More... | |
Static Public Member Functions | |
static Cmp * | NEW () |
Static Public Attributes | |
static const string | NAME = "phase" |
Additional Inherited Members | |
Protected Member Functions inherited from EMAN::Cmp | |
void | validate_input_args (const EMData *image, const EMData *with) const |
Protected Attributes inherited from EMAN::Cmp | |
Dict | params |
Amplitude weighted mean phase difference (radians) with optional SNR weight.
SNR should be an array as returned by ctfcurve() 'with' should be the less noisy image, since it's amplitudes will be used to weight the phase residual. 2D only.
Use Phase Residual as a measure of similarity Differential phase residual (DPR) is a measure of statistical dependency between two averages, computed over rings in Fourier space as a function of ring radius (= spatial frequency, or resolution)
To compare 'image' with another image passed in through its parameters.
An optional transformation may be used to transform the 2 images.
image | The first image to be compared. |
with | The second image to be comppared. |
Implements EMAN::Cmp.
Definition at line 1222 of file cmp.cpp.
References EMAN::Util::angle_err_ri(), EMAN::Ctf::apix, EMAN::Ctf::compute_1d(), EMAN::Ctf::CTF_SNR, ENTERFUNC, EXITFUNC, EMAN::Util::hypot3(), EMAN::Util::hypot_fast_int(), InvalidCallException, EMAN::Cmp::params, EMAN::Dict::set_default(), x, and y.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Get Cmp parameter information in a dictionary.
Each parameter has one record in the dictionary. Each record contains its name, data-type, and description.
Implements EMAN::Cmp.
Definition at line 656 of file cmp.h.
References EMAN::EMObject::FLOAT, EMAN::EMObject::INT, and EMAN::TypeDict::put().
|
inlinestatic |
|
static |
Definition at line 668 of file cmp.h.
Referenced by get_name().