WrightTools.kit.nm_width

WrightTools.kit.nm_width(center, width, units='wn') → float[source]

Given a center and width, in energy units, get back a width in nm.

Parameters:
  • center (number) – Center (in energy units).
  • width (number) – Width (in energy units).
  • units (string (optional)) – Input units. Default is wn.
Returns:

Width in nm.

Return type:

number