EMAN2
|
Singular Value Decomposition from GSL. More...
#include <analyzer.h>
Public Member Functions | |
SVDAnalyzer () | |
virtual int | insert_image (EMData *image) |
insert a image to the list of input images More... | |
virtual int | insert_images_list (vector< EMData * > image_list) |
insert a list of images to the list of input images More... | |
virtual vector< EMData * > | analyze () |
main function for Analyzer, analyze input images and create output images More... | |
string | get_name () const |
Get the Analyzer's name. More... | |
string | get_desc () const |
Get the Analyzer's description. More... | |
void | set_params (const Dict &new_params) |
Set the Analyzer parameters using a key/value dictionary. More... | |
TypeDict | get_param_types () const |
Get Analyzer parameter information in a dictionary. More... | |
Public Member Functions inherited from EMAN::Analyzer | |
Analyzer () | |
virtual | ~Analyzer () |
virtual Dict | get_params () const |
Get the Reconstructor's parameters in a key/value dictionary. More... | |
Static Public Member Functions | |
static Analyzer * | NEW () |
Static Public Attributes | |
static const string | NAME = "svd_gsl" |
Protected Attributes | |
EMData * | mask |
int | nvec |
int | pixels |
int | nimg |
Protected Attributes inherited from EMAN::Analyzer | |
Dict | params |
vector< EMData * > | images |
Private Attributes | |
int | nsofar |
gsl_matrix * | A |
Singular Value Decomposition from GSL.
Comparable to pca
mask | mask image |
nvec | number of desired basis vectors |
nimg | total number of input images, required even with insert_image() |
Definition at line 307 of file analyzer.h.
|
inline |
|
virtual |
main function for Analyzer, analyze input images and create output images
Implements EMAN::Analyzer.
Definition at line 959 of file analyzer.cpp.
|
inlinevirtual |
Get the Analyzer's description.
Implements EMAN::Analyzer.
Definition at line 329 of file analyzer.h.
|
inlinevirtual |
Get the Analyzer's name.
Each Analyzer is identified by a unique name.
Implements EMAN::Analyzer.
Definition at line 324 of file analyzer.h.
References NAME.
|
inlinevirtual |
Get Analyzer parameter information in a dictionary.
Each parameter has one record in the dictionary. Each record contains its name, data-type, and description.
Implements EMAN::Analyzer.
Definition at line 341 of file analyzer.h.
References EMAN::EMObject::EMDATA, EMAN::EMObject::INT, and EMAN::TypeDict::put().
|
virtual |
insert a image to the list of input images
image |
Implements EMAN::Analyzer.
Definition at line 937 of file analyzer.cpp.
References A, mask, nsofar, and NullPointerException.
|
inlinevirtual |
insert a list of images to the list of input images
image_list |
Reimplemented from EMAN::Analyzer.
Definition at line 314 of file analyzer.h.
References EMAN::Analyzer::images.
|
inlinestatic |
|
virtual |
Set the Analyzer parameters using a key/value dictionary.
new_params | A dictionary containing the new parameters. |
Reimplemented from EMAN::Analyzer.
Definition at line 1003 of file analyzer.cpp.
References A, mask, nimg, nsofar, nvec, EMAN::Analyzer::params, and pixels.
|
private |
Definition at line 360 of file analyzer.h.
Referenced by analyze(), insert_image(), and set_params().
|
protected |
Definition at line 353 of file analyzer.h.
Referenced by analyze(), insert_image(), and set_params().
|
static |
Definition at line 350 of file analyzer.h.
Referenced by get_name().
|
protected |
Definition at line 356 of file analyzer.h.
Referenced by analyze(), and set_params().
|
private |
Definition at line 359 of file analyzer.h.
Referenced by insert_image(), and set_params().
|
protected |
Definition at line 354 of file analyzer.h.
Referenced by analyze(), and set_params().
|
protected |
Definition at line 355 of file analyzer.h.
Referenced by set_params().