deg2hms

mpdaf.obj.deg2hms(x)[source]

Transform degrees to hours:minutes:seconds strings.

Parameters:
xfloat

The degree value to be written as a sexagesimal string.

Returns:
outstr

The input angle written as a sexagesimal string, in the form, hours:minutes:seconds.