@property
def quantity(self):
    '\n        Convert the ``SpectralCoord`` to a `~astropy.units.Quantity`.\n        Equivalent to ``self.view(u.Quantity)``.\n\n        Returns\n        -------\n        `~astropy.units.Quantity`\n            This object viewed as a `~astropy.units.Quantity`.\n\n        '
    return self.view(u.Quantity)
Convert the ``SpectralCoord`` to a `~astropy.units.Quantity`.
Equivalent to ``self.view(u.Quantity)``.

Returns
-------
`~astropy.units.Quantity`
    This object viewed as a `~astropy.units.Quantity`.
@property
def quantity(self):
    '\n        Convert the ``SpectralCoord`` to a `~astropy.units.Quantity`.\n        Equivalent to ``self.view(u.Quantity)``.\n\n        Returns\n        -------\n        `~astropy.units.Quantity`\n            This object viewed as a `~astropy.units.Quantity`.\n\n        '
    return self.view(u.Quantity)