|
| int | sirius::utils::Gcd (int a, int b) |
| | Compute Gcd of a and b using C++17: will be replaced with std::gcd. More...
|
| |
| void | sirius::utils::FFTShift2D (const double *data, const Size &size, double *shifted_data) |
| | FFTShift 2D matrix. More...
|
| |
| void | sirius::utils::IFFTShift2D (const double *data, const Size &size, double *shifted_data) |
| | IFFTShift 2D matrix. More...
|
| |
| void | sirius::utils::IFFTShift2DUncentered (const double *data, const Size &size, const Point &hot_point, double *shifted_data) |
| | IFFTShift 2D matrix in which hot point is not centered. More...
|
| |
| void | sirius::utils::FFTShift2DUncentered (const double *data, const Size &size, const Point &hot_point, double *shifted_data) |
| | FFTShift 2D matrix in which hot point must remain uncentered after shift. More...
|
| |
| std::vector< double > | sirius::utils::ComputeFFTFreq (int n_samples, bool half=true) |
| | Compute frequencies for which fft will be calculated. More...
|
| |
| Size | sirius::utils::GenerateDyadicSize (const Size &size, const int res_in, const Size &padding_size) |
| | Rounds the parameters so log2(param) is an int. More...
|
| |
| Size | sirius::utils::GenerateZoomCompliantSize (const Size &size, const ZoomRatio &zoom_r) |
| | Resize given dimensions so it matches with given zoom ratio. More...
|
| |
| void | sirius::utils::CreateMeshgrid (int x_min, int x_max, int y_min, int y_max, std::vector< int > &xx, std::vector< int > &yy) |
| | Create coordinates vector. More...
|
| |