Xmipp
v3.23.11-Nereus
|
#include <reconstruct_fourier_buffer_data.h>
Public Member Functions | |
RecFourierBufferData (bool hasFFTs, bool hasCTFs, int fftSizeX, int fftSizeY, int paddedImgSize, int maxNoOfImages, int noOfSymmetries) | |
~RecFourierBufferData () | |
int | getPaddedImgSize () |
int | getPaddedImgByteSize () |
int | getFFTsByteSize () |
float * | getNthItem (float *array, int itemIndex) |
int | getNoOfElements (float *array) |
int | getNoOfElements (RecFourierProjectionTraverseSpace *array) |
int | getMaxByteSize (float *array) |
int | getMaxByteSize (RecFourierProjectionTraverseSpace *array) |
void | invalidate () |
Public Attributes | |
float * | FFTs |
float * | CTFs |
float * | modulators |
float * | paddedImages |
RecFourierProjectionTraverseSpace * | spaces |
int | fftSizeX |
int | fftSizeY |
int | paddedImgSize |
int | noOfImages |
int | maxNoOfImages |
int | noOfSymmetries |
bool | hasFFTs |
bool | hasCTFs |
Protected Member Functions | |
RecFourierBufferData () | |
Struct holding data for calculating Fourier Reconstruction
Contract: 'FFTs' holds 'right side of the centered FFT', i.e. only unique values, with high frequencies in the corners if 'hasFFTs', 'FFTs' contains 'noOfImages' of size 'fftSizeX' * 'fftSizeY' if not 'hasFFTs', 'paddedImages' contains 'noOfImages' of size 'paddedImgSize' * 'paddedImgSize' 'spaces' holds 'noOfImages' * 'noOfSymmetries', which are 'describing' the FFTs/paddedImages 'noOfImages' <= 'maxNoOfImages'
Definition at line 42 of file reconstruct_fourier_buffer_data.h.
|
inline |
Buffer object constructor. If 'hasFFTs' is true, 'FFTs' array is allocated If 'hasCTFs' is true, 'CTFs' and 'modulators' arrays are allocated
Definition at line 49 of file reconstruct_fourier_buffer_data.h.
|
inline |
Definition at line 72 of file reconstruct_fourier_buffer_data.h.
|
inlineprotected |
Definition at line 200 of file reconstruct_fourier_buffer_data.h.
|
inline |
returns size of one FFT in bytes
Definition at line 100 of file reconstruct_fourier_buffer_data.h.
|
inline |
returns max size of the 'array' in bytes OR -1 if 'array' is not from this buffer
Definition at line 141 of file reconstruct_fourier_buffer_data.h.
|
inline |
returns max size of the 'array' in bytes OR -1 if 'array' is not from this buffer
Definition at line 153 of file reconstruct_fourier_buffer_data.h.
|
inline |
returns no of objects currently stored in the array OR -1 if 'array' is not from this buffer
Definition at line 121 of file reconstruct_fourier_buffer_data.h.
|
inline |
returns no of objects currently stored in the array OR -1 if 'array' is not from this buffer
Definition at line 133 of file reconstruct_fourier_buffer_data.h.
|
inline |
returns pointer to the beginning of data for Nth image data in the array OR NULL if 'array' is not from this buffer no boundaries check
Definition at line 109 of file reconstruct_fourier_buffer_data.h.
|
inline |
returns size of one image in bytes
Definition at line 93 of file reconstruct_fourier_buffer_data.h.
|
inline |
returns no of pixels in one image
Definition at line 86 of file reconstruct_fourier_buffer_data.h.
|
inline |
set values to default (invalid) values does not allocate does not release allocated memory
Definition at line 190 of file reconstruct_fourier_buffer_data.h.
float* RecFourierBufferData::CTFs |
Definition at line 161 of file reconstruct_fourier_buffer_data.h.
float* RecFourierBufferData::FFTs |
Definition at line 159 of file reconstruct_fourier_buffer_data.h.
int RecFourierBufferData::fftSizeX |
Definition at line 172 of file reconstruct_fourier_buffer_data.h.
int RecFourierBufferData::fftSizeY |
Definition at line 173 of file reconstruct_fourier_buffer_data.h.
bool RecFourierBufferData::hasCTFs |
Definition at line 183 of file reconstruct_fourier_buffer_data.h.
bool RecFourierBufferData::hasFFTs |
if 'true', 'FFTs' contains 'noOfImages' of size 'fftSizeX' x 'fftSizeY' otherwise 'paddedImages' contains 'noOfImages' of size 'paddedImgSize' * 'paddedImgSize'
Definition at line 182 of file reconstruct_fourier_buffer_data.h.
int RecFourierBufferData::maxNoOfImages |
Definition at line 176 of file reconstruct_fourier_buffer_data.h.
float* RecFourierBufferData::modulators |
Definition at line 163 of file reconstruct_fourier_buffer_data.h.
int RecFourierBufferData::noOfImages |
Definition at line 175 of file reconstruct_fourier_buffer_data.h.
int RecFourierBufferData::noOfSymmetries |
Definition at line 177 of file reconstruct_fourier_buffer_data.h.
float* RecFourierBufferData::paddedImages |
holds pictures that need to be converted to FFT. Images are padded, with data shifted to corners (i.e there is 'empty' cross in the middle
Definition at line 168 of file reconstruct_fourier_buffer_data.h.
int RecFourierBufferData::paddedImgSize |
Definition at line 174 of file reconstruct_fourier_buffer_data.h.
RecFourierProjectionTraverseSpace* RecFourierBufferData::spaces |
Definition at line 170 of file reconstruct_fourier_buffer_data.h.