Docstrings and wavelength to energy conversion