|
rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
|
Insert the spectra of projections into the spectrum of a volume, weighted by their contrast transfer function. More...
#include <rexlib/em/ops/reconstruction/insert_ctf_slices_operation.hpp>
Additional Inherited Members | |
Public Types inherited from rexlib::basic_operation< Derived, Traits > | |
| using | traits_type = Traits |
| using | shape_rule_type = typename Traits::shape_rule_type |
| using | type_rule_type = typename Traits::type_rule_type |
Static Public Member Functions inherited from rexlib::basic_operation< Derived, Traits > | |
| static const operation_descriptor & | get_static_descriptor () noexcept |
| Get the description shared by every instance. | |
Static Public Attributes inherited from rexlib::basic_operation< Derived, Traits > | |
| static REXLIB_CONST_CONSTEXPR std::size_t | output_operand_count |
| static REXLIB_CONST_CONSTEXPR std::size_t | input_operand_count |
Insert the spectra of projections into the spectrum of a volume, weighted by their contrast transfer function.
Works as insert_slices_operation, with one more input after transform: ctf, the four CTF parameters of each slice, with the core axis (4):
A positive defocus is an underfocus. With c(k) the CTF of the frequency k of a slice:
The CTF is c(k) = sin(pi L D s^2 - (pi / 2) Cs L^3 s^4 + f + asin(Q)), where:
So c(0) = Q, and the CTF is positive at low frequencies. The frequency -k that an element also stands for has the same CTF.
| rexlib::em::insert_ctf_slices_operation::insert_ctf_slices_operation | ( | const gridding_window & | window, |
| const ctf_optics & | optics, | ||
| double | pixel_size | ||
| ) |
Construct an insertion weighted by the CTF.
| window | The window that spreads a sample over the voxels. |
| optics | The optics of the microscope. |
| pixel_size | The size of a pixel of the images, in angstroms. |
| std::invalid_argument | When the pixel size is not finite and positive. |
|
noexcept |
Get the optics of the microscope.
|
noexcept |
Get the size of a pixel of the images.
|
noexcept |
Get the gridding window.