Xmipp  v3.23.11-Nereus
Macros | Functions
rotational_spectrum.cpp File Reference
#include "rotational_spectrum.h"
#include <core/args.h>
#include <array>
Include dependency graph for rotational_spectrum.cpp:

Go to the source code of this file.

Macros

#define MAX_HARMONIC   51 /* Max. no of harmonics accepted */
 

Functions

std::ostream & operator<< (std::ostream &_out, const Cylindrical_Wave_Decomposition &_cwd)
 
std::ostream & operator<< (std::ostream &_out, const Rotational_Spectrum &_spt)
 

Macro Definition Documentation

◆ MAX_HARMONIC

#define MAX_HARMONIC   51 /* Max. no of harmonics accepted */

Definition at line 266 of file rotational_spectrum.cpp.

Function Documentation

◆ operator<<() [1/2]

std::ostream& operator<< ( std::ostream &  _out,
const Cylindrical_Wave_Decomposition _cwd 
)

Definition at line 31 of file rotational_spectrum.cpp.

33 {
34  _out << "ir=" << _cwd.ir << std::endl
35  << "numin=" << _cwd.numin << std::endl
36  << "numax=" << _cwd.numax << std::endl
37  << "x0=" << _cwd.x0 << std::endl
38  << "y0=" << _cwd.y0 << std::endl
39  << "r1=" << _cwd.r1 << std::endl
40  << "r2=" << _cwd.r2 << std::endl
41  << "r3=" << _cwd.r3 << std::endl;
43  _out << _cwd.out_ampcos(i) << " "
44  << _cwd.out_ampsin(i) << std::endl;
45  return _out;
46 }
double x0
Center of symmetry (x)
MultidimArray< double > out_ampcos
Ampcos.
double r2
Maximum integration radius.
double y0
Center of symmetry (x)
double r3
Integration increment.
#define i
#define FOR_ALL_ELEMENTS_IN_ARRAY1D(v)
double r1
Minimum integration radius.

◆ operator<<() [2/2]

std::ostream& operator<< ( std::ostream &  _out,
const Rotational_Spectrum _spt 
)

Definition at line 253 of file rotational_spectrum.cpp.

254 {
255  _out << "numin=" << _spt.numin << std::endl
256  << "numax=" << _spt.numax << std::endl
257  << "x0=" << _spt.x0 << std::endl
258  << "y0=" << _spt.y0 << std::endl
259  << "rl=" << _spt.rl << std::endl
260  << "rh=" << _spt.rh << std::endl
261  << "dr=" << _spt.dr << std::endl;
262  return _out;
263 }
int numax
Maximum harmonics.
double rh
Maximum integration radius.
int numin
Minimum harmonics.
double y0
Center of symmetry (y).
double dr
Integration increment.
double x0
Center of symmetry (x).
double rl
Minimum integration radius.