| EMAN2
    | 
#include <reconstructor.h>


| Public Member Functions | |
| nnSSNR_ctfReconstructor () | |
| nnSSNR_ctfReconstructor (const string &symmetry, int size, int npad, float snr, int sign) | |
| ~nnSSNR_ctfReconstructor () | |
| virtual void | setup () | 
| Initialize the reconstructor.  More... | |
| virtual int | insert_slice (const EMData *const slice, const Transform &euler, const float weight) | 
| Insert a slice into a 3D volume, in a given orientation.  More... | |
| virtual EMData * | finish (bool doift=true) | 
| Finish reconstruction and return the complete model.  More... | |
| virtual string | get_name () const | 
| Get the unique name of this class (especially for factory based instantiation access)  More... | |
| virtual string | get_desc () const | 
| Get a clear, concise description of this class.  More... | |
| TypeDict | get_param_types () const | 
| void | setup (const string &symmetry, int size, int npad, float snr, int sign) | 
| int | insert_padfft_slice (EMData *padded, const Transform &trans, float mult=1) | 
|  Public Member Functions inherited from EMAN::Reconstructor | |
| Reconstructor () | |
| virtual | ~Reconstructor () | 
| virtual void | setup_seed (EMData *seed, float seed_weight) | 
| Initialize the reconstructor with a seed volume.  More... | |
| virtual void | setup_seedandweights (EMData *seed, EMData *weight) | 
| Initialize the reconstructor with a seed volume, as above.  More... | |
| virtual EMData * | preprocess_slice (const EMData *const slice, const Transform &t=Transform()) | 
| While you can just insert unprocessed slices, if you call preprocess_slice yourself, and insert the returned slice instead, repeatedly, it can save a fair bit of computation.  More... | |
| int | insert_slice (const EMData *const slice, const Transform &euler) | 
| virtual int | determine_slice_agreement (EMData *slice, const Transform &euler, const float weight=1.0, bool sub=true) | 
| Compares a slice to the current reconstruction volume and computes a normalization factor and quality.  More... | |
| virtual EMData * | projection (const Transform &euler, int ret_fourier=1) | 
| This will create a projection from the current reconstruction.  More... | |
| virtual void | clear () | 
| set the volume and tmp_volume data to zero, for use in Monte Carlo reconstructors  More... | |
| void | print_params () const | 
| Print the current parameters to std::out.  More... | |
| EMObject & | operator[] (const string &key) | 
|  Public Member Functions inherited from EMAN::FactoryBase | |
| FactoryBase () | |
| virtual | ~FactoryBase () | 
| Dict | get_params () const | 
| get a copy of the parameters of this class  More... | |
| void | set_params (const Dict &new_params) | 
| Set new parameters.  More... | |
| void | set_param (const string key, const EMObject val) | 
| void | insert_params (const Dict &new_params) | 
| Insert parameters.  More... | |
| Dict | copy_relevant_params (const FactoryBase *const that) const | 
| Static Public Member Functions | |
| static Reconstructor * | NEW () | 
| Static Public Attributes | |
| static const string | NAME = "nnSSNR_ctf" | 
| Private Member Functions | |
| void | buildFFTVolume () | 
| void | buildNormVolume () | 
| void | buildNorm2Volume () | 
| void | buildNorm3Volume () | 
| Private Attributes | |
| EMData * | m_volume | 
| EMData * | m_wptr | 
| EMData * | m_wptr2 | 
| EMData * | m_wptr3 | 
| string | m_symmetry | 
| int | m_weighting | 
| int | m_vnx | 
| int | m_vny | 
| int | m_vnz | 
| int | m_npad | 
| int | m_nsym | 
| int | m_vnzp | 
| int | m_vnyp | 
| int | m_vnxp | 
| int | m_vnzc | 
| int | m_vnyc | 
| int | m_vnxc | 
| float | m_wghta | 
| float | m_wghtb | 
| int | m_sign | 
| float | m_snr | 
| int | wiener | 
| Additional Inherited Members | |
|  Protected Attributes inherited from EMAN::FactoryBase | |
| Dict | params | 
| This is the dictionary the stores the parameters of the object.  More... | |
Definition at line 1642 of file reconstructor.h.
| nnSSNR_ctfReconstructor::nnSSNR_ctfReconstructor | ( | ) | 
| nnSSNR_ctfReconstructor::nnSSNR_ctfReconstructor | ( | const string & | symmetry, | 
| int | size, | ||
| int | npad, | ||
| float | snr, | ||
| int | sign | ||
| ) | 
Definition at line 5989 of file reconstructor.cpp.
| nnSSNR_ctfReconstructor::~nnSSNR_ctfReconstructor | ( | ) | 
Definition at line 5999 of file reconstructor.cpp.
| 
 | private | 
Definition at line 6054 of file reconstructor.cpp.
References m_npad, m_vnxc, m_vnxp, m_vnyp, m_vnzp, m_volume, and EMAN::FactoryBase::params.
Referenced by setup().
| 
 | private | 
Definition at line 6081 of file reconstructor.cpp.
References m_vnxc, m_vnyp, m_vnzp, m_wptr2, and EMAN::FactoryBase::params.
Referenced by setup().
| 
 | private | 
Definition at line 6089 of file reconstructor.cpp.
References m_vnxc, m_vnyp, m_vnzp, m_wptr3, and EMAN::FactoryBase::params.
Referenced by setup().
| 
 | private | 
Definition at line 6073 of file reconstructor.cpp.
References m_vnxc, m_vnyp, m_vnzp, m_wptr, and EMAN::FactoryBase::params.
Referenced by setup().
| 
 | virtual | 
Finish reconstruction and return the complete model.
| doift | A flag indicating whether the returned object should be guaranteed to be in real-space (true) or should be left in whatever space the reconstructor generated | 
Reimplemented from EMAN::Reconstructor.
Definition at line 6127 of file reconstructor.cpp.
References ESTIMATE, EMAN::Util::get_max(), m_vnxc, m_vnxp, m_vnyc, m_vnyp, m_vnzc, m_vnzp, m_volume, m_weighting, m_wghta, m_wptr, m_wptr2, m_wptr3, max3d(), EMAN::FactoryBase::params, EMAN::Util::round(), and sqrt().
| 
 | inlinevirtual | 
Get a clear, concise description of this class.
Implements EMAN::FactoryBase.
Definition at line 1673 of file reconstructor.h.
| 
 | inlinevirtual | 
Get the unique name of this class (especially for factory based instantiation access)
Implements EMAN::FactoryBase.
Definition at line 1668 of file reconstructor.h.
References NAME.
| 
 | inlinevirtual | 
Implements EMAN::FactoryBase.
Definition at line 1683 of file reconstructor.h.
References EMAN::EMObject::EMDATA, EMAN::EMObject::FLOAT, EMAN::EMObject::INT, EMAN::TypeDict::put(), and EMAN::EMObject::STRING.
| int nnSSNR_ctfReconstructor::insert_padfft_slice | ( | EMData * | padded, | 
| const Transform & | trans, | ||
| float | mult = 1 | ||
| ) | 
Definition at line 6118 of file reconstructor.cpp.
References EMAN::Transform::get_sym_proj(), m_nsym, m_symmetry, m_volume, m_wptr, m_wptr2, and m_wptr3.
Referenced by insert_slice().
| 
 | virtual | 
Insert a slice into a 3D volume, in a given orientation.
| slice | the image slice to be inserted into the 3D volume | 
| euler | Euler angle of this image slice. | 
| weight | A weighting factor for this slice, generally the number of particles in a class-average. May be ignored by some reconstructors | 
| NullPointerException | if the input EMData pointer is null | 
| ImageFormatException | if the image is complex as opposed to real | 
Reimplemented from EMAN::Reconstructor.
Definition at line 6097 of file reconstructor.cpp.
References checked_delete(), insert_padfft_slice(), LOGERR, m_npad, m_vnx, and EMAN::padfft_slice().
| 
 | inlinestatic | 
Definition at line 1678 of file reconstructor.h.
References nnSSNR_ctfReconstructor().
| 
 | virtual | 
Initialize the reconstructor.
Implements EMAN::Reconstructor.
Definition at line 6009 of file reconstructor.cpp.
References EMAN::Dict::has_key(), EMAN::FactoryBase::params, and setup().
Referenced by nnSSNR_ctfReconstructor(), and setup().
| void nnSSNR_ctfReconstructor::setup | ( | const string & | symmetry, | 
| int | size, | ||
| int | npad, | ||
| float | snr, | ||
| int | sign | ||
| ) | 
Definition at line 6021 of file reconstructor.cpp.
References buildFFTVolume(), buildNorm2Volume(), buildNorm3Volume(), buildNormVolume(), ESTIMATE, EMAN::Transform::get_nsym(), m_npad, m_nsym, m_sign, m_snr, m_symmetry, m_vnx, m_vnxc, m_vnxp, m_vny, m_vnyc, m_vnyp, m_vnz, m_vnzc, m_vnzp, m_weighting, m_wghta, m_wghtb, and wiener.
| 
 | private | 
Definition at line 1715 of file reconstructor.h.
Referenced by buildFFTVolume(), insert_slice(), and setup().
| 
 | private | 
Definition at line 1716 of file reconstructor.h.
Referenced by insert_padfft_slice(), and setup().
| 
 | private | 
Definition at line 1725 of file reconstructor.h.
Referenced by setup().
| 
 | private | 
Definition at line 1726 of file reconstructor.h.
Referenced by setup().
| 
 | private | 
Definition at line 1712 of file reconstructor.h.
Referenced by insert_padfft_slice(), and setup().
| 
 | private | 
Definition at line 1714 of file reconstructor.h.
Referenced by insert_slice(), and setup().
| 
 | private | 
Definition at line 1718 of file reconstructor.h.
Referenced by buildFFTVolume(), buildNorm2Volume(), buildNorm3Volume(), buildNormVolume(), finish(), and setup().
| 
 | private | 
Definition at line 1717 of file reconstructor.h.
Referenced by buildFFTVolume(), finish(), and setup().
| 
 | private | 
Definition at line 1714 of file reconstructor.h.
Referenced by setup().
| 
 | private | 
Definition at line 1718 of file reconstructor.h.
| 
 | private | 
Definition at line 1717 of file reconstructor.h.
Referenced by buildFFTVolume(), buildNorm2Volume(), buildNorm3Volume(), buildNormVolume(), finish(), and setup().
| 
 | private | 
Definition at line 1714 of file reconstructor.h.
Referenced by setup().
| 
 | private | 
Definition at line 1718 of file reconstructor.h.
| 
 | private | 
Definition at line 1717 of file reconstructor.h.
Referenced by buildFFTVolume(), buildNorm2Volume(), buildNorm3Volume(), buildNormVolume(), finish(), and setup().
| 
 | private | 
Definition at line 1708 of file reconstructor.h.
Referenced by buildFFTVolume(), finish(), insert_padfft_slice(), and nnSSNR_ctfReconstructor().
| 
 | private | 
Definition at line 1713 of file reconstructor.h.
| 
 | private | 
Definition at line 1723 of file reconstructor.h.
| 
 | private | 
Definition at line 1724 of file reconstructor.h.
Referenced by setup().
| 
 | private | 
Definition at line 1709 of file reconstructor.h.
Referenced by buildNormVolume(), finish(), insert_padfft_slice(), and nnSSNR_ctfReconstructor().
| 
 | private | 
Definition at line 1710 of file reconstructor.h.
Referenced by buildNorm2Volume(), finish(), insert_padfft_slice(), and nnSSNR_ctfReconstructor().
| 
 | private | 
Definition at line 1711 of file reconstructor.h.
Referenced by buildNorm3Volume(), finish(), insert_padfft_slice(), and nnSSNR_ctfReconstructor().
| 
 | static | 
Definition at line 1705 of file reconstructor.h.
Referenced by get_name().
| 
 | private | 
Definition at line 1727 of file reconstructor.h.
Referenced by setup().