@classmethod
def get_name(cls):
    """Name of the representation or differential.

        In lower case, with any trailing 'representation' or 'differential'
        removed. (E.g., 'spherical' for
        `~astropy.coordinates.SphericalRepresentation` or
        `~astropy.coordinates.SphericalDifferential`.)
        """
    name = cls.__name__.lower()
    if name.endswith('representation'):
        name = name[:-14]
    elif name.endswith('differential'):
        name = name[:-12]
    return name
