#include <averager.h>
Inheritance diagram for EMAN::WeightingAverager:
Public Member Functions | |
string | get_name () const |
Get the Averager's name. | |
string | get_desc () const |
void | set_params (const Dict &new_params) |
Set the Averager parameters using a key/value dictionary. | |
TypeDict | get_param_types () const |
Get Averager parameter information in a dictionary. | |
Static Public Member Functions | |
static Averager * | NEW () |
Static Public Attributes | |
static const string | NAME = "snr_weight" |
curves | ||
sf |
Definition at line 330 of file averager.h.
string EMAN::WeightingAverager::get_desc | ( | ) | const [inline, virtual] |
string EMAN::WeightingAverager::get_name | ( | ) | const [inline, virtual] |
Get the Averager's name.
Each Averager is identified by a unique name.
Implements EMAN::Averager.
Definition at line 333 of file averager.h.
References NAME.
00334 { 00335 return NAME; 00336 }
TypeDict EMAN::WeightingAverager::get_param_types | ( | ) | const [inline, virtual] |
Get Averager parameter information in a dictionary.
Each parameter has one record in the dictionary. Each record contains its name, data-type, and description.
Reimplemented from EMAN::Averager.
Definition at line 355 of file averager.h.
References EMAN::EMObject::EMDATA, EMAN::TypeDict::put(), and EMAN::EMObject::XYDATA.
00356 { 00357 TypeDict d; 00358 d.put("curves", EMObject::EMDATA); 00359 d.put("sf", EMObject::XYDATA); 00360 return d; 00361 }
static Averager* EMAN::WeightingAverager::NEW | ( | ) | [inline, static] |
void EMAN::WeightingAverager::set_params | ( | const Dict & | new_params | ) | [inline, virtual] |
Set the Averager parameters using a key/value dictionary.
new_params | A dictionary containing the new parameters. |
Reimplemented from EMAN::Averager.
Definition at line 348 of file averager.h.
References EMAN::CtfAverager::curves, EMAN::Averager::params, and EMAN::CtfAverager::sf.
00349 { 00350 params = new_params; 00351 curves = params["curves"]; 00352 sf = params["sf"]; 00353 }
const string WeightingAverager::NAME = "snr_weight" [static] |