rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
Loading...
Searching...
No Matches
reconstruction.hpp
1// SPDX-License-Identifier: GPL-3.0-only
2
3#pragma once
4
5#include <rexlib/core/ndarray/array.hpp>
6#include <rexlib/core/ndarray/const_array_ref.hpp>
7#include <rexlib/core/platform/dynamic_shared_object.h>
8#include <rexlib/em/ops/parameters/ctf_optics.hpp>
9#include <rexlib/em/ops/parameters/gridding_window.hpp>
10
11#include <utility>
12
13namespace rexlib
14{
15
16class execution_context;
17
18namespace em
19{
20
46REXLIB_API
47std::pair<array, array> insert_slices(
55 array *numerator_out = nullptr,
56 array *denominator_out = nullptr
57);
58
88std::pair<array, array> insert_weighted_slices(
97 array *numerator_out = nullptr,
98 array *denominator_out = nullptr
99);
100
136std::pair<array, array> insert_ctf_slices(
143 const gridding_window &window,
144 const ctf_optics &optics,
145 double pixel_size,
147 array *numerator_out = nullptr,
148 array *denominator_out = nullptr
149);
150
151} // namespace em
152} // namespace rexlib
Container for multidimensional numeric data.
Definition array.hpp:31
Non-owning read-only reference to an array.
Definition const_array_ref.hpp:36
Constants of a microscope that the contrast transfer function depends on.
Definition ctf_optics.hpp:17
Separable window that spreads a sample over the voxels of a grid.
Definition gridding_window.hpp:24
Pairs the hardware resources and the dispatch strategy used to run operations.
Definition execution_context.hpp:43
std::pair< array, array > insert_weighted_slices(const_array_ref numerator, const_array_ref denominator, const_array_ref slices, const_array_ref weights, const_array_ref transforms, const_array_ref radial_weights, const gridding_window &window, const execution_context &context, array *numerator_out=nullptr, array *denominator_out=nullptr)
Insert the spectra of projections into the spectrum of a volume, with a denominator weight per freque...
std::pair< array, array > insert_slices(const_array_ref numerator, const_array_ref denominator, const_array_ref slices, const_array_ref transforms, const_array_ref radial_weights, const gridding_window &window, const execution_context &context, array *numerator_out=nullptr, array *denominator_out=nullptr)
Insert the spectra of projections into the spectrum of a volume.
std::pair< array, array > insert_ctf_slices(const_array_ref numerator, const_array_ref denominator, const_array_ref slices, const_array_ref transforms, const_array_ref ctf, const_array_ref radial_weights, const gridding_window &window, const ctf_optics &optics, double pixel_size, const execution_context &context, array *numerator_out=nullptr, array *denominator_out=nullptr)
Insert the spectra of projections into the spectrum of a volume, weighted by their contrast transfer ...
Arrays, the operations on them and the devices that run those operations.
Definition cpu_device.hpp:10