FourierPixelInserter3DMode7 - encapsulates "method 7" for inserting a 2D Fourier slice into a 3D volume See comments in FourierPixelInserter3D for explanations.
More...
#include <reconstructor_tools.h>
|
static const float | kernel [12][12][12] |
|
static const string | NAME = "gridding_7" |
|
FourierPixelInserter3DMode7 - encapsulates "method 7" for inserting a 2D Fourier slice into a 3D volume See comments in FourierPixelInserter3D for explanations.
Definition at line 532 of file reconstructor_tools.h.
◆ FourierInserter3DMode11() [1/2]
EMAN::FourierInserter3DMode11::FourierInserter3DMode11 |
( |
| ) |
|
|
inline |
◆ ~FourierInserter3DMode11()
virtual EMAN::FourierInserter3DMode11::~FourierInserter3DMode11 |
( |
| ) |
|
|
inlinevirtual |
◆ FourierInserter3DMode11() [2/2]
◆ get_desc()
virtual string EMAN::FourierInserter3DMode11::get_desc |
( |
| ) |
const |
|
inlinevirtual |
Get a clear, concise description of this class.
- Returns
- a clear, concise description of this class
Implements EMAN::FactoryBase.
Definition at line 553 of file reconstructor_tools.h.
555 return "7x7x7 gridding kernel with numerically computed kernel";
◆ get_name()
virtual string EMAN::FourierInserter3DMode11::get_name |
( |
| ) |
const |
|
inlinevirtual |
◆ insert_pixel()
bool FourierInserter3DMode11::insert_pixel |
( |
const float & |
xx, |
|
|
const float & |
yy, |
|
|
const float & |
zz, |
|
|
const std::complex< float > |
dt, |
|
|
const float & |
weight = 1.0 |
|
) |
| |
|
virtual |
Insert a complex pixel [dt[0]+dt[1]i] at (float) coordinate [xx,yy,zz] with weighting into a discrete 3D volume.
- Parameters
-
xx | the floating point x coordinate |
yy | the floating point y coordinate |
zz | the floating point z coordinate |
dt | the complex pixel value (dt[0] is real, dt[1] is imaginary) |
weight | the weight to given to this complex pixel |
- Returns
- A boolean that indicates the pixel has been inserted (or not)
Implements EMAN::FourierPixelInserter3D.
Definition at line 964 of file reconstructor_tools.cpp.
971 if (x0<-
nx2-6 || y0<-
ny2-6 || z0<-nz2-6 || x0>
nx2+5 || y0>
ny2+5 || z0>
nz2+5 )
return false;
987 for (
int k = z0 ; k <= z1; k++) {
988 for (
int j = y0 ; j <= y1; j++) {
989 for (
int i = x0; i <= x1; i ++) {
993 off=
data->add_complex_at_fast(i,j,k,dt*gg*w);
1002 printf(
"region writing not supported in mode \n");
static const float kernel[12][12][12]
EMData * data
A pointer to the constructor argument real_data.
float * norm
A pointer to the constructor argument normalize_values.
static int fast_floor(float x)
A fast way to calculate a floor, which is largest integral value not greater than argument.
References EMAN::FourierPixelInserter3D::data, EMAN::Util::fast_floor(), kernel, EMAN::FourierPixelInserter3D::norm, EMAN::FourierPixelInserter3D::nx2, EMAN::FourierPixelInserter3D::ny2, EMAN::FourierPixelInserter3D::nz2, and EMAN::FourierPixelInserter3D::subx0.
◆ NEW()
◆ operator=()
◆ kernel
const float FourierInserter3DMode11::kernel |
|
static |
◆ NAME
const string FourierInserter3DMode11::NAME = "gridding_7" |
|
static |
The documentation for this class was generated from the following files: