code: def getfov(instid, room, shapelen=_default_len_out, framelen=_default_len_out):
      
      instid = ctypes.c_int(instid)
      shape = stypes.stringToCharP(" " * shapelen)
      framen = stypes.stringToCharP(" " * framelen)
      shapelen = ctypes.c_int(shapelen)
      framelen = ctypes.c_int(framelen)
      bsight = stypes.emptyDoubleVector(3)
      n = ctypes.c_int()
      bounds = stypes.emptyDoubleMatrix(x=3, y=room)
      room = ctypes.c_int(room)
      libspice.getfov_c(instid, room, shapelen, framelen, shape, framen, bsight,
                        ctypes.byref(n), bounds)
      return stypes.toPythonString(shape), stypes.toPythonString(
              framen), stypes.cVectorToPython(
              bsight), n.value, stypes.cMatrixToNumpy(bounds)[0:n.value]
docs: This routine returns the field-of-view (FOV) parameters for a
      specified instrument.
  
      http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/getfov_c.html
  
      :param instid: NAIF ID of an instrument.
      :type instid: int
      :param room: Maximum number of vectors that can be returned.
      :type room: int
      :param shapelen: Space available in the string shape.
      :type shapelen: int
      :param framelen: Space available in the string frame.
      :type framelen: int
      :return:
              Instrument FOV shape,
              Name of the frame in which FOV vectors are defined,
              Boresight vector,
              Number of boundary vectors returned,
              FOV boundary vectors.
      :rtype: tuple