hms2deg

mpdaf.obj.hms2deg(x)[source]

Transform hours:minutes:seconds strings to degrees.

Parameters:
xstr

The input angle, written in the form, hours:minutes:seconds

Returns:
outfloat

The angle as a number of degrees.