Static Public Member Functions | Private Attributes | Static Private Attributes
ctf_store_new Class Reference

List of all members.

Static Public Member Functions

static void init (int winsize, const Ctf *ctf)
static float get_ctf (float r2)

Private Attributes

static int m_winsize2
static int m_vecsize

Static Private Attributes

static int m_winsize
static float m_cs
static float m_voltage
static float m_pixel
static float m_ampcont
static float m_bfactor
static float m_defocus
static float m_dza
static float m_azz

Detailed Description

Definition at line 1739 of file emdata_sparx.cpp.

Member Function Documentation

static float ctf_store_new::get_ctf ( float  r2) [inline, static]

Definition at line 1760 of file emdata_sparx.cpp.

References sqrt(), and tf().

                                     {  //  HAS TO BE CORRECTED AS astigmatism m_dza and m_azz is not used!!  PAP 04/27/2013
                float ak = std::sqrt( r2/float(m_winsize2) )/m_pixel;
                return Util::tf( m_defocus, ak, m_voltage, m_cs, m_ampcont, m_bfactor, 1);
static void ctf_store_new::init ( int  winsize,
const Ctf ctf 
) [inline, static]

Definition at line 1743 of file emdata_sparx.cpp.

References EMAN::Ctf::to_dict().

Referenced by EMAN::EMData::insert_rect_slice_ctf(), and EMAN::EMData::insert_rect_slice_ctf_applied().

                Dict params = ctf->to_dict();

                m_winsize = winsize;

                m_voltage = params["voltage"];
                m_pixel   = params["apix"];
                m_cs      = params["cs"];
                m_ampcont = params["ampcont"];
                m_bfactor = params["bfactor"];
                m_defocus = params["defocus"];
                m_dza     = params["dfdiff"];
                m_azz     = params["dfang"];
                m_winsize2= m_winsize*m_winsize;
                m_vecsize = m_winsize2/4;

Member Data Documentation

float ctf_store_new::m_ampcont [static, private]

Definition at line 1771 of file emdata_sparx.cpp.

float ctf_store_new::m_azz [static, private]

Definition at line 1775 of file emdata_sparx.cpp.

float ctf_store_new::m_bfactor [static, private]

Definition at line 1772 of file emdata_sparx.cpp.

float ctf_store_new::m_cs [static, private]

Definition at line 1768 of file emdata_sparx.cpp.

float ctf_store_new::m_defocus [static, private]

Definition at line 1773 of file emdata_sparx.cpp.

float ctf_store_new::m_dza [static, private]

Definition at line 1774 of file emdata_sparx.cpp.

float ctf_store_new::m_pixel [static, private]

Definition at line 1770 of file emdata_sparx.cpp.

int ctf_store_new::m_vecsize [private]

Definition at line 1767 of file emdata_sparx.cpp.

float ctf_store_new::m_voltage [static, private]

Definition at line 1769 of file emdata_sparx.cpp.

int ctf_store_new::m_winsize [static, private]

Definition at line 1767 of file emdata_sparx.cpp.

Definition at line 1767 of file emdata_sparx.cpp.

The documentation for this class was generated from the following file: