PURIFY
Next-generation radio interferometric imaging
Namespaces | Functions
wproj_utilities.cc File Reference
#include "purify/wproj_utilities.h"
+ Include dependency graph for wproj_utilities.cc:

Go to the source code of this file.

Namespaces

 purify
 
 purify::utilities
 
 purify::wproj_utilities
 

Functions

vis_params purify::utilities::sort_by_w (const vis_params &uv_data)
 Sort visibilities to be from w_max to w_min. More...
 
std::vector< t_uint > purify::wproj_utilities::w_rows (const Sparse< t_complex > &w_degrider)
 
std::tuple< t_real, t_real > purify::wproj_utilities::fov_cosines (t_real const &cell_x, t_real const &cell_y, t_uint const &x_size, t_uint const &y_size)
 Work out max L and M directional cosines from image parameters. More...
 
Matrix< t_complex > purify::wproj_utilities::generate_dde (const std::function< t_complex(t_real, t_real)> &dde, const t_real &cell_x, const t_real &cell_y, const t_uint &x_size, const t_uint &y_size)
 Generate image of DDE for A or W projection. More...
 
Matrix< t_complex > purify::wproj_utilities::generate_chirp (const std::function< t_complex(t_real, t_real)> &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)
 
Matrix< t_complex > purify::wproj_utilities::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...
 
Sparse< t_complex > purify::wproj_utilities::create_chirp_row (const t_real &w_rate, const t_real &cell_x, const t_real &cell_y, const t_uint &ftsizev, const t_uint &ftsizeu, const t_real &energy_fraction, const sopt::OperatorFunction< Vector< t_complex >> &fftop)
 Generates row of chirp matrix from image of chirp. More...
 
Sparse< t_complex > purify::wproj_utilities::create_chirp_row (const Vector< t_complex > &chirp_image, const t_real &energy_fraction, const sopt::OperatorFunction< Vector< t_complex >> &fftop)
 
Sparse< t_complex > purify::wproj_utilities::wprojection_matrix (const Sparse< t_complex > &G, const t_uint &x_size, const t_uint &y_size, const Vector< t_real > &w_components, const t_real &cell_x, const t_real &cell_y, const t_real &energy_fraction_chirp, const t_real &energy_fraction_wproj, const expansions::series series=expansions::series::none, const t_uint order=1, const t_real &interpolation_error=1e-2)
 Produce Gridding matrix convovled with chirp matrix for wprojection. More...
 
t_real purify::wproj_utilities::snr_metric (const Image< t_real > &model, const Image< t_real > &solution)
 SNR calculation. More...
 
t_real purify::wproj_utilities::mr_metric (const Image< t_real > &model, const Image< t_real > &solution)
 MR calculation. More...
 
Sparse< t_complex > purify::wproj_utilities::generate_vect (const t_uint &x_size, const t_uint &y_size, const t_real &sigma, const t_real &mean)
 Genereates an image of a Gaussian as a sparse matrice. More...