![]() |
PURIFY
Next-generation radio interferometric imaging
|
Enumerations | |
enum class | fftw_plan { estimate , measure } |
enum for fftw plans More... | |
Functions | |
template<class T > | |
std::tuple< sopt::OperatorFunction< T >, sopt::OperatorFunction< T > > | init_on_the_fly_gridding_matrix_2d (const Vector< t_real > &u, const Vector< t_real > &v, const Vector< t_complex > &weights, const t_uint &imsizey_, const t_uint &imsizex_, const t_real &oversample_ratio, const std::function< t_real(t_real)> &kernelu, const t_uint Ju, const t_int total_samples) |
on the fly application of the degridding operator using presampling More... | |
template<class T , class... ARGS> | |
std::tuple< sopt::OperatorFunction< T >, sopt::OperatorFunction< T > > | init_gridding_matrix_2d (ARGS &&...args) |
constructs lambdas that apply degridding matrix with adjoint More... | |
template<class T > | |
std::tuple< sopt::OperatorFunction< T >, sopt::OperatorFunction< T > > | init_zero_padding_2d (const Image< typename T::Scalar > &S, const t_real &oversample_ratio) |
Construsts zero padding operator. More... | |
template<class T > | |
sopt::OperatorFunction< T > | init_normalise (const t_real &op_norm) |
template<class T > | |
std::tuple< sopt::OperatorFunction< T >, sopt::OperatorFunction< T > > | init_weights_ (const Vector< t_complex > &weights) |
Construsts zero padding operator. More... | |
template<class T > | |
std::tuple< sopt::OperatorFunction< T >, sopt::OperatorFunction< T > > | init_FFT_2d (const t_uint &imsizey_, const t_uint &imsizex_, const t_real &oversample_factor_, const fftw_plan fftw_plan_flag_=fftw_plan::measure) |
Construsts FFT operator. More... | |
template<class T > | |
std::tuple< sopt::OperatorFunction< T >, sopt::OperatorFunction< T > > | base_padding_and_FFT_2d (const std::function< t_real(t_real)> &ftkernelu, const std::function< t_real(t_real)> &ftkernelv, const t_uint &imsizey, const t_uint &imsizex, const t_real &oversample_ratio=2, const fftw_plan &ft_plan=fftw_plan::measure, const t_real &w_mean=0, const t_real &cellx=1, const t_real &celly=1) |
template<class T > | |
std::tuple< sopt::OperatorFunction< T >, sopt::OperatorFunction< T > > | base_degrid_operator_2d (const Vector< t_real > &u, const Vector< t_real > &v, const Vector< t_real > &w, const Vector< t_complex > &weights, const t_uint &imsizey, const t_uint &imsizex, const t_real &oversample_ratio=2, const kernels::kernel kernel=kernels::kernel::kb, const t_uint Ju=4, const t_uint Jv=4, const fftw_plan &ft_plan=fftw_plan::measure, const bool w_stacking=false, const t_real &cellx=1, const t_real &celly=1, const bool on_the_fly=true) |
template<class T > | |
std::tuple< sopt::OperatorFunction< T >, sopt::OperatorFunction< T > > | base_padding_and_FFT_2d (const std::function< t_real(t_real)> &ftkerneluv, const t_uint imsizey, const t_uint imsizex, const t_real oversample_ratio, const fftw_plan ft_plan, const t_real w_mean, const t_real cellx, const t_real celly) |
template<class T > | |
std::tuple< sopt::OperatorFunction< T >, sopt::OperatorFunction< T > > | base_degrid_operator_2d (const Vector< t_real > &u, const Vector< t_real > &v, const Vector< t_real > &w, const Vector< t_complex > &weights, const t_uint &imsizey, const t_uint &imsizex, const t_real oversample_ratio, const kernels::kernel kernel, const t_uint Ju, const t_uint Jw, const fftw_plan ft_plan, const bool w_stacking, const t_real cellx, const t_real celly, const t_real absolute_error, const t_real relative_error, const dde_type dde) |
|
strong |
enum for fftw plans
Enumerator | |
---|---|
estimate | |
measure |
Definition at line 389 of file operators.h.
std::tuple<sopt::OperatorFunction<T>, sopt::OperatorFunction<T> > purify::operators::base_degrid_operator_2d | ( | const Vector< t_real > & | u, |
const Vector< t_real > & | v, | ||
const Vector< t_real > & | w, | ||
const Vector< t_complex > & | weights, | ||
const t_uint & | imsizey, | ||
const t_uint & | imsizex, | ||
const t_real & | oversample_ratio = 2 , |
||
const kernels::kernel | kernel = kernels::kernel::kb , |
||
const t_uint | Ju = 4 , |
||
const t_uint | Jv = 4 , |
||
const fftw_plan & | ft_plan = fftw_plan::measure , |
||
const bool | w_stacking = false , |
||
const t_real & | cellx = 1 , |
||
const t_real & | celly = 1 , |
||
const bool | on_the_fly = true |
||
) |
Definition at line 490 of file operators.h.
References purify::create_kernels(), PURIFY_LOW_LOG, PURIFY_MEDIUM_LOG, operators_test::u, operators_test::v, and purify::utilities::w_stacking().
std::tuple<sopt::OperatorFunction<T>, sopt::OperatorFunction<T> > purify::operators::base_degrid_operator_2d | ( | const Vector< t_real > & | u, |
const Vector< t_real > & | v, | ||
const Vector< t_real > & | w, | ||
const Vector< t_complex > & | weights, | ||
const t_uint & | imsizey, | ||
const t_uint & | imsizex, | ||
const t_real | oversample_ratio, | ||
const kernels::kernel | kernel, | ||
const t_uint | Ju, | ||
const t_uint | Jw, | ||
const fftw_plan | ft_plan, | ||
const bool | w_stacking, | ||
const t_real | cellx, | ||
const t_real | celly, | ||
const t_real | absolute_error, | ||
const t_real | relative_error, | ||
const dde_type | dde | ||
) |
Definition at line 60 of file wproj_operators.h.
References purify::create_kernels(), purify::create_radial_ftkernel(), PURIFY_LOW_LOG, PURIFY_MEDIUM_LOG, operators_test::u, operators_test::v, purify::utilities::w_stacking(), purify::wkernel_2d, and purify::wkernel_radial.
std::tuple<sopt::OperatorFunction<T>, sopt::OperatorFunction<T> > purify::operators::base_padding_and_FFT_2d | ( | const std::function< t_real(t_real)> & | ftkernelu, |
const std::function< t_real(t_real)> & | ftkernelv, | ||
const t_uint & | imsizey, | ||
const t_uint & | imsizex, | ||
const t_real & | oversample_ratio = 2 , |
||
const fftw_plan & | ft_plan = fftw_plan::measure , |
||
const t_real & | w_mean = 0 , |
||
const t_real & | cellx = 1 , |
||
const t_real & | celly = 1 |
||
) |
Definition at line 453 of file operators.h.
References estimate, purify::details::init_correction2d(), measure, PURIFY_LOW_LOG, and PURIFY_MEDIUM_LOG.
std::tuple<sopt::OperatorFunction<T>, sopt::OperatorFunction<T> > purify::operators::base_padding_and_FFT_2d | ( | const std::function< t_real(t_real)> & | ftkerneluv, |
const t_uint | imsizey, | ||
const t_uint | imsizex, | ||
const t_real | oversample_ratio, | ||
const fftw_plan | ft_plan, | ||
const t_real | w_mean, | ||
const t_real | cellx, | ||
const t_real | celly | ||
) |
Definition at line 25 of file wproj_operators.h.
References estimate, purify::details::init_correction_radial_2d(), measure, PURIFY_LOW_LOG, and PURIFY_MEDIUM_LOG.
std::tuple<sopt::OperatorFunction<T>, sopt::OperatorFunction<T> > purify::operators::init_FFT_2d | ( | const t_uint & | imsizey_, |
const t_uint & | imsizex_, | ||
const t_real & | oversample_factor_, | ||
const fftw_plan | fftw_plan_flag_ = fftw_plan::measure |
||
) |
Construsts FFT operator.
Definition at line 392 of file operators.h.
References estimate, measure, and PURIFY_LOW_LOG.
std::tuple<sopt::OperatorFunction<T>, sopt::OperatorFunction<T> > purify::operators::init_gridding_matrix_2d | ( | ARGS &&... | args | ) |
constructs lambdas that apply degridding matrix with adjoint
Definition at line 312 of file operators.h.
References purify::details::init_gridding_matrix_2d(), and purify::utilities::sparse_multiply_matrix().
sopt::OperatorFunction<T> purify::operators::init_normalise | ( | const t_real & | op_norm | ) |
Definition at line 368 of file operators.h.
std::tuple<sopt::OperatorFunction<T>, sopt::OperatorFunction<T> > purify::operators::init_on_the_fly_gridding_matrix_2d | ( | const Vector< t_real > & | u, |
const Vector< t_real > & | v, | ||
const Vector< t_complex > & | weights, | ||
const t_uint & | imsizey_, | ||
const t_uint & | imsizex_, | ||
const t_real & | oversample_ratio, | ||
const std::function< t_real(t_real)> & | kernelu, | ||
const t_uint | Ju, | ||
const t_int | total_samples | ||
) |
on the fly application of the degridding operator using presampling
Definition at line 21 of file fly_operators.h.
References purify::I, purify::kernels::kernel_samples(), purify::utilities::mod(), PURIFY_LOW_LOG, purify::utilities::sub2ind(), operators_test::u, and operators_test::v.
std::tuple<sopt::OperatorFunction<T>, sopt::OperatorFunction<T> > purify::operators::init_weights_ | ( | const Vector< t_complex > & | weights | ) |
Construsts zero padding operator.
Definition at line 375 of file operators.h.
References PURIFY_DEBUG.
std::tuple<sopt::OperatorFunction<T>, sopt::OperatorFunction<T> > purify::operators::init_zero_padding_2d | ( | const Image< typename T::Scalar > & | S, |
const t_real & | oversample_ratio | ||
) |
Construsts zero padding operator.
Definition at line 331 of file operators.h.
References purify::utilities::sub2ind().