craftutils.wrap.galfit.tilt_spiral(theta_inc: Quantity, theta_pa: Quantity, r: Quantity, theta: Quantity)

Apply transformations to r coordinate to account for model inclination. :param theta_inc: inclination to line-of-sight, in degrees.

Corresponds to item R9) in the GALFIT feedme definition.

Parameters
theta_pa: Quantity

Position angle of the axis about which the galaxy is rotated for inclination. Corresponds to item R10) in the GALFIT feedme definition.

r: Quantity

r coordinate; distance from the centre of the spiral model, in pixels.

r: Quantity

theta coordinate

Returns

r_prime, appropriately transformed r coordinate