transform_ellipse

radio_beam.utils.transform_ellipse(major, minor, pa, x_scale, y_scale)[source]

Transform an ellipse by scaling in the x and y axes.

Parameters:
majorQuantity

Major axis.

minorQuantity

Minor axis.

paQuantity

PA of the major axis.

x_scalefloat

x axis scaling factor.

y_scalefloat

y axis scaling factor.

Returns:
trans_majorQuantity

Major axis in the transformed frame.

trans_minorQuantity

Minor axis in the transformed frame.

trans_paQuantity

PA of the major axis in the transformed frame.