compute_va_effects_vector

romanisim.velocity_aberration.compute_va_effects_vector(velocity_x, velocity_y, velocity_z, u)

Computes constant scale factor due to velocity aberration as well as corrected RA and DEC values, in vector form

Parameters:
velocity_x, velocity_y, velocity_zfloat

The components of the orbital velocity. These are celestial coordinates, with x toward the vernal equinox, y toward right ascension 90 degrees and declination 0, z toward the north celestial pole.

unumpy.array([u0, u1, u2])

The vector form of right ascension and declination of the target (or some other point, such as the center of a detector) in the barycentric coordinate system. The equator and equinox should be the same as the coordinate system for the velocity.

Returns:
scale_factor: float

Multiply the nominal image scale (e.g. in degrees per pixel) by this value to obtain the image scale corrected for the “aberration of starlight” due to the velocity of JWST with respect to the Sun.

u_corrnumpy.array([ua0, ua1, ua2])

Apparent position vector in the moving telescope frame.