def convert(self, coords, molecule=None, origins=None, axes=None, ordering=None, **kwargs):
    '\n        Converts from Cartesian to ZMatrix coords, preserving the embedding\n        :param coords:\n        :type coords: CoordinateSet\n        :param molecule:\n        :type molecule:\n        :param origins:\n        :type origins:\n        :param axes:\n        :type axes:\n        :param ordering:\n        :type ordering:\n        :param kwargs:\n        :type kwargs:\n        :return:\n        :rtype:\n        '
    (zmcs, opts) = self.convert_many(np.array([coords]), molecule=molecule, origins=origins, axes=axes, ordering=ordering, **kwargs)
    zmcs = zmcs[0]
    if ('derivs' in opts):
        derivs = opts['derivs']
        reshaped_derivs = ([None] * len(derivs))
        for (i, v) in enumerate(derivs):
            reshaped_derivs[i] = v[0]
        opts['derivs'] = reshaped_derivs
    return (zmcs, opts)
Converts from Cartesian to ZMatrix coords, preserving the embedding
:param coords:
:type coords: CoordinateSet
:param molecule:
:type molecule:
:param origins:
:type origins:
:param axes:
:type axes:
:param ordering:
:type ordering:
:param kwargs:
:type kwargs:
:return:
:rtype:
def convert(self, coords, molecule=None, origins=None, axes=None, ordering=None, **kwargs):
    '\n        Converts from Cartesian to ZMatrix coords, preserving the embedding\n        :param coords:\n        :type coords: CoordinateSet\n        :param molecule:\n        :type molecule:\n        :param origins:\n        :type origins:\n        :param axes:\n        :type axes:\n        :param ordering:\n        :type ordering:\n        :param kwargs:\n        :type kwargs:\n        :return:\n        :rtype:\n        '
    (zmcs, opts) = self.convert_many(np.array([coords]), molecule=molecule, origins=origins, axes=axes, ordering=ordering, **kwargs)
    zmcs = zmcs[0]
    if ('derivs' in opts):
        derivs = opts['derivs']
        reshaped_derivs = ([None] * len(derivs))
        for (i, v) in enumerate(derivs):
            reshaped_derivs[i] = v[0]
        opts['derivs'] = reshaped_derivs
    return (zmcs, opts)