#include <ctf.h>
Inheritance diagram for EMAN::Ctf:
Public Types | |
enum | CtfType { CTF_AMP, CTF_SIGN, CTF_BACKGROUND, CTF_SNR, CTF_SNR_SMOOTH, CTF_WIENER_FILTER, CTF_TOTAL } |
enum | { CTFOS = 5 } |
Public Member Functions | |
virtual | ~Ctf () |
virtual int | from_string (const string &ctf)=0 |
virtual string | to_string () const =0 |
virtual void | from_dict (const Dict &dict)=0 |
virtual Dict | to_dict () const =0 |
virtual void | from_vector (const vector< float > &vctf)=0 |
virtual vector< float > | to_vector () const =0 |
virtual vector< float > | compute_1d (int size, float ds, CtfType t, XYData *struct_factor=0)=0 |
virtual void | compute_2d_real (EMData *img, CtfType t, XYData *struct_factor=0)=0 |
virtual void | compute_2d_complex (EMData *img, CtfType t, XYData *struct_factor=0)=0 |
virtual void | copy_from (const Ctf *new_ctf)=0 |
virtual bool | equal (const Ctf *ctf1) const =0 |
Public Attributes | |
float | defocus |
float | bfactor |
float | voltage |
float | cs |
float | apix |
Contrast transfer function (CTF) is the function that describes the transfer of information from the object to the contrast observed in the image for electron microscopy.
Definition at line 63 of file ctf.h.
|
Definition at line 105 of file ctf.h. 00106 { CTFOS = 5 };
|
|
Definition at line 67 of file ctf.h. 00068 { 00069 CTF_AMP, // ctf ampltidue only 00070 CTF_SIGN, // ctf sign (+-1) 00071 CTF_BACKGROUND, // Background, no ctf oscillation 00072 CTF_SNR, // Signal to noise ratio 00073 CTF_SNR_SMOOTH, // Signal to noise ratio, smoothed, algorithm may vary, but this should be more suitable for weighting 00074 CTF_WIENER_FILTER, // Weiner Filter = 1/(1+1/snr) 00075 CTF_TOTAL // AMP*AMP+NOISE 00076 };
|
|
Definition at line 78 of file ctf.h. 00079 { 00080 }
|
|
Implemented in EMAN::EMAN1Ctf, and EMAN::EMAN2Ctf. Referenced by EMAN::FRCCmp::cmp(), EMAN::PhaseCmp::cmp(), and EMAN::SNRProcessor::process_inplace(). |
|
Implemented in EMAN::EMAN1Ctf, and EMAN::EMAN2Ctf. Referenced by EMAN::CtfCAutoAverager::add_image(), EMAN::CtfCWautoAverager::add_image(), and EMAN::Wiener2DFourierProcessor::process(). |
|
Implemented in EMAN::EMAN1Ctf, and EMAN::EMAN2Ctf. |
|
Implemented in EMAN::EMAN1Ctf, and EMAN::EMAN2Ctf. |
|
Implemented in EMAN::EMAN1Ctf, and EMAN::EMAN2Ctf. Referenced by EMAN::EMUtil::is_same_ctf(). |
|
Implemented in EMAN::EMAN1Ctf, and EMAN::EMAN2Ctf. |
|
Implemented in EMAN::EMAN1Ctf, and EMAN::EMAN2Ctf. Referenced by EMAN::EMObject::operator Ctf *(), EMAN::MrcIO::read_ctf(), EMAN::ImagicIO2::read_ctf(), and EMAN::ImagicIO::read_ctf(). |
|
Implemented in EMAN::EMAN1Ctf, and EMAN::EMAN2Ctf. |
|
Implemented in EMAN::EMAN1Ctf, and EMAN::EMAN2Ctf. Referenced by EMAN::file_store::add_image(), EMAN::newfile_store::add_image(), ctf_store_new::init(), and ctf_store::init(). |
|
Implemented in EMAN::EMAN1Ctf, and EMAN::EMAN2Ctf. Referenced by main(), EMAN::MrcIO::write_ctf(), EMAN::ImagicIO2::write_ctf(), and EMAN::ImagicIO::write_ctf(). |
|
Implemented in EMAN::EMAN1Ctf, and EMAN::EMAN2Ctf. Referenced by EMAN::EMData::set_ctf(). |
|
Definition at line 86 of file ctf.h. Referenced by EMAN::FRCCmp::cmp(), EMAN::PhaseCmp::cmp(), EMAN::EMAN2Ctf::copy_from(), EMAN::EMAN1Ctf::copy_from(), EMAN::EMAN2Ctf::equal(), EMAN::EMAN1Ctf::equal(), EMAN::CtfSimProcessor::process(), EMAN::SNRProcessor::process_inplace(), and EMAN::EMData::scale_pixel(). |
|
Definition at line 83 of file ctf.h. Referenced by EMAN::CtfCAutoAverager::add_image(), EMAN::CtfCWautoAverager::add_image(), EMAN::EMAN2Ctf::copy_from(), EMAN::EMAN1Ctf::copy_from(), EMAN::EMAN2Ctf::equal(), EMAN::EMAN1Ctf::equal(), and EMAN::CtfSimProcessor::process(). |
|
Definition at line 85 of file ctf.h. Referenced by EMAN::EMAN2Ctf::copy_from(), EMAN::EMAN1Ctf::copy_from(), EMAN::EMAN2Ctf::equal(), EMAN::EMAN1Ctf::equal(), and EMAN::CtfSimProcessor::process(). |
|
Definition at line 82 of file ctf.h. Referenced by EMAN::EMAN2Ctf::copy_from(), EMAN::EMAN1Ctf::copy_from(), EMAN::EMAN2Ctf::equal(), EMAN::EMAN1Ctf::equal(), and EMAN::CtfSimProcessor::process(). |
|
Definition at line 84 of file ctf.h. Referenced by EMAN::EMAN2Ctf::copy_from(), EMAN::EMAN1Ctf::copy_from(), EMAN::EMAN2Ctf::equal(), EMAN::EMAN1Ctf::equal(), and EMAN::CtfSimProcessor::process(). |