#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 2611 of file processor.h.
|
|
Reimplemented from EMAN::CircularMaskProcessor. Definition at line 2640 of file processor.h. References ny. 02641 {
02642 float gauss_width = params["gauss_width"];
02643 slice_value = gauss_width / (ny * ny);
02644 }
|
|
|
Get the descrition of this specific processor. This function must be overwritten by a subclass.
Reimplemented from EMAN::CircularMaskProcessor. Definition at line 2632 of file processor.h. 02633 {
02634 return "f(x) = f(x) / exp(-radius*radius * gauss_width / (ny*ny))";
02635 }
|
|
|
Get the processor's name. Each processor is identified by a unique name.
Implements EMAN::Processor. Definition at line 2622 of file processor.h. 02623 {
02624 return NAME;
02625 }
|
|
|
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 2614 of file processor.h. References EMAN::TypeDict::put(). 02615 {
02616 TypeDict d = CircularMaskProcessor::get_param_types();
02617 d.put("gauss_width", EMObject::FLOAT, "Used to calculate the constant factor - gauss_width / (ny*ny)" );
02618 d.put("ring_width", EMObject::INT, "The width of the mask ring.");
02619 return d;
02620 }
|
|
|
Definition at line 2627 of file processor.h. 02628 {
02629 return new MaskGaussInvProcessor();
02630 }
|
|
||||||||||||
|
Implements EMAN::CircularMaskProcessor. Definition at line 2646 of file processor.h. References dist(). 02647 {
02648 (*pixel) /= exp(-dist * slice_value);
02649 }
|
|
|
Definition at line 109 of file processor.cpp. |
|
|
Definition at line 2651 of file processor.h. |
1.3.9.1