![]() |
PURIFY
Next-generation radio interferometric imaging
|
Functions | |
Sparse< t_complex > | init_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 std::function< t_real(t_real)> kernelv, const t_uint Ju, const t_uint Jv) |
Construct gridding matrix. More... | |
Image< t_complex > | init_correction2d (const t_real &oversample_ratio, const t_uint &imsizey_, const t_uint &imsizex_, const std::function< t_real(t_real)> ftkernelu, const std::function< t_real(t_real)> ftkernelv, const t_real &w_mean, const t_real &cellx, const t_real &celly) |
Sparse< t_complex > | init_gridding_matrix_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 std::function< t_real(t_real)> &ftkerneluv, const std::function< t_real(t_real)> &kerneluv, const t_uint Ju, const t_uint Jw, const t_real cellx, const t_real celly, const t_real abs_error, const t_real rel_error, const dde_type dde) |
Construct gridding matrix with wprojection. More... | |
template<class STORAGE_INDEX_TYPE = t_int> | |
Sparse< t_complex, STORAGE_INDEX_TYPE > | init_gridding_matrix_2d (const t_uint number_of_images, const std::vector< t_int > &image_index, 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 std::function< t_real(t_real)> kernelv, const t_uint Ju, const t_uint Jv) |
Construct all to all gridding matrix. More... | |
template<class STORAGE_INDEX_TYPE = t_int> | |
Sparse< t_complex, STORAGE_INDEX_TYPE > | init_gridding_matrix_2d (const t_uint number_of_images, const std::vector< t_int > &image_index, const std::vector< t_real > &w_stacks, 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 std::function< t_real(t_real)> &ftkerneluv, const std::function< t_real(t_real)> &kerneluv, const t_uint Ju, const t_uint Jw, const t_real cellx, const t_real celly, const t_real abs_error, const t_real rel_error, const dde_type dde) |
Construct all to all gridding matrix with wprojection. More... | |
template<class T , class... ARGS> | |
Sparse< t_complex > | init_gridding_matrix_2d (const Sparse< T > &mixing_matrix, ARGS &&...args) |
Construct gridding matrix with mixing. More... | |
Image< t_complex > | init_correction_radial_2d (const t_real oversample_ratio, const t_uint imsizey_, const t_uint imsizex_, const std::function< t_real(t_real)> &ftkerneluv, const t_real w_mean, const t_real cellx, const t_real celly) |
Image< t_complex > purify::details::init_correction2d | ( | const t_real & | oversample_ratio, |
const t_uint & | imsizey_, | ||
const t_uint & | imsizex_, | ||
const std::function< t_real(t_real)> | ftkernelu, | ||
const std::function< t_real(t_real)> | ftkernelv, | ||
const t_real & | w_mean, | ||
const t_real & | cellx, | ||
const t_real & | celly | ||
) |
Given the Fourier transform of a gridding kernel, creates the scaling image for gridding correction.
Definition at line 47 of file operators.cc.
References purify::widefield::generate_chirp().
Referenced by purify::operators::base_padding_and_FFT_2d(), main(), and TEST_CASE().
Image< t_complex > purify::details::init_correction_radial_2d | ( | const t_real | oversample_ratio, |
const t_uint | imsizey_, | ||
const t_uint | imsizex_, | ||
const std::function< t_real(t_real)> & | ftkerneluv, | ||
const t_real | w_mean, | ||
const t_real | cellx, | ||
const t_real | celly | ||
) |
Given the Fourier transform of a radially symmetric gridding kernel, creates the scaling image for gridding correction.
Definition at line 116 of file wproj_operators.cc.
References purify::widefield::generate_chirp().
Referenced by purify::operators::base_padding_and_FFT_2d().
Sparse<t_complex> purify::details::init_gridding_matrix_2d | ( | const Sparse< T > & | mixing_matrix, |
ARGS &&... | args | ||
) |
Construct gridding matrix with mixing.
Definition at line 224 of file operators.h.
References init_gridding_matrix_2d().
Sparse<t_complex, STORAGE_INDEX_TYPE> purify::details::init_gridding_matrix_2d | ( | const t_uint | number_of_images, |
const std::vector< t_int > & | image_index, | ||
const std::vector< t_real > & | w_stacks, | ||
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 std::function< t_real(t_real)> & | ftkerneluv, | ||
const std::function< t_real(t_real)> & | kerneluv, | ||
const t_uint | Ju, | ||
const t_uint | Jw, | ||
const t_real | cellx, | ||
const t_real | celly, | ||
const t_real | abs_error, | ||
const t_real | rel_error, | ||
const dde_type | dde | ||
) |
Construct all to all gridding matrix with wprojection.
Definition at line 105 of file operators.h.
References purify::projection_kernels::exact_w_projection_integration(), purify::projection_kernels::exact_w_projection_integration_1d(), purify::integration::h, purify::I, purify::utilities::mod(), purify::integration::p, purify::constant::pi, purify::widefield::pixel_to_lambda(), PURIFY_HIGH_LOG, PURIFY_LOW_LOG, purify::utilities::sub2ind(), operators_test::u, operators_test::v, purify::widefield::w_support(), and purify::wkernel_radial.
Sparse<t_complex, STORAGE_INDEX_TYPE> purify::details::init_gridding_matrix_2d | ( | const t_uint | number_of_images, |
const std::vector< t_int > & | image_index, | ||
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 std::function< t_real(t_real)> | kernelv, | ||
const t_uint | Ju, | ||
const t_uint | Jv | ||
) |
Construct all to all gridding matrix.
Definition at line 56 of file operators.h.
References purify::I, purify::utilities::mod(), purify::constant::pi, purify::utilities::sub2ind(), operators_test::u, and operators_test::v.
Sparse< t_complex > purify::details::init_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 std::function< t_real(t_real)> | kernelv, | ||
const t_uint | Ju, | ||
const t_uint | Jv | ||
) |
Construct gridding matrix.
Definition at line 7 of file operators.cc.
References purify::I, purify::utilities::mod(), purify::constant::pi, purify::utilities::sub2ind(), operators_test::u, and operators_test::v.
Referenced by purify::operators::init_gridding_matrix_2d(), and init_gridding_matrix_2d().
Sparse< t_complex > purify::details::init_gridding_matrix_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 std::function< t_real(t_real)> & | ftkerneluv, | ||
const std::function< t_real(t_real)> & | kerneluv, | ||
const t_uint | Ju, | ||
const t_uint | Jw, | ||
const t_real | cellx, | ||
const t_real | celly, | ||
const t_real | abs_error, | ||
const t_real | rel_error, | ||
const dde_type | dde | ||
) |
Construct gridding matrix with wprojection.
Definition at line 10 of file wproj_operators.cc.
References purify::projection_kernels::exact_w_projection_integration(), purify::projection_kernels::exact_w_projection_integration_1d(), purify::integration::h, purify::I, purify::utilities::mod(), purify::integration::p, purify::constant::pi, purify::widefield::pixel_to_lambda(), PURIFY_HIGH_LOG, PURIFY_LOW_LOG, purify::utilities::sub2ind(), operators_test::u, operators_test::v, purify::widefield::w_support(), and purify::wkernel_radial.