#include <processor.h>
Inheritance diagram for EMAN::AddSigmaNoiseProcessor:
Public Member Functions | |
virtual string | get_name () const |
Get the processor's name. | |
virtual string | get_desc () const |
Get the descrition of this specific processor. | |
Static Public Member Functions | |
static Processor * | NEW () |
Static Public Attributes | |
static const string | NAME = "math.addsignoise" |
Protected Member Functions | |
float | get_sigma (EMData *image) |
Definition at line 4683 of file processor.h.
virtual string EMAN::AddSigmaNoiseProcessor::get_desc | ( | ) | const [inline, virtual] |
Get the descrition of this specific processor.
This function must be overwritten by a subclass.
Reimplemented from EMAN::AddNoiseProcessor.
Definition at line 4696 of file processor.h.
virtual string EMAN::AddSigmaNoiseProcessor::get_name | ( | ) | const [inline, virtual] |
Get the processor's name.
Each processor is identified by a unique name.
Reimplemented from EMAN::AddNoiseProcessor.
Definition at line 4686 of file processor.h.
References NAME.
04687 { 04688 return NAME; 04689 }
float AddSigmaNoiseProcessor::get_sigma | ( | EMData * | image | ) | [protected, virtual] |
Reimplemented from EMAN::AddNoiseProcessor.
Definition at line 4514 of file processor.cpp.
References EMAN::EMData::get_attr(), and LOGWARN.
04515 { 04516 if (!image) { 04517 LOGWARN("NULL Image"); 04518 return 0; 04519 } 04520 return image->get_attr("sigma"); 04521 }
static Processor* EMAN::AddSigmaNoiseProcessor::NEW | ( | ) | [inline, static] |
Reimplemented from EMAN::AddNoiseProcessor.
Definition at line 4691 of file processor.h.
04692 { 04693 return new AddSigmaNoiseProcessor(); 04694 }
const string AddSigmaNoiseProcessor::NAME = "math.addsignoise" [static] |
Reimplemented from EMAN::AddNoiseProcessor.
Definition at line 4701 of file processor.h.
Referenced by get_name().