rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
Loading...
Searching...
No Matches
Public Member Functions | List of all members
rexlib::ops::irfft_operation Class Referencefinal

Transform a half spectrum back into a real array. More...

#include <rexlib/ops/fourier/irfft_operation.hpp>

Inheritance diagram for rexlib::ops::irfft_operation:
rexlib::parametric_operation< irfft_operation, irfft_operation_traits > rexlib::basic_operation< Derived, Traits > rexlib::operation

Public Member Functions

 irfft_operation (axis_list axes, std::size_t extent, fourier_normalization normalization=fourier_normalization::backward)
 Construct an inverse transform of a real signal.
 
fourier_normalization get_normalization () const noexcept
 Get the scaling convention.
 
- Public Member Functions inherited from rexlib::parametric_operation< irfft_operation, irfft_operation_traits >
 parametric_operation (Args &&... args)
 Construct the operation by constructing its parameters.
 
const parameters_type & get_parameters () const noexcept
 Get the parameters of the operation.
 
const operation_signature & get_signature () const noexcept override
 Get the signature deciding the shape and data type of the operands of this operation.
 
- Public Member Functions inherited from rexlib::basic_operation< Derived, Traits >
const operation_descriptor & get_descriptor () const noexcept override
 Get the description of this operation.
 
operation_id get_id () const noexcept override
 Get the identifier of Derived.
 
- Public Member Functions inherited from rexlib::operation
 operation (const operation &other)=delete
 
 operation (operation &&other)=delete
 
operation & operator= (const operation &other)=delete
 
operation & operator= (operation &&other)=delete
 

Additional Inherited Members

- Public Types inherited from rexlib::parametric_operation< irfft_operation, irfft_operation_traits >
using parameters_type = typename Traits::parameters_type
 
using signature_type = rule_signature< shape_rule_type, type_rule_type, parameters_type >
 
- 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
 

Detailed Description

Transform a half spectrum back into a real array.

The inverse of rfft. An axis of m coefficients comes from either 2*(m - 1) or 2*m - 1 samples, so the operation carries the extent of the restored axis.

Constructor & Destructor Documentation

◆ irfft_operation()

rexlib::ops::irfft_operation::irfft_operation ( axis_list  axes,
std::size_t  extent,
fourier_normalization  normalization = fourier_normalization::backward 
)

Construct an inverse transform of a real signal.

Parameters
axesThe transformed axes. The last one named is the restored one, and the remaining axes are batch dimensions.
extentThe number of samples along the restored axis. The spectrum must hold extent / 2 + 1 coefficients along it.
normalizationWhich of the transform pair carries the scaling. It is measured against the restored real signal, not against the coefficients the spectrum actually holds.
Exceptions
std::invalid_argumentWhen an axis is repeated, when no axis is given, or when extent is zero.

Member Function Documentation

◆ get_normalization()

fourier_normalization rexlib::ops::irfft_operation::get_normalization ( ) const
noexcept

Get the scaling convention.

Returns
fourier_normalization The convention.

The documentation for this class was generated from the following file: