devctrl.data.spectrum.functions.bandwidth_eV_to_nm# bandwidth_eV_to_nm(bandwidth_eV, energy_eV)[source]# Convert a bandwidth in eV to a bandwidth in nm, at the specified energy bw_nm = hc / (E - bw_E/2) - hc / (E + bw_E/2) Parameters: bandwidth_eV – Bandwidth in eV energy_eV – Energy in eV Returns: bandwidth in nm