Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def wavelengths(self):
"""The wavelength scale for the computed spectra, in :math:`\AA`
"""
if self._wavelengths is None:
NSPEC = driver.get_nspec()
self._wavelengths = driver.get_lambda(NSPEC)
return self._wavelengths