'Dot product of two representations.
The calculation is done by converting both ``self`` and ``other``
to `~astropy.coordinates.CartesianRepresentation`.
Note that any associated differentials will be dropped during this
operation.
Parameters
other : `~astropy.coordinates.BaseRepresentation`
The representation to take the dot product with.
Returns
dot_product : `~astropy.units.Quantity`
The sum of the product of the x, y, and z components of the
cartesian representations of ``self`` and ``other``.'

def dot(self, other):

    return self.to_cartesian().dot(other)
