|
EMAN2
|
nn4_ctf_rectDirect Fourier Inversion Reconstructor More...
#include <reconstructor.h>


Public Member Functions | |
| nn4_ctf_rectReconstructor () | |
| nn4_ctf_rectReconstructor (const string &symmetry, int size, int npad, float snr, int sign) | |
| virtual | ~nn4_ctf_rectReconstructor () |
| 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 sizeprojection, int npad, float snr, int sign) |
| int | insert_padfft_slice (EMData *padfft, const Transform &trans, float mult=1) |
| int | insert_buffed_slice (const EMData *buffer, float mult) |
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 = "nn4_ctf_rect" |
Private Member Functions | |
| void | buildFFTVolume () |
| void | buildNormVolume () |
Private Attributes | |
| EMData * | m_volume |
| EMData * | m_wptr |
| int | m_vnx |
| int | m_vny |
| int | m_vnz |
| int | m_vnzp |
| int | m_vnyp |
| int | m_vnxp |
| int | m_vnxc |
| int | m_vnyc |
| int | m_vnzc |
| int | m_count |
| float | m_xratio |
| float | m_yratio |
| float | m_zratio |
| int | m_sizeofprojection |
| int | m_npad |
| int | m_sign |
| int | m_varsnr |
| int | m_weighting |
| float | m_wghta |
| float | m_wghtb |
| float | m_snr |
| string | m_symmetry |
| int | m_nsym |
Additional Inherited Members | |
Protected Attributes inherited from EMAN::FactoryBase | |
| Dict | params |
| This is the dictionary the stores the parameters of the object. More... | |
nn4_ctf_rectDirect Fourier Inversion Reconstructor
Definition at line 1550 of file reconstructor.h.
| nn4_ctf_rectReconstructor::nn4_ctf_rectReconstructor | ( | ) |
Definition at line 5688 of file reconstructor.cpp.
References m_volume, and m_wptr.
Referenced by NEW().
| nn4_ctf_rectReconstructor::nn4_ctf_rectReconstructor | ( | const string & | symmetry, |
| int | size, | ||
| int | npad, | ||
| float | snr, | ||
| int | sign | ||
| ) |
Definition at line 5694 of file reconstructor.cpp.
References setup().
|
virtual |
Definition at line 5699 of file reconstructor.cpp.
|
private |
Definition at line 5781 of file reconstructor.cpp.
References m_npad, m_vnxp, m_vnyp, m_vnzp, m_volume, and EMAN::FactoryBase::params.
Referenced by setup().
|
private |
|
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 5881 of file reconstructor.cpp.
References circumfnn_rect(), ESTIMATE, m_sign, m_snr, m_varsnr, m_vnxc, m_vnyc, m_vnyp, m_vnzc, m_vnzp, m_volume, m_weighting, m_wghta, m_wptr, m_xratio, m_yratio, m_zratio, max3d(), and sqrt().
|
inlinevirtual |
Get a clear, concise description of this class.
Implements EMAN::FactoryBase.
Definition at line 1579 of file reconstructor.h.
|
inlinevirtual |
Get the unique name of this class (especially for factory based instantiation access)
Implements EMAN::FactoryBase.
Definition at line 1574 of file reconstructor.h.
References NAME.
|
inlinevirtual |
Implements EMAN::FactoryBase.
Definition at line 1590 of file reconstructor.h.
References EMAN::EMObject::EMDATA, EMAN::EMObject::FLOAT, EMAN::EMObject::INT, EMAN::TypeDict::put(), and EMAN::EMObject::STRING.
| int nn4_ctf_rectReconstructor::insert_buffed_slice | ( | const EMData * | buffer, |
| float | mult | ||
| ) |
Definition at line 5844 of file reconstructor.cpp.
References m_volume, and m_wptr.
Referenced by insert_slice().
| int nn4_ctf_rectReconstructor::insert_padfft_slice | ( | EMData * | padfft, |
| const Transform & | trans, | ||
| float | mult = 1 |
||
| ) |
Definition at line 5868 of file reconstructor.cpp.
References EMAN::Transform::get_sym_proj(), m_npad, m_sizeofprojection, m_symmetry, m_volume, m_wptr, m_xratio, m_yratio, and m_zratio.
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 5812 of file reconstructor.cpp.
References checked_delete(), insert_buffed_slice(), insert_padfft_slice(), LOGERR, m_npad, and EMAN::padfft_slice().
|
inlinestatic |
Definition at line 1584 of file reconstructor.h.
References nn4_ctf_rectReconstructor().
|
virtual |
Initialize the reconstructor.
Implements EMAN::Reconstructor.
Definition at line 5708 of file reconstructor.cpp.
References EMAN::Dict::has_key(), m_sizeofprojection, m_varsnr, EMAN::FactoryBase::params, and setup().
Referenced by nn4_ctf_rectReconstructor(), and setup().
| void nn4_ctf_rectReconstructor::setup | ( | const string & | symmetry, |
| int | sizeprojection, | ||
| int | npad, | ||
| float | snr, | ||
| int | sign | ||
| ) |
Definition at line 5724 of file reconstructor.cpp.
References buildFFTVolume(), buildNormVolume(), ESTIMATE, EMAN::Transform::get_nsym(), EMAN::Dict::has_key(), 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, m_xratio, m_yratio, m_zratio, NONE, and EMAN::FactoryBase::params.
|
private |
Definition at line 1620 of file reconstructor.h.
|
private |
Definition at line 1623 of file reconstructor.h.
Referenced by buildFFTVolume(), insert_padfft_slice(), insert_slice(), and setup().
|
private |
Definition at line 1630 of file reconstructor.h.
Referenced by setup().
|
private |
Definition at line 1624 of file reconstructor.h.
|
private |
Definition at line 1622 of file reconstructor.h.
Referenced by insert_padfft_slice(), and setup().
|
private |
Definition at line 1628 of file reconstructor.h.
|
private |
Definition at line 1629 of file reconstructor.h.
Referenced by insert_padfft_slice(), and setup().
|
private |
Definition at line 1625 of file reconstructor.h.
|
private |
Definition at line 1617 of file reconstructor.h.
Referenced by setup().
|
private |
Definition at line 1619 of file reconstructor.h.
Referenced by buildNormVolume(), finish(), and setup().
|
private |
Definition at line 1618 of file reconstructor.h.
Referenced by buildFFTVolume(), and setup().
|
private |
Definition at line 1617 of file reconstructor.h.
Referenced by setup().
|
private |
Definition at line 1619 of file reconstructor.h.
|
private |
Definition at line 1618 of file reconstructor.h.
Referenced by buildFFTVolume(), buildNormVolume(), finish(), and setup().
|
private |
Definition at line 1617 of file reconstructor.h.
Referenced by setup().
|
private |
Definition at line 1619 of file reconstructor.h.
|
private |
Definition at line 1618 of file reconstructor.h.
Referenced by buildFFTVolume(), buildNormVolume(), finish(), and setup().
|
private |
Definition at line 1615 of file reconstructor.h.
Referenced by buildFFTVolume(), finish(), insert_buffed_slice(), insert_padfft_slice(), and nn4_ctf_rectReconstructor().
|
private |
Definition at line 1626 of file reconstructor.h.
|
private |
Definition at line 1627 of file reconstructor.h.
|
private |
Definition at line 1627 of file reconstructor.h.
Referenced by setup().
|
private |
Definition at line 1616 of file reconstructor.h.
Referenced by buildNormVolume(), finish(), insert_buffed_slice(), insert_padfft_slice(), and nn4_ctf_rectReconstructor().
|
private |
Definition at line 1621 of file reconstructor.h.
Referenced by finish(), insert_padfft_slice(), and setup().
|
private |
Definition at line 1621 of file reconstructor.h.
Referenced by finish(), insert_padfft_slice(), and setup().
|
private |
Definition at line 1621 of file reconstructor.h.
Referenced by finish(), insert_padfft_slice(), and setup().
|
static |
Definition at line 1612 of file reconstructor.h.
Referenced by get_name().