![]() |
PURIFY
Next-generation radio interferometric imaging
|
Functions | |
t_int | w_support (const t_real w, const t_real du, const t_int min, const t_int max) |
estimate support size of w given u resolution du More... | |
t_real | pixel_to_lambda (const t_real cell, const t_uint imsize, const t_real oversample_ratio) |
return factors to convert between arcsecond pixel size image space and lambda for uv space More... | |
t_real | estimate_cell_size (const t_real max_u, const t_uint imsize, const t_real oversample_ratio) |
return cell size from the bandwidth More... | |
t_real | fov_cosine (t_real const cell, t_uint const imsize) |
Work out max L and M directional cosines from image parameters. More... | |
t_real | equivalent_miriad_cell_size (const t_real cell, const t_uint imsize, const t_real oversample_ratio) |
for a given purify cell size in arcsec provide the equivalent miriad cell size in arcsec More... | |
Matrix< t_complex > | generate_chirp (const t_real w_rate, const t_real cell_x, const t_real cell_y, const t_uint x_size, const t_uint y_size) |
Generates image of chirp. More... | |
Matrix< t_complex > | estimate_sample_density (const Vector< t_real > &u, const Vector< t_real > &v, const t_real cellx, const t_real celly, const t_uint imsizex, const t_uint imsizey, const t_real oversample_ratio, const t_real scale) |
estimate sample desity grid for a given field of view More... | |
Vector< t_complex > | sample_density_weights (const Vector< t_real > &u, const Vector< t_real > &v, const t_real cellx, const t_real celly, const t_uint imsizex, const t_uint imsizey, const t_real oversample_ratio, const t_real scale) |
create sample density weights for a given field of view, uniform weighting More... | |
template<class DDE > | |
Matrix< t_complex > | generate_dde (const DDE &dde, const t_real cell_x, const t_real cell_y, const t_uint x_size, const t_uint y_size, const t_real stop_gap) |
Generate image of DDE for aw-stacking. More... | |
template<class DDE > | |
Matrix< t_complex > | generate_chirp (const DDE &dde, const t_real w_rate, const t_real cell_x, const t_real cell_y, const t_uint x_size, const t_uint y_size, const t_real stop_gap=0.1) |
generates image of chirp and DDE More... | |
t_real purify::widefield::equivalent_miriad_cell_size | ( | const t_real | cell, |
const t_uint | imsize, | ||
const t_real | oversample_ratio | ||
) |
for a given purify cell size in arcsec provide the equivalent miriad cell size in arcsec
Definition at line 28 of file wide_field_utilities.cc.
References purify::constant::pi, and pixel_to_lambda().
Referenced by getInputData(), and TEST_CASE().
t_real purify::widefield::estimate_cell_size | ( | const t_real | max_u, |
const t_uint | imsize, | ||
const t_real | oversample_ratio | ||
) |
return cell size from the bandwidth
Definition at line 15 of file wide_field_utilities.cc.
References purify::constant::pi.
Referenced by getInputData().
Matrix< t_complex > purify::widefield::estimate_sample_density | ( | const Vector< t_real > & | u, |
const Vector< t_real > & | v, | ||
const t_real | cellx, | ||
const t_real | celly, | ||
const t_uint | imsizex, | ||
const t_uint | imsizey, | ||
const t_real | oversample_ratio, | ||
const t_real | scale | ||
) |
estimate sample desity grid for a given field of view
Definition at line 39 of file wide_field_utilities.cc.
References purify::utilities::mod(), pixel_to_lambda(), operators_test::u, and operators_test::v.
Referenced by sample_density_weights().
t_real purify::widefield::fov_cosine | ( | t_real const | cell, |
t_uint const | imsize | ||
) |
Work out max L and M directional cosines from image parameters.
Definition at line 21 of file wide_field_utilities.cc.
References purify::constant::pi.
Referenced by generate_dde(), and pixel_to_lambda().
Matrix<t_complex> purify::widefield::generate_chirp | ( | const DDE & | dde, |
const t_real | w_rate, | ||
const t_real | cell_x, | ||
const t_real | cell_y, | ||
const t_uint | x_size, | ||
const t_uint | y_size, | ||
const t_real | stop_gap = 0.1 |
||
) |
generates image of chirp and DDE
Definition at line 64 of file wide_field_utilities.h.
References generate_dde(), purify::I, and purify::constant::pi.
Matrix< t_complex > purify::widefield::generate_chirp | ( | const t_real | w_rate, |
const t_real | cell_x, | ||
const t_real | cell_y, | ||
const t_uint | x_size, | ||
const t_uint | y_size | ||
) |
Generates image of chirp.
Definition at line 34 of file wide_field_utilities.cc.
Referenced by purify::details::init_correction2d(), and purify::details::init_correction_radial_2d().
Matrix<t_complex> purify::widefield::generate_dde | ( | const DDE & | dde, |
const t_real | cell_x, | ||
const t_real | cell_y, | ||
const t_uint | x_size, | ||
const t_uint | y_size, | ||
const t_real | stop_gap | ||
) |
Generate image of DDE for aw-stacking.
Definition at line 43 of file wide_field_utilities.h.
References fov_cosine().
Referenced by generate_chirp(), and TEST_CASE().
t_real purify::widefield::pixel_to_lambda | ( | const t_real | cell, |
const t_uint | imsize, | ||
const t_real | oversample_ratio | ||
) |
return factors to convert between arcsecond pixel size image space and lambda for uv space
Definition at line 11 of file wide_field_utilities.cc.
References fov_cosine().
Referenced by purify::utilities::convert_to_pixels(), equivalent_miriad_cell_size(), estimate_sample_density(), getInputData(), purify::details::init_gridding_matrix_2d(), main(), sample_density_weights(), DegridOperatorCtorFixturePar::SetUp(), and TEST_CASE().
Vector< t_complex > purify::widefield::sample_density_weights | ( | const Vector< t_real > & | u, |
const Vector< t_real > & | v, | ||
const t_real | cellx, | ||
const t_real | celly, | ||
const t_uint | imsizex, | ||
const t_uint | imsizey, | ||
const t_real | oversample_ratio, | ||
const t_real | scale | ||
) |
create sample density weights for a given field of view, uniform weighting
Definition at line 56 of file wide_field_utilities.cc.
References estimate_sample_density(), purify::utilities::mod(), pixel_to_lambda(), operators_test::u, and operators_test::v.
Referenced by main(), and TEST_CASE().
t_int purify::widefield::w_support | ( | const t_real | w, |
const t_real | du, | ||
const t_int | min, | ||
const t_int | max | ||
) |
estimate support size of w given u resolution du
Definition at line 7 of file wide_field_utilities.cc.
Referenced by purify::details::init_gridding_matrix_2d(), main(), TEST_CASE(), and purify::utilities::w_stacking_with_all_to_all().