def getelm(frstyr, lineln, lines):
    """
    Given a the "lines" of a two-line element set, parse the
    lines and return the elements in units suitable for use
    in SPICE software.

    http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/getelm_c.html

    :param frstyr: Year of earliest representable two-line elements.
    :type frstyr: int
    :param lineln: Length of strings in lines array.
    :type lineln: int
    :param lines: A pair of "lines" containing two-line elements.
    :type lines: list of str
    :return:
            The epoch of the elements in seconds past J2000,
            The elements converted to SPICE units.
    :rtype: tuple
    """
    frstyr = ctypes.c_int(frstyr)
    lineln = ctypes.c_int(lineln)
    lines = stypes.listToCharArrayPtr(lines, xLen=lineln, yLen=2)
    epoch = ctypes.c_double()
    elems = stypes.emptyDoubleVector(10)  # guess for length
    libspice.getelm_c(frstyr, lineln, lines, ctypes.byref(epoch), elems)
    return epoch.value, stypes.cVectorToPython(elems)
Given a the "lines" of a two-line element set, parse the
    lines and return the elements in units suitable for use
    in SPICE software.

    http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/getelm_c.html

    :param frstyr: Year of earliest representable two-line elements.
    :type frstyr: int
    :param lineln: Length of strings in lines array.
    :type lineln: int
    :param lines: A pair of "lines" containing two-line elements.
    :type lines: list of str
    :return:
            The epoch of the elements in seconds past J2000,
            The elements converted to SPICE units.
    :rtype: tuple