hera_sim.utils.compute_ha¶
- hera_sim.utils.compute_ha(lsts: ndarray, ra: float) ndarray [source]¶
Compute hour angle from local sidereal time and right ascension.
- Parameters:
lsts – Local sidereal times of the observation to be generated [radians]. Shape=(NTIMES,)
ra – The right ascension of a point source [radians].
- Returns:
ha – Hour angle corresponding to the provide ra and times. Shape=(NTIMES,)