rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
Loading...
Searching...
No Matches
restored_signal_axes.hpp
1// SPDX-License-Identifier: GPL-3.0-only
2
3#pragma once
4
5#include "axis_list.hpp"
6
7#include <rexlib/core/platform/dynamic_shared_object.h>
8#include <rexlib/core/span.hpp>
9
10#include <cstddef>
11
12namespace rexlib
13{
14namespace ops
15{
16
26{
27public:
35 restored_signal_axes(axis_list axes, std::size_t extent) noexcept;
36
44
51 std::size_t get_extent() const noexcept;
52
54 axis_list m_axes;
55 std::size_t m_extent;
56};
57
58} // namespace ops
59} // namespace rexlib
Container for multidimensional numeric data.
Definition array.hpp:31
The axes an inverse real transform acts along, and the extent of the last of them.
Definition restored_signal_axes.hpp:26
restored_signal_axes(axis_list axes, std::size_t extent) noexcept
Construct the parameters of an inverse real transform.
std::size_t get_extent() const noexcept
Get the number of samples along the restored axis.
span< const std::size_t > get_axes() const noexcept
Get the axes transformed.
std::vector< std::size_t > axis_list
The axes an operation acts along.
Definition axis_list.hpp:19
Arrays, the operations on them and the devices that run those operations.
Definition cpu_device.hpp:10