otp.math.degrees#
- degrees(value)#
Returns the corresponding angle, in degrees, for
valuespecified in radians.Examples
>>> data = otp.Tick(A=1) >>> data['DEGREES'] = otp.math.degrees(otp.math.pi() / 4) # should return 45 >>> otp.run(data) Time A DEGREES 0 2003-12-01 1 45.0
See also
DEGREES OneTick function