rampedpyrox.plot_tg_isotopes¶
-
rampedpyrox.
plot_tg_isotopes
(timedata, result, ax=None, plt_corr=True)[source]¶ Function to plot raw timedata (e.g. RPO thermogram) and isotope values.
Parameters: - ax (None or matplotlib.axis) – Axis to plot on. If None, automatically creates a
matplotlip.axis
instance to return. Defaults to None. - plt_corr (str) – If plt_var is ‘Fm’ or ‘d13C’, plt_corr tells the method whether to plot raw or corrected values (if corrected values exist).
- result (rp.Results) –
rp.Results
instance containing the isotope results to plot. - timedata (rp.TimeData) –
rp.TimeData
instance containing the derivative timedata (e.g. rpo- thermogram) to plot.
Returns: ax – Updated axis instance with plotted data.
Return type: matplotlib.axis
Warning
- UserWarning
- If timedata does not contain derivative timedata, dgdt.
- UserWarning
- If result does not contain any of the necessary isotope attributes.
- ArrayError
- if plt_corr is True but no corrected data exist.
- ArrayError
- If result does not contain any of: d13C, Fm.
- ax (None or matplotlib.axis) – Axis to plot on. If None, automatically creates a