3 #include "../../catch2/catch.hpp"
7 #define MX_NO_ERROR_REPORTS
9 #include "../../../include/sigproc/zernike.hpp"
18 SCENARIO(
"testing noll_nm",
"[sigproc::zernike]" )
271 SCENARIO(
"testing zernikeQNorm",
"[sigproc::zernike]" )
277 Eigen::Array<double, -1, -1> arr,
k, phi;
282 for(
int i=0;i<32;++i)
284 for(
int j=0;j<32;++j)
288 k(i,j) = sqrt(kx*kx + ky*ky);
289 phi(i,j) = atan(ky/kx);
constexpr units::realT k()
Boltzmann Constant.
int noll_nm(int &n, int &m, int j)
Get the Zernike coefficients n,m corrresponding the Noll index j.
realT zernikeQNorm(realT k, realT phi, int n, int m)
Calculate the square-normed Fourier transform of a Zernike polynomial at position (k,...
SCENARIO("testing noll_nm", "[sigproc::zernike]")