#include <averager.h>


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 () |
| curves | ||
| sf |
Definition at line 323 of file averager.h.
| 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 326 of file averager.h.
| string EMAN::WeightingAverager::get_desc | ( | ) | const [inline, virtual] |
| 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 341 of file averager.h.
References EMAN::CtfAverager::curves, EMAN::Averager::params, and EMAN::CtfAverager::sf.
00342 { 00343 params = new_params; 00344 curves = params["curves"]; 00345 sf = params["sf"]; 00346 }
| 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 348 of file averager.h.
References EMAN::EMObject::EMDATA, EMAN::TypeDict::put(), and EMAN::EMObject::XYDATA.
00349 { 00350 TypeDict d; 00351 d.put("curves", EMObject::EMDATA); 00352 d.put("sf", EMObject::XYDATA); 00353 return d; 00354 }
1.5.6