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: Any
  • transition_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.Graphics

    figure to plot the spectrum on

  • opts: Any

    any 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: Any
  • breadth: Any
  • :returns: _

Feedback

Examples

Templates

Documentation