precess_times

sofia_redux.scan.coordinate_systems.epoch.precession_numba_functions.precess_times(p, ra, dec, cos_lat, sin_lat)[source]

Precess the coordinates with a precession matrix.

RA and DEC coordinates are updated in-place. Please see precess_single() for further details on the algorithm.

Parameters:
pnumpy.ndarray (float)

The precession matrix of shape (shape, 3, 3)

ranumpy.ndarray (float)

The Right Ascension coordinates in radians of shape (shape).

decnumpy.ndarray (float)

The Declination coordinates in radians of shape (shape).

cos_latnumpy.ndarray (float)

The cosine(latitude) values of the coordinates of shape (shape).

sin_latnumpy.ndarray (float)

The sine(latitude) values of the coordinates of shape (shape).

Returns:
None