#include <analyzer.h>
Inheritance diagram for EMAN::Analyzer:
Public Member Functions | |
Analyzer () | |
virtual | ~Analyzer () |
virtual int | insert_image (EMData *image)=0 |
insert a image to the list of input images | |
virtual int | insert_images_list (vector< EMData * > image_list) |
insert a list of images to the list of input images | |
virtual vector< EMData * > | analyze ()=0 |
main function for Analyzer, analyze input images and create output images | |
virtual string | get_name () const =0 |
Get the Analyzer's name. | |
virtual string | get_desc () const =0 |
Get the Analyzer's description. | |
virtual void | set_params (const Dict &new_params) |
Set the Analyzer parameters using a key/value dictionary. | |
virtual Dict | get_params () const |
Get the Reconstructor's parameters in a key/value dictionary. | |
virtual TypeDict | get_param_types () const =0 |
Get Analyzer parameter information in a dictionary. | |
Protected Attributes | |
Dict | params |
vector< EMData * > | images |
Analyzer class is the base class for all analyzer classes. Each specific analyzer has a unique ID name. This name is used to call a analyzer.
All Analyzer classes in EMAN are managed by a Factory pattern. So each Analyzer class must define:
Definition at line 60 of file analyzer.h.
|
Definition at line 63 of file analyzer.h. 00063 {}
|
|
Definition at line 65 of file analyzer.h. 00066 {}
|
|
main function for Analyzer, analyze input images and create output images
Implemented in EMAN::KMeansAnalyzer, EMAN::SVDAnalyzer, EMAN::PCAsmall, EMAN::PCAlarge, and EMAN::varimax. |
|
Get the Analyzer's description.
Implemented in EMAN::KMeansAnalyzer, EMAN::SVDAnalyzer, EMAN::PCAsmall, EMAN::PCAlarge, and EMAN::varimax. |
|
Get the Analyzer's name. Each Analyzer is identified by a unique name.
Implemented in EMAN::KMeansAnalyzer, EMAN::SVDAnalyzer, EMAN::PCAsmall, EMAN::PCAlarge, and EMAN::varimax. |
|
Get Analyzer parameter information in a dictionary. Each parameter has one record in the dictionary. Each record contains its name, data-type, and description.
Implemented in EMAN::KMeansAnalyzer, EMAN::SVDAnalyzer, EMAN::PCAsmall, EMAN::PCAlarge, and EMAN::varimax. |
|
Get the Reconstructor's parameters in a key/value dictionary.
Definition at line 106 of file analyzer.h. 00107 {
00108 return params;
00109 }
|
|
insert a image to the list of input images
Implemented in EMAN::KMeansAnalyzer, EMAN::SVDAnalyzer, EMAN::PCAsmall, EMAN::PCAlarge, and EMAN::varimax. Referenced by insert_images_list(). |
|
insert a list of images to the list of input images
Reimplemented in EMAN::SVDAnalyzer. Definition at line 68 of file analyzer.cpp. References insert_image(). 00069 { 00070 vector<EMData *>::const_iterator iter; 00071 for(iter=image_list.begin(); iter!=image_list.end(); ++iter) { 00072 insert_image(*iter); 00073 } 00074 return 0; 00075 }
|
|
Set the Analyzer parameters using a key/value dictionary.
Reimplemented in EMAN::KMeansAnalyzer, EMAN::SVDAnalyzer, EMAN::PCAsmall, EMAN::PCAlarge, and EMAN::varimax. Definition at line 98 of file analyzer.h. 00099 { 00100 params = new_params; 00101 }
|
|
Definition at line 121 of file analyzer.h. |
|
Definition at line 120 of file analyzer.h. |