#include <processor.h>
Inheritance diagram for EMAN::FFTProcessor:


Public Member Functions | |
| void | process_inplace (EMData *image) |
| To process an image in-place. | |
| string | get_name () const |
| Get the processor's name. | |
| TypeDict | get_param_types () const |
| Get processor parameter information in a dictionary. | |
| string | get_desc () const |
| Get the descrition of this specific processor. | |
Static Public Member Functions | |
| Processor * | NEW () |
Static Public Attributes | |
| const string | NAME = "basis.fft" |
| dir | 1 for forward transform, -1 for inverse transform, forward transform by default |
Definition at line 6711 of file processor.h.
|
|
Get the descrition of this specific processor. This function must be overwritten by a subclass.
Implements EMAN::Processor. Definition at line 6733 of file processor.h. 06734 {
06735 return "Computes the DFFT (Discrete Fast Fourier Transform) of an image";
06736 }
|
|
|
Get the processor's name. Each processor is identified by a unique name.
Implements EMAN::Processor. Definition at line 6716 of file processor.h. 06717 {
06718 return NAME;
06719 }
|
|
|
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::Processor. Definition at line 6726 of file processor.h. References EMAN::TypeDict::put(). 06727 {
06728 TypeDict d;
06729 d.put("dir", EMObject::INT, "1 for forward transform, -1 for inverse transform");
06730 return d;
06731 }
|
|
|
Definition at line 6721 of file processor.h. 06722 {
06723 return new FFTProcessor();
06724 }
|
|
|
To process an image in-place. For those processors which can only be processed out-of-place, override this function to just print out some error message to remind user call the out-of-place version.
Implements EMAN::Processor. Definition at line 8054 of file processor.cpp. References EMAN::EMData::do_fft_inplace(), EMAN::EMData::do_ift_inplace(), and EMAN::Dict::has_key(). 08055 {
08056 if( params.has_key("dir") ) {
08057 if ((int)params["dir"]==-1) {
08058 image->do_ift_inplace();
08059 }
08060 else {
08061 image->do_fft_inplace();
08062 }
08063 }
08064 }
|
|
|
Definition at line 214 of file processor.cpp. |
1.3.9.1