EMAN::nn4_rectReconstructor Class Reference

Direct Fourier inversion Reconstructor for extremly rectangular object. More...

#include <reconstructor.h>

Inheritance diagram for EMAN::nn4_rectReconstructor:

Inheritance graph
[legend]
Collaboration diagram for EMAN::nn4_rectReconstructor:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 nn4_rectReconstructor ()
 nn4_rectReconstructor (const string &symmetry, int size, int npad)
virtual ~nn4_rectReconstructor ()
virtual void setup ()
 Initialize the reconstructor.
virtual int insert_slice (const EMData *const slice, const Transform &euler, const float weight=1.0)
 Insert an image slice to the reconstructor.
virtual EMDatafinish (bool doift=true)
 Finish reconstruction and return the complete model.
virtual string get_name () const
 Get the unique name of this class (especially for factory based instantiation access).
virtual string get_desc () const
 Get a clear, concise description of this class.
virtual TypeDict get_param_types () const
void setup (const string &symmetry, int size, int npad)
int insert_padfft_slice (EMData *padded, const Transform &trans, int mult=1)

Static Public Member Functions

static ReconstructorNEW ()

Static Public Attributes

static const string NAME = "nn4_rect"

Private Member Functions

void buildFFTVolume ()
void buildNormVolume ()
void load_default_settings ()

Private Attributes

EMDatam_volume
EMDatam_wptr
string m_symmetry
int m_weighting
int m_vnx
int m_vny
int m_vnz
int m_npad
int m_nsym
int m_ndim
int m_vnzp
int m_vnyp
int m_vnxp
int m_vnzc
int m_vnyc
int m_vnxc
int m_count
float m_xratio
float m_yratio
float m_zratio
float m_xscale
float m_yscale
int m_sizeofprojection
float m_wghta
float m_wghtb
float m_osnr

Detailed Description

Direct Fourier inversion Reconstructor for extremly rectangular object.

Definition at line 1035 of file reconstructor.h.


Constructor & Destructor Documentation

nn4_rectReconstructor::nn4_rectReconstructor (  ) 

Definition at line 2409 of file reconstructor.cpp.

References m_volume, and m_wptr.

Referenced by NEW().

02410 {
02411         m_volume = NULL;
02412         m_wptr   = NULL;
02413 }

nn4_rectReconstructor::nn4_rectReconstructor ( const string &  symmetry,
int  size,
int  npad 
)

Definition at line 2415 of file reconstructor.cpp.

References load_default_settings(), m_volume, m_wptr, EMAN::Reconstructor::print_params(), and setup().

02416 {
02417         m_volume = NULL;
02418         m_wptr   = NULL;
02419         setup( symmetry, size, npad );
02420         load_default_settings();
02421         print_params();
02422 }

nn4_rectReconstructor::~nn4_rectReconstructor (  )  [virtual]

Definition at line 2424 of file reconstructor.cpp.

02425 {
02426         //if( m_delete_volume ) checked_delete(m_volume);
02427 
02428         //if( m_delete_weight ) checked_delete( m_wptr );
02429 
02430         //checked_delete( m_result );
02431 }


Member Function Documentation

void nn4_rectReconstructor::buildFFTVolume (  )  [private]

Definition at line 2505 of file reconstructor.cpp.

References EMAN::EMData::get_xsize(), EMAN::EMData::get_ysize(), EMAN::EMData::get_zsize(), m_npad, m_vnxp, m_vnyp, m_vnzp, m_volume, EMAN::FactoryBase::params, EMAN::EMData::set_array_offsets(), EMAN::EMData::set_attr(), EMAN::EMData::set_complex(), EMAN::EMData::set_fftodd(), EMAN::EMData::set_fftpad(), EMAN::EMData::set_nxc(), EMAN::EMData::set_ri(), EMAN::EMData::set_size(), and EMAN::EMData::to_zero().

Referenced by setup().

02505                                            {
02506         int offset = 2 - m_vnxp%2;
02507 
02508         m_volume = params["fftvol"];
02509 
02510         if( m_volume->get_xsize() != m_vnxp+offset && m_volume->get_ysize() != m_vnyp && m_volume->get_zsize() != m_vnzp ) {
02511                 m_volume->set_size(m_vnxp+offset,m_vnyp,m_vnzp);
02512                 m_volume->to_zero();
02513         }
02514         // ----------------------------------------------------------------
02515         // Added by Zhengfan Yang on 03/15/07
02516         // Original author: please check whether my revision is correct and
02517         // other Reconstructor need similiar revision.
02518         if ( m_vnxp % 2 == 0 )  m_volume->set_fftodd(0);
02519         else                    m_volume->set_fftodd(1);
02520         // ----------------------------------------------------------------
02521 
02522         m_volume->set_nxc(m_vnxp/2);
02523         m_volume->set_complex(true);
02524         m_volume->set_ri(true);
02525         m_volume->set_fftpad(true);
02526         m_volume->set_attr("npad", m_npad);
02527         m_volume->set_array_offsets(0,1,1);
02528 }

void nn4_rectReconstructor::buildNormVolume (  )  [private]

Definition at line 2530 of file reconstructor.cpp.

References EMAN::EMData::get_xsize(), EMAN::EMData::get_ysize(), EMAN::EMData::get_zsize(), m_vnxc, m_vnyp, m_vnzp, m_wptr, EMAN::FactoryBase::params, EMAN::EMData::set_array_offsets(), EMAN::EMData::set_size(), and EMAN::EMData::to_zero().

Referenced by setup().

02530                                             {
02531 
02532         m_wptr = params["weight"];
02533 
02534         if( m_wptr->get_xsize() != m_vnxc+1 &&
02535                 m_wptr->get_ysize() != m_vnyp &&
02536                 m_wptr->get_zsize() != m_vnzp ) {
02537                 m_wptr->set_size(m_vnxc+1,m_vnyp,m_vnzp);
02538                 m_wptr->to_zero();
02539         }
02540 
02541         m_wptr->set_array_offsets(0,1,1);
02542 }

EMData * nn4_rectReconstructor::finish ( bool  doift = true  )  [virtual]

Finish reconstruction and return the complete model.

Parameters:
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
Returns:
The result 3D model.

Reimplemented from EMAN::Reconstructor.

Definition at line 2745 of file reconstructor.cpp.

References abs, circumf_rect(), EMAN::EMData::depad(), EMAN::EMData::do_ift_inplace(), ESTIMATE, EMAN::EMData::get_attr(), m_ndim, m_osnr, m_vnxc, m_vnyc, m_vnyp, m_vnzc, m_vnzp, m_volume, m_weighting, m_wghta, m_wptr, max, max2d(), max3d(), EMAN::EMData::set_array_offsets(), and EMAN::EMData::symplane0_rect().

02746 {
02747         
02748         if( m_ndim==3 ) {
02749                 m_volume->symplane0_rect(m_wptr);
02750         } else {
02751                 for( int i=1; i <= m_vnyp; ++i ) {
02752 
02753                         if( (*m_wptr)(0, i, 1)==0.0 ) {
02754                                 int j = m_vnyp + 1 - i;
02755                                 (*m_wptr)(0, i, 1) = (*m_wptr)(0, j, 1);
02756                                 (*m_volume)(0, i, 1) = (*m_volume)(0, j, 1);
02757                                 (*m_volume)(1, i, 1) = (*m_volume)(1, j, 1);
02758                         }
02759                 }
02760         }
02761 
02762 
02763         int box = 7;
02764         int kc = (box-1)/2;
02765         vector< float > pow_a( m_ndim*kc+1, 1.0 );
02766         for( unsigned int i=1; i < pow_a.size(); ++i ) pow_a[i] = pow_a[i-1] * exp(m_wghta);
02767         pow_a.back()=0.0;
02768 
02769         float alpha = 0.0;
02770         if( m_ndim==3) {
02771                 int vol = box*box*box;
02772                 float max = max3d( kc, pow_a );
02773                 alpha = ( 1.0f - 1.0f/(float)vol ) / max;
02774         } else {
02775                 int ara = box*box;
02776                 float max = max2d( kc, pow_a );
02777                 alpha = ( 1.0f - 1.0f/(float)ara ) / max;
02778         }
02779 
02780         int ix,iy,iz;
02781         for (iz = 1; iz <= m_vnzp; iz++) {
02782                 for (iy = 1; iy <= m_vnyp; iy++) {
02783                         for (ix = 0; ix <= m_vnxc; ix++) {
02784                                 if ( (*m_wptr)(ix,iy,iz) > 0) {//(*v) should be treated as complex!!
02785                                         float tmp;
02786                                         tmp = (-2*((ix+iy+iz)%2)+1)/((*m_wptr)(ix,iy,iz)+m_osnr);
02787                                         
02788                                         if( m_weighting == ESTIMATE ) {
02789                                                 int cx = ix;
02790                                                 int cy = (iy<=m_vnyc) ? iy - 1 : iy - 1 - m_vnyp;
02791                                                 int cz = (iz<=m_vnzc) ? iz - 1 : iz - 1 - m_vnzp;
02792                                                 float sum = 0.0;
02793                                                 for( int ii = -kc; ii <= kc; ++ii ) {
02794                                                         int nbrcx = cx + ii;
02795                                                         if( nbrcx >= m_vnxc ) continue;
02796                                                         for( int jj= -kc; jj <= kc; ++jj ) {
02797                                                                 int nbrcy = cy + jj;
02798                                                                 if( nbrcy <= -m_vnyc || nbrcy >= m_vnyc ) continue;
02799 
02800                                                                 int kcz = (m_ndim==3) ? kc : 0;
02801                                                                 for( int kk = -kcz; kk <= kcz; ++kk ) {
02802                                                                         int nbrcz = cz + kk;
02803                                                                         if( nbrcz <= -m_vnyc || nbrcz >= m_vnyc ) continue;
02804                                                                         if( nbrcx < 0 ) {
02805                                                                                 nbrcx = -nbrcx;
02806                                                                                 nbrcy = -nbrcy;
02807                                                                                 nbrcz = -nbrcz;
02808                                                                         }
02809                                                                         int nbrix = nbrcx;
02810                                                                         int nbriy = nbrcy >= 0 ? nbrcy + 1 : nbrcy + 1 + m_vnyp;
02811                                                                         int nbriz = nbrcz >= 0 ? nbrcz + 1 : nbrcz + 1 + m_vnzp;
02812                                                                         if( (*m_wptr)( nbrix, nbriy, nbriz ) == 0 ) {
02813                                                                                 int c = m_ndim*kc+1 - std::abs(ii) - std::abs(jj) - std::abs(kk);
02814                                                                                 sum = sum + pow_a[c];
02815                                                                         }
02816                                                                 }
02817                                                         }
02818                                                 }
02819                                                 float wght = 1.0f / ( 1.0f - alpha * sum );
02820                                                 tmp = tmp * wght;
02821                                         }
02822                                         (*m_volume)(2*ix,iy,iz)   *= tmp;
02823                                         (*m_volume)(2*ix+1,iy,iz) *= tmp;
02824                                 }
02825                         }
02826                 }
02827         }
02828 
02829         //if(m_ndim==2) printImage( m_volume );
02830 
02831         // back fft
02832         m_volume->do_ift_inplace();
02833 
02834         
02835         int npad = m_volume->get_attr("npad");
02836         m_volume->depad();
02837         circumf_rect( m_volume, npad );
02838         //circumf_rect_new( m_volume, npad,m_xratio,m_yratio);
02839         m_volume->set_array_offsets( 0, 0, 0 );
02840 
02841         return 0;
02842 }

virtual string EMAN::nn4_rectReconstructor::get_desc (  )  const [inline, virtual]

Get a clear, concise description of this class.

Returns:
a clear, concise description of this class

Implements EMAN::FactoryBase.

Definition at line 1063 of file reconstructor.h.

01064                 {
01065                         return "Direct Fourier inversion routine";
01066                 }

virtual string EMAN::nn4_rectReconstructor::get_name (  )  const [inline, virtual]

Get the unique name of this class (especially for factory based instantiation access).

Returns:
the unique name of this class

Implements EMAN::FactoryBase.

Definition at line 1058 of file reconstructor.h.

References NAME.

01059                 {
01060                         return NAME;
01061                 }

virtual TypeDict EMAN::nn4_rectReconstructor::get_param_types (  )  const [inline, virtual]

Returns:
a TypeDict defining and describing the feasible parameters of this class

Implements EMAN::FactoryBase.

Definition at line 1073 of file reconstructor.h.

References EMAN::EMObject::EMDATA, EMAN::EMObject::FLOAT, EMAN::EMObject::INT, EMAN::TypeDict::put(), and EMAN::EMObject::STRING.

01074                 {
01075                         TypeDict d;
01076                         d.put("sizeprojection", EMObject::INT);
01077                         d.put("sizex",          EMObject::INT);
01078                         d.put("sizey",          EMObject::INT);
01079                         d.put("sizez",          EMObject::INT);
01080                         d.put("xratio",         EMObject::FLOAT);
01081                         d.put("yratio",         EMObject::FLOAT);
01082                         d.put("zratio",         EMObject::FLOAT);
01083                         d.put("npad",           EMObject::INT);
01084                         d.put("sign",           EMObject::INT);
01085                         d.put("ndim",           EMObject::INT);
01086                         d.put("snr",            EMObject::FLOAT);
01087                         d.put("symmetry",       EMObject::STRING);
01088                         d.put("snr",            EMObject::FLOAT);
01089                         d.put("fftvol",         EMObject::EMDATA);
01090                         d.put("weight",         EMObject::EMDATA);
01091                         d.put("weighting",      EMObject::INT);
01092                         return d;
01093                 }

int nn4_rectReconstructor::insert_padfft_slice ( EMData padded,
const Transform trans,
int  mult = 1 
)

Definition at line 2651 of file reconstructor.cpp.

References Assert, EMAN::EMData::insert_rect_slice(), m_npad, m_sizeofprojection, m_symmetry, m_volume, m_wptr, m_xratio, m_yratio, m_zratio, and t.

Referenced by insert_slice().

02652 {
02653         Assert( padded != NULL );
02654                 
02655         vector<Transform> tsym = t.get_sym_proj(m_symmetry);
02656         for (unsigned int isym=0; isym < tsym.size(); isym++) {
02657                 m_volume->insert_rect_slice(m_wptr, padded, tsym[isym], m_sizeofprojection, m_xratio, m_yratio, m_zratio, m_npad, mult);
02658         }
02659         
02660 
02661         return 0;
02662 
02663 }

int nn4_rectReconstructor::insert_slice ( const EMData *const   slice,
const Transform euler,
const float  weight = 1.0 
) [virtual]

Insert an image slice to the reconstructor.

To insert multiple image slices, call this function multiple times.

Parameters:
slice Image slice.
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
Returns:
0 if OK. 1 if error.

Reimplemented from EMAN::Reconstructor.

Definition at line 2544 of file reconstructor.cpp.

References Assert, checked_delete(), EMAN::EMObject::f, EMAN::EMData::get_attr(), EMAN::EMData::get_attr_default(), EMAN::EMData::get_value_at(), EMAN::EMData::get_xsize(), EMAN::EMData::get_ysize(), insert_padfft_slice(), LOGERR, m_count, m_ndim, m_npad, m_sizeofprojection, m_vnxp, m_vnyp, m_volume, m_xratio, m_yratio, mult(), EMAN::padfft_slice(), sqrt(), and t.

02544                                                                                                   {
02545         // sanity checks
02546 
02547 
02548         //m_count=m_count+1;
02549         if (!slice) {
02550                 LOGERR("try to insert NULL slice");
02551                 return 1;
02552         }
02553 
02554         int padffted= slice->get_attr_default( "padffted", 0 );
02555         if( m_ndim==3 ) {
02556                 if ( padffted==0 && (slice->get_xsize()!=slice->get_ysize() || slice->get_xsize()!=m_sizeofprojection)  ) {
02557                         
02558                         // FIXME: Why doesn't this throw an exception?
02559                         LOGERR("Tried to insert a slice that is the wrong size.");
02560                         return 1;
02561                 }
02562         } 
02563        if (m_ndim==2) {
02564                 Assert( m_ndim==2 );
02565                 if( slice->get_ysize() !=1 ) {
02566                         LOGERR( "for 2D reconstruction, a line is excepted" );
02567                         return 1;
02568                 }
02569         }
02570 
02571         EMData* padfft = NULL;
02572 
02573         if( padffted != 0 ) padfft = new EMData(*slice);
02574         else                padfft = padfft_slice( slice, t,  m_npad );
02575 
02576         int mult= slice->get_attr_default( "mult", 1 );
02577         Assert( mult > 0 );
02578 
02579         if( m_ndim==3 ) {
02580                 insert_padfft_slice( padfft, t, mult );         
02581                 
02582         } else {
02583                 float ellipse_length,ellipse_step,cos_alpha,sin_alpha;
02584                 int ellipse_length_int;
02585                 float alpha = padfft->get_attr( "alpha" );
02586                 alpha = alpha/180.0f*M_PI;
02587                 int loop_range;
02588                 float temp1,temp2;
02589                 temp1=m_xratio*cos(alpha)*float(m_sizeofprojection*m_npad)/2;
02590                 temp2=m_yratio*sin(alpha)*float(m_sizeofprojection*m_npad)/2;
02591                 ellipse_length=sqrt(temp1*temp1+temp2*temp2);
02592                 ellipse_length_int=int(ellipse_length);
02593                 ellipse_step=0.5f*(m_sizeofprojection*m_npad)/float(ellipse_length_int);
02594                 loop_range=ellipse_length_int;
02595                 cos_alpha=temp1/ellipse_length;
02596                 sin_alpha=temp2/ellipse_length;
02597                 if(m_count%100==0)
02598                 {
02599                         std::cout<<"#############################################################"<<std::endl;
02600                         std::cout<<"line insert start=="<<m_count<<std::endl;
02601                         std::cout<<"ellipse lenth=="<<ellipse_length_int<<"ellips step=="<<ellipse_step<<std::endl;
02602                         std::cout<<"loop_range"<<loop_range<<std::endl;
02603                         std::cout<<"x and y ratio=="<<m_xratio<<"  "<<m_yratio<<std::endl;
02604                         std::cout<<"cos sin of alpha=="<<cos(alpha)<<"   "<<sin(alpha)<<std::endl;
02605                         std::cout<<"cos sin of alpha_new==="<<cos_alpha<<sin_alpha<<std::endl;
02606                         std::cout<<"alpah dig==="<<cos_alpha<<sin_alpha<<std::endl;
02607                         std::cout<<"prjection maximum==="<<loop_range*ellipse_step<<"ideal maximum"<<m_sizeofprojection*m_npad/2<<std::endl;
02608                         std::cout<<"x_size=="<<m_volume->get_xsize()<<"y_size=="<<m_volume->get_ysize()<<std::endl;
02609                         std::cout<<"#############################################################"<<std::endl;
02610 
02611 
02612                         
02613 
02614                 }
02615                 for(int i=0; i <=loop_range; ++i ) {
02616                         float xnew = i*cos_alpha;
02617                         float ynew = -i*sin_alpha;
02618                         if(m_count%100==0&&i==loop_range)
02619                                 std::cout<<"x_new=="<<xnew<<"Y_new=="<<ynew<<std::endl;
02620                         float btqr=0,btqi=0;
02621                         float xprj=i*ellipse_step;
02622                         float t=xprj-int(xprj);
02623                         btqr = (1-t)*padfft->get_value_at( 2*int(xprj), 0, 0 )+t*padfft->get_value_at( 2*(1+int(xprj)), 0, 0 );
02624                         btqi = (1-t)*padfft->get_value_at( 2*int(xprj)+1, 0, 0 )+t*padfft->get_value_at( 2*(1+int(xprj))+1, 0, 0 );
02625                         if( xnew < 0.0 ) {
02626                                 xnew *= -1;
02627                                 ynew *= -1;
02628                                 btqi *= -1;
02629                         }
02630 
02631                         int ixn = int(xnew+0.5+m_vnxp) - m_vnxp;
02632                         int iyn = int(ynew+0.5+m_vnyp) - m_vnyp;
02633 
02634                         if(iyn < 0 ) iyn += m_vnyp;
02635                         if(m_count%100==0&&i==loop_range)
02636                                 std::cout<<"xnn=="<<ixn<<"ynn=="<<iyn<<std::endl;
02637                         (*m_volume)( 2*ixn, iyn+1, 1 ) += btqr *float(mult);
02638                         (*m_volume)( 2*ixn+1, iyn+1, 1 ) += btqi * float(mult);
02639                         (*m_wptr)(ixn,iyn+1, 1) += float(mult);
02640                 }
02641 
02642 
02643         }
02644         checked_delete( padfft );
02645         return 0;
02646 }

void EMAN::nn4_rectReconstructor::load_default_settings (  )  [inline, private]

Definition at line 1121 of file reconstructor.h.

Referenced by nn4_rectReconstructor().

01122                 {
01123                         //params["use_weights"] = false;
01124                 }

static Reconstructor* EMAN::nn4_rectReconstructor::NEW (  )  [inline, static]

Definition at line 1068 of file reconstructor.h.

References nn4_rectReconstructor().

01069                 {
01070                         return new nn4_rectReconstructor();
01071                 }

void nn4_rectReconstructor::setup ( const string &  symmetry,
int  size,
int  npad 
)

Definition at line 2453 of file reconstructor.cpp.

References buildFFTVolume(), buildNormVolume(), ESTIMATE, EMAN::Transform::get_nsym(), EMAN::Dict::has_key(), m_ndim, m_npad, m_nsym, 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_xratio, m_yratio, m_zratio, and EMAN::FactoryBase::params.

02454 {
02455         m_weighting = ESTIMATE;
02456         m_wghta = 0.2f;
02457         m_symmetry = symmetry;
02458         m_npad = npad;
02459         m_nsym = Transform::get_nsym(m_symmetry);
02460 
02461         if( params.has_key("sizex") )  m_vnx = params["sizex"];
02462         else if(params.has_key("xratio")) 
02463                 {
02464                 float temp=params["xratio"];
02465                 m_vnx=int(float(sizeprojection)*temp);
02466                 }
02467         else                           m_vnx=sizeprojection;
02468 
02469         if( params.has_key("sizey") )  m_vny = params["sizey"];
02470         else if (params.has_key("yratio"))  
02471                {
02472                 float temp=params["yratio"];
02473                  m_vny=int(float(sizeprojection)*temp);
02474                 }
02475         else m_vny=sizeprojection;
02476 
02477         if( params.has_key("sizez") ) 
02478                 m_vnz = params["sizez"];
02479         else 
02480                 if (params.has_key("zratio"))
02481                 {
02482                         float temp=params["zratio"];
02483                         m_vnz=int(float(sizeprojection)*temp);
02484                 }
02485                 else                          
02486                         m_vnz = (m_ndim==3) ? sizeprojection : 1;
02487         
02488         m_xratio=float(m_vnx)/float(sizeprojection);    
02489         m_yratio=float(m_vny)/float(sizeprojection);
02490         m_zratio=float(m_vnz)/float(sizeprojection);
02491 
02492         m_vnxp = m_vnx*npad;
02493         m_vnyp = m_vny*npad;
02494         m_vnzp = (m_ndim==3) ? m_vnz*npad : 1;
02495 
02496         m_vnxc = m_vnxp/2;
02497         m_vnyc = m_vnyp/2;
02498         m_vnzc = (m_ndim==3) ? m_vnzp/2 : 1;
02499 
02500         buildFFTVolume();
02501         buildNormVolume();
02502 }

void nn4_rectReconstructor::setup (  )  [virtual]

Initialize the reconstructor.

Implements EMAN::Reconstructor.

Definition at line 2434 of file reconstructor.cpp.

References EMAN::Dict::has_key(), m_count, m_ndim, m_osnr, m_sizeofprojection, EMAN::FactoryBase::params, and EMAN::Gatan::to_str().

Referenced by nn4_rectReconstructor().

02435 {
02436         m_sizeofprojection = params["sizeprojection"];
02437         int npad = params["npad"];
02438         m_count=0;
02439 
02440         string symmetry;
02441         if( params.has_key("symmetry") )  symmetry = params["symmetry"].to_str();
02442         else                               symmetry = "c1";
02443 
02444         if( params.has_key("ndim") )  m_ndim = params["ndim"];             
02445         else                            m_ndim = 3;
02446     
02447         if( params.has_key( "snr" ) )  m_osnr = 1.0f/float( params["snr"] );
02448         else                           m_osnr = 0.0;
02449 
02450         setup( symmetry, m_sizeofprojection, npad );
02451 }


Member Data Documentation

int EMAN::nn4_rectReconstructor::m_count [private]

Definition at line 1112 of file reconstructor.h.

Referenced by insert_slice(), and setup().

int EMAN::nn4_rectReconstructor::m_ndim [private]

Definition at line 1109 of file reconstructor.h.

Referenced by finish(), insert_slice(), and setup().

int EMAN::nn4_rectReconstructor::m_npad [private]

Definition at line 1107 of file reconstructor.h.

Referenced by buildFFTVolume(), insert_padfft_slice(), insert_slice(), and setup().

int EMAN::nn4_rectReconstructor::m_nsym [private]

Definition at line 1108 of file reconstructor.h.

Referenced by setup().

float EMAN::nn4_rectReconstructor::m_osnr [private]

Definition at line 1120 of file reconstructor.h.

Referenced by finish(), and setup().

int EMAN::nn4_rectReconstructor::m_sizeofprojection [private]

Definition at line 1115 of file reconstructor.h.

Referenced by insert_padfft_slice(), insert_slice(), and setup().

string EMAN::nn4_rectReconstructor::m_symmetry [private]

Definition at line 1104 of file reconstructor.h.

Referenced by insert_padfft_slice(), and setup().

int EMAN::nn4_rectReconstructor::m_vnx [private]

Definition at line 1106 of file reconstructor.h.

Referenced by setup().

int EMAN::nn4_rectReconstructor::m_vnxc [private]

Definition at line 1111 of file reconstructor.h.

Referenced by buildNormVolume(), finish(), and setup().

int EMAN::nn4_rectReconstructor::m_vnxp [private]

Definition at line 1110 of file reconstructor.h.

Referenced by buildFFTVolume(), insert_slice(), and setup().

int EMAN::nn4_rectReconstructor::m_vny [private]

Definition at line 1106 of file reconstructor.h.

Referenced by setup().

int EMAN::nn4_rectReconstructor::m_vnyc [private]

Definition at line 1111 of file reconstructor.h.

Referenced by finish(), and setup().

int EMAN::nn4_rectReconstructor::m_vnyp [private]

Definition at line 1110 of file reconstructor.h.

Referenced by buildFFTVolume(), buildNormVolume(), finish(), insert_slice(), and setup().

int EMAN::nn4_rectReconstructor::m_vnz [private]

Definition at line 1106 of file reconstructor.h.

Referenced by setup().

int EMAN::nn4_rectReconstructor::m_vnzc [private]

Definition at line 1111 of file reconstructor.h.

Referenced by finish(), and setup().

int EMAN::nn4_rectReconstructor::m_vnzp [private]

Definition at line 1110 of file reconstructor.h.

Referenced by buildFFTVolume(), buildNormVolume(), finish(), and setup().

EMData* EMAN::nn4_rectReconstructor::m_volume [private]

Definition at line 1102 of file reconstructor.h.

Referenced by buildFFTVolume(), finish(), insert_padfft_slice(), insert_slice(), and nn4_rectReconstructor().

int EMAN::nn4_rectReconstructor::m_weighting [private]

Definition at line 1105 of file reconstructor.h.

Referenced by finish(), and setup().

float EMAN::nn4_rectReconstructor::m_wghta [private]

Definition at line 1118 of file reconstructor.h.

Referenced by finish(), and setup().

float EMAN::nn4_rectReconstructor::m_wghtb [private]

Definition at line 1119 of file reconstructor.h.

EMData* EMAN::nn4_rectReconstructor::m_wptr [private]

Definition at line 1103 of file reconstructor.h.

Referenced by buildNormVolume(), finish(), insert_padfft_slice(), and nn4_rectReconstructor().

float EMAN::nn4_rectReconstructor::m_xratio [private]

Definition at line 1113 of file reconstructor.h.

Referenced by insert_padfft_slice(), insert_slice(), and setup().

float EMAN::nn4_rectReconstructor::m_xscale [private]

Definition at line 1114 of file reconstructor.h.

float EMAN::nn4_rectReconstructor::m_yratio [private]

Definition at line 1113 of file reconstructor.h.

Referenced by insert_padfft_slice(), insert_slice(), and setup().

float EMAN::nn4_rectReconstructor::m_yscale [private]

Definition at line 1114 of file reconstructor.h.

float EMAN::nn4_rectReconstructor::m_zratio [private]

Definition at line 1113 of file reconstructor.h.

Referenced by insert_padfft_slice(), and setup().

const string nn4_rectReconstructor::NAME = "nn4_rect" [static]

Definition at line 1099 of file reconstructor.h.

Referenced by get_name().


The documentation for this class was generated from the following files:
Generated on Tue Jun 11 12:45:01 2013 for EMAN2 by  doxygen 1.4.7