#include <processor.h>
Inheritance diagram for EMAN::MaskGaussInvProcessor:
Public Member Functions | |
TypeDict | get_param_types () const |
Get processor parameter information in a dictionary. | |
string | get_name () const |
Get the processor's name. | |
string | get_desc () const |
Get the descrition of this specific processor. | |
Static Public Member Functions | |
Processor * | NEW () |
Static Public Attributes | |
const string | NAME = "math.gausskernelfix" |
Protected Member Functions | |
void | calc_locals (EMData *) |
void | process_dist_pixel (float *pixel, float dist) const |
Private Attributes | |
float | slice_value |
gauss_width | Used to calculate the constant factor - gauss_width / (ny*ny) | |
ring_width | The width of the mask ring |
Definition at line 2555 of file processor.h.
|
Reimplemented from EMAN::CircularMaskProcessor. Definition at line 2584 of file processor.h. References ny. 02585 { 02586 float gauss_width = params["gauss_width"]; 02587 slice_value = gauss_width / (ny * ny); 02588 }
|
|
Get the descrition of this specific processor. This function must be overwritten by a subclass.
Reimplemented from EMAN::CircularMaskProcessor. Definition at line 2576 of file processor.h. 02577 { 02578 return "f(x) = f(x) / exp(-radius*radius * gauss_width / (ny*ny))"; 02579 }
|
|
Get the processor's name. Each processor is identified by a unique name.
Implements EMAN::Processor. Definition at line 2566 of file processor.h. 02567 {
02568 return NAME;
02569 }
|
|
Get processor 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::CircularMaskProcessor. Definition at line 2558 of file processor.h. References EMAN::TypeDict::put(). 02559 { 02560 TypeDict d = CircularMaskProcessor::get_param_types(); 02561 d.put("gauss_width", EMObject::FLOAT, "Used to calculate the constant factor - gauss_width / (ny*ny)" ); 02562 d.put("ring_width", EMObject::INT, "The width of the mask ring."); 02563 return d; 02564 }
|
|
Definition at line 2571 of file processor.h. 02572 { 02573 return new MaskGaussInvProcessor(); 02574 }
|
|
Implements EMAN::CircularMaskProcessor. Definition at line 2590 of file processor.h. References dist(). 02591 { 02592 (*pixel) /= exp(-dist * slice_value); 02593 }
|
|
Definition at line 107 of file processor.cpp. |
|
Definition at line 2595 of file processor.h. |