|
rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
|
Separable window that spreads a sample over the voxels of a grid. More...
#include <rexlib/em/ops/parameters/gridding_window.hpp>
Public Member Functions | |
| gridding_profile | get_profile () const noexcept |
| Get the profile of the window. | |
| double | get_half_width () const noexcept |
| Get the half-width of the window. | |
| double | get_shape () const noexcept |
| Get the shape of a Kaiser-Bessel window. | |
Static Public Member Functions | |
| static gridding_window | nearest () noexcept |
| Get the window of nearest-neighbour gridding. | |
| static gridding_window | linear () noexcept |
| Get the window of trilinear gridding. | |
| static gridding_window | kaiser_bessel (double half_width, double shape) |
| Get a Kaiser-Bessel window. | |
Separable window that spreads a sample over the voxels of a grid.
A sample at the continuous position K adds to the voxel g with the weight phi(g_x - K_x) phi(g_y - K_y) phi(g_z - K_z), where phi is the one-dimensional window of the profile. A voxel at a distance of the half-width or more along any axis receives nothing.
|
noexcept |
Get the half-width of the window.
|
noexcept |
Get the profile of the window.
|
noexcept |
Get the shape of a Kaiser-Bessel window.
|
static |
Get a Kaiser-Bessel window.
| half_width | The half-width w of the window, in voxels. |
| shape | The shape beta of the window. 0 gives a box of half-width w. |
| std::invalid_argument | When the half-width is not finite and positive, or the shape is not finite and 0 or more. |
|
staticnoexcept |
Get the window of trilinear gridding.
|
staticnoexcept |
Get the window of nearest-neighbour gridding.