skultrafast.spectrum ==================== .. py:module:: skultrafast.spectrum Classes ------- .. autoapisummary:: skultrafast.spectrum.PlotOptions skultrafast.spectrum.Spectrum1D Functions --------- .. autoapisummary:: skultrafast.spectrum._default_fit_style skultrafast.spectrum._default_line_style Module Contents --------------- .. py:function:: _default_fit_style() .. py:function:: _default_line_style() .. py:class:: PlotOptions .. py:attribute:: xlabel :type: str :value: 'Wavenumber [cm-1]' .. py:attribute:: ylabel :type: str :value: 'Absorption [OD]' .. py:attribute:: fit_style :type: dict .. py:attribute:: line_style :type: dict .. py:class:: Spectrum1D .. py:attribute:: x :type: numpy.ndarray .. py:attribute:: y :type: numpy.ndarray .. py:attribute:: y_baseline :type: Optional[numpy.ndarray] :value: None .. py:attribute:: plot_ops :type: PlotOptions .. py:method:: copy() .. py:method:: select(low: float = -np.inf, high: float = np.inf, invert=False) Selects a subrange of the spectrum. The range is defined by the low and high values. If invert is True, the outside of the range is selected. .. py:method:: est_poly_baseline(poly_deg, region: Optional[Tuple[float, float]] = None, exclude: List[Tuple[float, float]] = []) .. py:method:: plot(ax: Optional[matplotlib.pyplot.Axes] = None)