DiscreteSpectrum
Concrete implementation of BaseSpectrum that exists
solely to allow for plotting and broadening.
@classmethod
from_transition_moments(cls, frequencies, transition_moments, **meta):
Assumes frequencies and transition moments in a.u.
frequencies:Anytransition_moments:Any:returns:_
@classmethod
from_raman_moments(cls, frequencies, transition_polarizabilities, pump_frequency=0, **meta):
normalize(self, which=None):
plot(self, figure=None, plot_style=None, **opts):
Plots a spectrum using McUtils.Plots.StickSpectrum
figure:None | McUtils.Plots.Graphicsfigure to plot the spectrum on
opts:Anyany of the many, many options supported by
McUtils.Plots.Graphics:returns:_
broaden(self, breadth=10, *, broadening_type='gaussian', noising_function=None):
Applies a broadening to the spectrum
broadening_type:Anybreadth:Any:returns:_