BroadenedSpectrum

A stick spectrum with associated broadening function

 

__init__(self, frequencies, intensities, broadening_type='gaussian', breadth=10, noising_function=None, **meta): 
  • frequencies: Any
  • intensities: Any
  • broadening_type: "gaussian" | "lorentzian" | function

    the type of broadening to apply (can be any function)

  • breadth: Any

    the breadth or list of breads for the peaks in the spectrum

  • meta: Any

 

plot(self, step_size=0.5, freq_min=None, freq_max=None, figure=None, plot_style=None, filled=False, adjust_width=True, renormalize=True, **opts): 

Applies the broadening then plots it using McUtils.Plots.Plot

  • step_size: Any

    step size to use when getting evaluation points for evaluating the broadening

  • freq_min: Any

    min freq for evaluation

  • freq_max: Any

    max freq for evaluation

  • figure: Any
  • plot_style: Any
  • opts: Any
  • :returns: _

Feedback

Examples

Templates

Documentation