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

Transform mapping the extent of a real signal onto the extent of its half spectrum. More...

#include <rexlib/ops/rules/half_spectrum_extent_transform.hpp>

Static Public Member Functions

static std::size_t apply (std::size_t extent) noexcept
 Apply the transform.
 
static const char * get_relation () noexcept
 Get a fragment naming the mapping, for diagnostics.
 

Detailed Description

Transform mapping the extent of a real signal onto the extent of its half spectrum.

An axis of n samples holds n / 2 + 1 coefficients once transformed, the other half being redundant.

See also
extent_slot

Member Function Documentation

◆ apply()

static std::size_t rexlib::ops::half_spectrum_extent_transform::apply ( std::size_t  extent)
staticnoexcept

Apply the transform.

Parameters
extentThe number of samples.
Returns
std::size_t The number of coefficients, extent / 2 + 1.

◆ get_relation()

static const char * rexlib::ops::half_spectrum_extent_transform::get_relation ( )
staticnoexcept

Get a fragment naming the mapping, for diagnostics.

Returns
const char* The fragment.

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