blimpy/sigproc.py
def fil_double_to_angle(angle):
      """ Reads a little-endian double in ddmmss.s (or hhmmss.s) format and then
      converts to Float degrees (or hours).  This is primarily used to read
      src_raj and src_dej header values. """

      negative = (angle < 0.0)
      angle = np.abs(angle)

      dd = np.floor((angle / 10000))
      angle -= 10000 * dd
      mm = np.floor((angle / 100))
      ss = angle - 100 * mm
      dd += mm/60.0 + ss/3600.0

      if negative:
          dd *= -1

      return dd
def fil_double_to_angle(angle):
      """ Reads a little-endian double in ddmmss.s (or hhmmss.s) format and then
      converts to Float degrees (or hours).  This is primarily used to read
      src_raj and src_dej header values. """

      negative = (angle < 0.0)
      angle = np.abs(angle)

      dd = np.floor((angle / 10000))
      angle -= 10000 * dd
      mm = np.floor((angle / 100))
      ss = angle - 100 * mm
      dd += mm/60.0 + ss/3600.0

      if negative:
          dd *= -1

      return dd
def fil_double_to_angle ( angle ) : negative = ( angle < 0.0 ) angle = np . abs ( angle ) dd = np . floor ( ( angle / 10000 ) ) angle -= 10000 * dd mm = np . floor ( ( angle / 100 ) ) ss = angle - 100 * mm dd += mm / 60.0 + ss / 3600.0 if negative : dd *= - 1 return dd
Reads a little-endian double in ddmmss.s (or hhmmss.s) format and then
      converts to Float degrees (or hours).  This is primarily used to read
      src_raj and src_dej header values.
Reads a little - endian double in ddmmss . s ( or hhmmss . s ) format and then converts to Float degrees ( or hours ) . This is primarily used to read src_raj and src_dej header values .