Xmipp  v3.23.11-Nereus
Public Member Functions | Public Attributes | List of all members
MissingWedge Class Reference

#include <steerable.h>

Public Member Functions

 MissingWedge ()
 Empty constructor. More...
 
void removeWedge (MultidimArray< double > &V) const
 Remove wedge. More...
 

Public Attributes

double rotPos
 Rot of the positive plane. More...
 
double tiltPos
 Tilt of the positive plane. More...
 
double rotNeg
 Rot of the negative plane. More...
 
double tiltNeg
 Tilt of the negative plane. More...
 

Detailed Description

Class for characterizing the missing wedge

Definition at line 37 of file steerable.h.

Constructor & Destructor Documentation

◆ MissingWedge()

MissingWedge::MissingWedge ( )
inline

Empty constructor.

Definition at line 51 of file steerable.h.

52  {
53  rotPos = 0.;
54  tiltPos = 0.;
55  rotNeg = 0.;
56  tiltNeg = 0.;
57  }
double tiltPos
Tilt of the positive plane.
Definition: steerable.h:43
double rotNeg
Rot of the negative plane.
Definition: steerable.h:45
double tiltNeg
Tilt of the negative plane.
Definition: steerable.h:47
double rotPos
Rot of the positive plane.
Definition: steerable.h:41

Member Function Documentation

◆ removeWedge()

void MissingWedge::removeWedge ( MultidimArray< double > &  V) const

Remove wedge.

Definition at line 35 of file steerable.cpp.

36 {
37  Matrix2D<double> Epos, Eneg;
40 
41  Matrix1D<double> freq(3), freqPos, freqNeg;
42  Matrix1D<int> idx(3);
43 
44  FourierTransformer transformer;
46  transformer.FourierTransform(V,Vfft,false);
47 
49  {
50  // Frequency in the coordinate system of the volume
51  VECTOR_R3(idx,j,i,k);
52  FFT_idx2digfreq(V,idx,freq);
53 
54  // Frequency in the coordinate system of the plane
55  freqPos=Epos*freq;
56  freqNeg=Eneg*freq;
57  if (ZZ(freqPos)<0 || ZZ(freqNeg)>0)
58  Vfft(k,i,j)=0;
59  }
60  transformer.inverseFourierTransform();
61 }
void inverseFourierTransform()
Definition: xmipp_fftw.cpp:329
void Euler_angles2matrix(T alpha, T beta, T gamma, Matrix2D< T > &A, bool homogeneous)
Definition: geometry.cpp:624
void FFT_idx2digfreq(T &v, const Matrix1D< int > &idx, Matrix1D< double > &freq)
Definition: xmipp_fft.h:80
double tiltPos
Tilt of the positive plane.
Definition: steerable.h:43
#define i
ql0001_ & k(htemp+1),(cvec+1),(atemp+1),(bj+1),(bl+1),(bu+1),(x+1),(clamda+1), &iout, infoqp, &zero,(w+1), &lenw,(iw+1), &leniw, &glob_grd.epsmac
#define FOR_ALL_ELEMENTS_IN_ARRAY3D(V)
double rotNeg
Rot of the negative plane.
Definition: steerable.h:45
double tiltNeg
Tilt of the negative plane.
Definition: steerable.h:47
void FourierTransform(T &v, T1 &V, bool getCopy=true)
Definition: xmipp_fftw.h:166
#define j
double rotPos
Rot of the positive plane.
Definition: steerable.h:41
#define VECTOR_R3(v, x, y, z)
Definition: matrix1d.h:124
#define ZZ(v)
Definition: matrix1d.h:101

Member Data Documentation

◆ rotNeg

double MissingWedge::rotNeg

Rot of the negative plane.

Definition at line 45 of file steerable.h.

◆ rotPos

double MissingWedge::rotPos

Rot of the positive plane.

Definition at line 41 of file steerable.h.

◆ tiltNeg

double MissingWedge::tiltNeg

Tilt of the negative plane.

Definition at line 47 of file steerable.h.

◆ tiltPos

double MissingWedge::tiltPos

Tilt of the positive plane.

Definition at line 43 of file steerable.h.


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