uv_ratio

pyoof.uv_ratio(u, v)[source] [edit on github]

Calculates the aspect ratio for the 3 power pattern plots, plus some corrections for the text on it. Used in the function plot_beam and plot_data

Parameters:

u : ndarray

Spatial frequencies from the power pattern, usually in degrees.

v : ndarray

Spatial frequencies from the power pattern, usually in degrees.

Returns:

plot_width : float

Width for the power pattern figure.

plot_height : float

Height for the power pattern figure.