rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
Loading...
Searching...
No Matches
ifftshift_operation.hpp
1// SPDX-License-Identifier: GPL-3.0-only
2
3#pragma once
4
5#include <rexlib/core/operation/operation_declaration_macros.hpp>
6#include <rexlib/ops/ops_component.hpp>
7#include <rexlib/ops/parameters/axis_selection.hpp>
8#include <rexlib/ops/rules/shape_rules.hpp>
9#include <rexlib/ops/rules/type_rules.hpp>
10
11namespace rexlib
12{
13namespace ops
14{
15
22REXLIB_DECLARE_PARAMETRIC_OPERATION(
24 ops_component,
25 REXLIB_OPERANDS("result"),
26 REXLIB_OPERANDS("value"),
28 axis_selection,
29 unary_homogeneous_rule<>
30);
31
32} // namespace ops
33} // namespace rexlib
operand_shape_rule< type_list<>, type_list< core_dimensions< axis_run<> > >, type_list< core_dimensions< axis_run<> > >, named_core< axes_of > > axiswise_shape_rule
Operation along the axes the operation names that keeps their extents.
Definition shape_rules.hpp:189
Arrays, the operations on them and the devices that run those operations.
Definition cpu_device.hpp:10
array ifftshift(const_array_ref x, span< const std::ptrdiff_t > axes, const execution_context &context, array *out=nullptr)
Move the zero frequency of a spectrum back to its origin.