calc_lmst_last¶
- rubin_sim.utils.calc_lmst_last(mjd, long_rad)¶
calculates local mean sidereal time and local apparent sidereal time
@param [in] mjd is the universal time (ut1) expressed as an MJD. This can be a numpy array or a single value.
@param [in] long_rad is the longitude in radians (positive east of the prime meridian) This can be numpy array or a single value. If a numpy array, should have the same length as mjd. In that case, each long_rad will be applied only to the corresponding mjd.
@param [out] lmst is the local mean sidereal time in hours
@param [out] last is the local apparent sideral time in hours