calculateberv

tayph.calculateberv(date, earth_coordinates, ra, dec, mode=False)[source] [edit on github]

This is a copy of the astropyberv above, but as a function for a single date in mjd. lat, long, RA, DEC and elev are in units of degrees and meters.

Parameters
modestr

Specify the spectrograph mode you wish to use

Returns
barycorrfloat

The correction for the barycentric velocity