PURIFY
Next-generation radio interferometric imaging
Namespaces | Enumerations | Functions | Variables
kernels.h File Reference
#include "purify/config.h"
#include "purify/types.h"
#include <array>
#include <map>
#include <tuple>
#include <boost/math/special_functions/bessel.hpp>
#include <boost/math/special_functions/sinc.hpp>
+ Include dependency graph for kernels.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 purify
 
 purify::kernels
 

Enumerations

enum class  purify::kernels::kernel {
  purify::kernels::kb , purify::kernels::gauss , purify::kernels::box , purify::kernels::pswf ,
  purify::kernels::kbmin , purify::kernels::gauss_alt , purify::kernels::kb_presample
}
 

Functions

t_real purify::kernels::kaiser_bessel (const t_real x, const t_real J)
 Kaiser-Bessel kernel. More...
 
t_real purify::kernels::kaiser_bessel_general (const t_real x, const t_real J, const t_real alpha)
 More general Kaiser-Bessel kernel. More...
 
t_real purify::kernels::ft_kaiser_bessel_general (const t_real x, const t_real J, const t_real alpha)
 Fourier transform of more general Kaiser-Bessel kernel. More...
 
t_real purify::kernels::ft_kaiser_bessel (const t_real x, const t_real J)
 Fourier transform of kaiser bessel kernel. More...
 
t_real purify::kernels::gaussian (const t_real x, const t_real J)
 Gaussian kernel. More...
 
t_real purify::kernels::ft_gaussian (const t_real x, const t_real J)
 Fourier transform of Gaussian kernel. More...
 
t_real purify::kernels::calc_for_pswf (const t_real x, const t_real J, const t_real alpha)
 Calculates Horner's Rule the standard PSWF for radio astronomy, with a support of J = 6 and alpha = 1. More...
 
t_real purify::kernels::pswf (const t_real x, const t_real J)
 PSWF kernel. More...
 
t_real purify::kernels::ft_pswf (const t_real x, const t_real J)
 Fourier transform of PSWF kernel. More...
 
std::vector< t_real > purify::kernels::kernel_samples (const t_int total_samples, const std::function< t_real(t_real)> kernelu)
 Calculates samples of a kernel. More...
 
t_real purify::kernels::kernel_zero_interp (const std::vector< t_real > &samples, const t_real x, const t_real J)
 zeroth order interpolates from samples of kernel More...
 
t_real purify::kernels::kernel_linear_interp (const Vector< t_real > &samples, const t_real x, const t_real J)
 linearly interpolates from samples of kernel More...
 
t_real purify::kernels::pill_box (const t_real x, const t_real J)
 Box car function for kernel. More...
 
t_real purify::kernels::ft_pill_box (const t_real x, const t_real J)
 Fourier transform of box car function, a Sinc function. More...
 
t_real purify::kernels::gaussian_general (const t_real x, const t_real J, const t_real sigma)
 Fourier transform of general Gaussian kernel. More...
 
t_real purify::kernels::ft_gaussian_general (const t_real x, const t_real J, const t_real sigma)
 Fourier transform of general Gaussian kernel. More...
 
std::tuple< std::function< t_real(t_real)>, std::function< t_real(t_real)>, std::function< t_real(t_real)>, std::function< t_real(t_real)> > purify::create_kernels (const kernels::kernel kernel_name_, const t_uint Ju_, const t_uint Jv_, const t_real imsizey_, const t_real imsizex_, const t_real oversample_ratio)
 
std::tuple< std::function< t_real(t_real)>, std::function< t_real(t_real)> > purify::create_radial_ftkernel (const kernels::kernel kernel_name_, const t_uint Ju_, const t_real oversample_ratio)
 

Variables

const std::map< std::string, kernel > purify::kernels::kernel_from_string