mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
Loading...
Searching...
No Matches

Generating a fourier basis. More...

Generating a fourier basis.

Author
Jared R. Males (jared.nosp@m.male.nosp@m.s@gma.nosp@m.il.c.nosp@m.om)

Definition in file fourierBasis.hpp.

Go to the source code of this file.

Namespaces

namespace  mx
 The mxlib c++ namespace.

Functions

template<typename realT>
void mx::AO::makeModfBasis (const std::string &basisName, int dim, int N, realT ang, int nZern=0)
 Make the modified Fourier basis.

Function Documentation

◆ makeModfBasis()

template<typename realT>
void mx::AO::makeModfBasis ( const std::string & basisName,
int dim,
int N,
realT ang,
int nZern = 0 )

Make the modified Fourier basis.

Parameters
[in]basisNamethe name of the basis (not including the mx::AO path)
[in]dimthe linear size of the maps, that is they will be dimxdim in size.
[in]Nis the number of degrees of freedom. Number of modes will be (N+1)(N+1) - 1.
Template Parameters
realTthe real numeric type for calculations

Definition at line 32 of file fourierBasis.hpp.

References mx::improc::eigenCube< dataT >::image(), mx::sigproc::makeFourierBasis_Rect(), MX_FOURIER_MODIFIED, mx::fits::fitsFile< dataT, verboseT >::write(), and mx::sigproc::zernikeBasis().