utils.get_optimal_image_properties was intaking q, not u, v (which are expected by get_maximum_cell_size, which is called within get_optimal_image_properties). It was also not properly accounting for Nyquist sampling of the mpol grid. This PR fixes it and adds a test.
utils.get_optimal_image_properties
was intakingq
, notu
,v
(which are expected byget_maximum_cell_size
, which is called withinget_optimal_image_properties
). It was also not properly accounting for Nyquist sampling of the mpol grid. This PR fixes it and adds a test.