Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions adcc/ExcitedStates.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,8 +348,8 @@ def plot_spectrum(self, broadening="lorentzian", xaxis="eV",
["eV", "au", "nm", "cm-1"]
yaxis : str
Quantity to plot on the y-Axis. Options are "cross_section",
"osc_strength", "dipole" (plots norm of transition dipole),
"rotational_strength" (ECD spectrum with rotational strength)
"oscillator_strength", "dipole" (plots norm of transition dipole),
"rotatory_strengths" (ECD spectrum with rotational strength),
width : float, optional
Gaussian broadening standard deviation or Lorentzian broadening
gamma parameter. The value should be given in atomic units
Expand Down Expand Up @@ -379,7 +379,7 @@ def plot_spectrum(self, broadening="lorentzian", xaxis="eV",
else:
raise ValueError("Unknown xaxis specifier: {}".format(xaxis))

if yaxis in ["osc", "osc_strength", "oscillator_strength", "f"]:
if yaxis in ["osc", "oscillator_strength", "f"]:
absorption = self.oscillator_strengths
ylabel = "Oscillator strengths (au)"
elif yaxis in ["dipole", "dipole_norm", "μ"]:
Expand Down