edges_analysis.coordinates

Functions for working with earth/sky coordinates.

Functions

dt_from_jd(y, d, *args)

Get a datetime object from a julian date.

f2z(fe)

Convert observed 21cm frequency to redshift.

get_jd(d)

Get the day of the year from a datetime object.

gha2lst(gha)

Convert GHA to LST.

lst2gha(lst)

Convert LST to GHA.

lst_to_earth_time(time)

Return a factor to convert one second of earth-measured time to an LST.

lsts_to_times(lsts, ref_time[, location])

Convert a list of LSTs to local times at a particular location.

moon_azel(times, obs_location)

Get local coordinates of the Sun using Astropy.

sun_azel(times, obs_location)

Get local coordinates of the Sun using Astropy.

utc2lst(utc_time_array, longitude)

Convert an array representing UTC date/time to a 1D array of LST date/time.

z2f(z)

Convert observed redshift to 21cm frequency.