EMAN2
|
Ctf is the base class for all CTF model. More...
#include <ctf.h>
Public Types | |
enum | CtfType { CTF_AMP , CTF_SIGN , CTF_BACKGROUND , CTF_SNR , CTF_SNR_SMOOTH , CTF_WIENER_FILTER , CTF_TOTAL , CTF_FITREF , CTF_NOISERATIO , CTF_INTEN , CTF_POWEVAL , CTF_ALIFILT , CTF_ABS } |
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 float | zero (int n) const =0 |
virtual vector< float > | compute_1d (int size, float ds, CtfType t, XYData *struct_factor=0)=0 |
virtual vector< float > | compute_1d_fromimage (int size, float ds, EMData *image)=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 |
virtual float | get_phase () const =0 |
virtual void | set_phase (float phase)=0 |
Public Attributes | |
float | defocus |
float | bfactor |
float | voltage |
float | cs |
float | apix |
Ctf is the base class for all CTF model.
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.
enum EMAN::Ctf::CtfType |
Enumerator | |
---|---|
CTF_AMP | |
CTF_SIGN | |
CTF_BACKGROUND | |
CTF_SNR | |
CTF_SNR_SMOOTH | |
CTF_WIENER_FILTER | |
CTF_TOTAL | |
CTF_FITREF | |
CTF_NOISERATIO | |
CTF_INTEN | |
CTF_POWEVAL | |
CTF_ALIFILT | |
CTF_ABS |
Definition at line 63 of file ctf.h.
|
pure virtual |
Implemented in EMAN::EMAN1Ctf, and EMAN::EMAN2Ctf.
Referenced by EMAN::PhaseCmp::cmp(), EMAN::FRCCmp::cmp(), and EMAN::SNRProcessor::process_inplace().
|
pure virtual |
Implemented in EMAN::EMAN1Ctf, and EMAN::EMAN2Ctf.
|
pure virtual |
Implemented in EMAN::EMAN1Ctf, and EMAN::EMAN2Ctf.
|
pure virtual |
Implemented in EMAN::EMAN1Ctf, and EMAN::EMAN2Ctf.
|
pure virtual |
Implemented in EMAN::EMAN1Ctf, and EMAN::EMAN2Ctf.
Referenced by EMAN::EMUtil::is_same_ctf().
|
pure virtual |
Implemented in EMAN::EMAN1Ctf, and EMAN::EMAN2Ctf.
|
pure virtual |
Implemented in EMAN::EMAN1Ctf, and EMAN::EMAN2Ctf.
Referenced by EMAN::EMObject::operator Ctf *(), EMAN::ImagicIO2::read_ctf(), EMAN::ImagicIO::read_ctf(), and EMAN::MrcIO::read_ctf().
|
pure virtual |
Implemented in EMAN::EMAN1Ctf, and EMAN::EMAN2Ctf.
|
pure virtual |
Implemented in EMAN::EMAN1Ctf, and EMAN::EMAN2Ctf.
|
pure virtual |
Implemented in EMAN::EMAN1Ctf, and EMAN::EMAN2Ctf.
|
pure virtual |
|
pure virtual |
Implemented in EMAN::EMAN1Ctf, and EMAN::EMAN2Ctf.
Referenced by EMAN::MrcIO::write_ctf(), EMAN::ImagicIO::write_ctf(), and EMAN::ImagicIO2::write_ctf().
|
pure virtual |
Implemented in EMAN::EMAN1Ctf, and EMAN::EMAN2Ctf.
|
pure virtual |
Implemented in EMAN::EMAN1Ctf, and EMAN::EMAN2Ctf.
float EMAN::Ctf::apix |
Definition at line 88 of file ctf.h.
Referenced by EMAN::PhaseCmp::cmp(), EMAN::FRCCmp::cmp(), EMAN::EMAN1Ctf::compute_2d_complex(), EMAN::EMAN2Ctf::compute_2d_complex(), EMAN::EMAN1Ctf::copy_from(), EMAN::EMAN2Ctf::copy_from(), EMAN::SetSFProcessor::create_radial_func(), EMAN::EMAN1Ctf::EMAN1Ctf(), EMAN::EMAN2Ctf::EMAN2Ctf(), EMAN::EMAN1Ctf::equal(), EMAN::EMAN2Ctf::equal(), EMAN::EMAN1Ctf::from_dict(), EMAN::EMAN2Ctf::from_dict(), EMAN::EMAN1Ctf::from_string(), EMAN::EMAN2Ctf::from_string(), EMAN::EMAN1Ctf::from_vector(), EMAN::EMAN2Ctf::from_vector(), EMAN::CtfSimProcessor::process(), EMAN::CTFCorrProcessor::process_inplace(), EMAN::SNRProcessor::process_inplace(), EMAN::SetIsoPowProcessor::process_inplace(), scale_pixel(), EMAN::EMAN1Ctf::to_dict(), EMAN::EMAN2Ctf::to_dict(), EMAN::EMAN1Ctf::to_string(), EMAN::EMAN2Ctf::to_string(), EMAN::EMAN1Ctf::to_vector(), and EMAN::EMAN2Ctf::to_vector().
float EMAN::Ctf::bfactor |
Definition at line 85 of file ctf.h.
Referenced by EMAN::CtfWtAverager::add_image(), EMAN::CtfWtFiltAverager::add_image(), EMAN::CtfCAutoAverager::add_image(), EMAN::CtfCWautoAverager::add_image(), EMAN::EMAN1Ctf::calc_ctf1(), EMAN::EMAN2Ctf::compute_1d(), EMAN::EMAN2Ctf::compute_2d_complex(), EMAN::EMAN1Ctf::copy_from(), EMAN::EMAN2Ctf::copy_from(), EMAN::EMAN1Ctf::EMAN1Ctf(), EMAN::EMAN2Ctf::EMAN2Ctf(), EMAN::EMAN1Ctf::equal(), EMAN::EMAN2Ctf::equal(), EMAN::EMAN1Ctf::from_dict(), EMAN::EMAN2Ctf::from_dict(), EMAN::EMAN1Ctf::from_string(), EMAN::EMAN2Ctf::from_string(), EMAN::EMAN1Ctf::from_vector(), EMAN::EMAN2Ctf::from_vector(), EMAN::EMAN1Ctf::get_bfactor(), EMAN::CtfSimProcessor::process(), EMAN::CTFCorrProcessor::process_inplace(), EMAN::EMAN1Ctf::to_dict(), EMAN::EMAN2Ctf::to_dict(), EMAN::EMAN1Ctf::to_string(), EMAN::EMAN2Ctf::to_string(), EMAN::EMAN1Ctf::to_vector(), and EMAN::EMAN2Ctf::to_vector().
float EMAN::Ctf::cs |
Definition at line 87 of file ctf.h.
Referenced by EMAN::EMAN1Ctf::calc_g1(), EMAN::EMAN2Ctf::compute_1d(), EMAN::EMAN2Ctf::compute_2d_complex(), EMAN::EMAN1Ctf::copy_from(), EMAN::EMAN2Ctf::copy_from(), EMAN::EMAN1Ctf::EMAN1Ctf(), EMAN::EMAN2Ctf::EMAN2Ctf(), EMAN::EMAN1Ctf::equal(), EMAN::EMAN2Ctf::equal(), EMAN::EMAN1Ctf::from_dict(), EMAN::EMAN2Ctf::from_dict(), EMAN::EMAN1Ctf::from_string(), EMAN::EMAN2Ctf::from_string(), EMAN::EMAN1Ctf::from_vector(), EMAN::EMAN2Ctf::from_vector(), EMAN::CtfSimProcessor::process(), EMAN::CTFCorrProcessor::process_inplace(), EMAN::EMAN2Ctf::stos2(), EMAN::EMAN1Ctf::to_dict(), EMAN::EMAN2Ctf::to_dict(), EMAN::EMAN1Ctf::to_string(), EMAN::EMAN2Ctf::to_string(), EMAN::EMAN1Ctf::to_vector(), EMAN::EMAN2Ctf::to_vector(), and EMAN::EMAN2Ctf::zero().
float EMAN::Ctf::defocus |
Definition at line 84 of file ctf.h.
Referenced by EMAN::EMAN1Ctf::calc_g2(), EMAN::EMAN2Ctf::compute_1d(), EMAN::EMAN2Ctf::compute_2d_complex(), EMAN::EMAN1Ctf::copy_from(), EMAN::EMAN2Ctf::copy_from(), EMAN::EMAN2Ctf::df(), EMAN::EMAN1Ctf::EMAN1Ctf(), EMAN::EMAN2Ctf::EMAN2Ctf(), EMAN::EMAN1Ctf::equal(), EMAN::EMAN2Ctf::equal(), EMAN::EMAN1Ctf::from_dict(), EMAN::EMAN2Ctf::from_dict(), EMAN::EMAN1Ctf::from_string(), EMAN::EMAN2Ctf::from_string(), EMAN::EMAN1Ctf::from_vector(), EMAN::EMAN2Ctf::from_vector(), EMAN::EMAN1Ctf::get_defocus(), EMAN::CtfSimProcessor::process(), EMAN::CTFCorrProcessor::process_inplace(), EMAN::EMAN2Ctf::stos2(), EMAN::EMAN1Ctf::to_dict(), EMAN::EMAN2Ctf::to_dict(), EMAN::EMAN1Ctf::to_string(), EMAN::EMAN2Ctf::to_string(), EMAN::EMAN1Ctf::to_vector(), EMAN::EMAN2Ctf::to_vector(), and EMAN::EMAN2Ctf::zero().
float EMAN::Ctf::voltage |
Definition at line 86 of file ctf.h.
Referenced by EMAN::EMAN1Ctf::calc_lambda(), EMAN::EMAN1Ctf::copy_from(), EMAN::EMAN2Ctf::copy_from(), EMAN::EMAN1Ctf::EMAN1Ctf(), EMAN::EMAN2Ctf::EMAN2Ctf(), EMAN::EMAN1Ctf::equal(), EMAN::EMAN2Ctf::equal(), EMAN::EMAN1Ctf::from_dict(), EMAN::EMAN2Ctf::from_dict(), EMAN::EMAN1Ctf::from_string(), EMAN::EMAN2Ctf::from_string(), EMAN::EMAN1Ctf::from_vector(), EMAN::EMAN2Ctf::from_vector(), EMAN::EMAN2Ctf::lambda(), EMAN::CtfSimProcessor::process(), EMAN::CTFCorrProcessor::process_inplace(), EMAN::EMAN1Ctf::to_dict(), EMAN::EMAN2Ctf::to_dict(), EMAN::EMAN1Ctf::to_string(), EMAN::EMAN2Ctf::to_string(), EMAN::EMAN1Ctf::to_vector(), and EMAN::EMAN2Ctf::to_vector().