exoiris.ExoIris.plot_transmission_spectrum

exoiris.ExoIris.plot_transmission_spectrum#

ExoIris.plot_transmission_spectrum(result: str | None = None, ax: Axes = None, xscale: str | None = None, xticks=None, ylim=None, plot_resolution: bool = True) Figure[source]#

Plot the transmission spectrum.

Parameters:
  • result – The type of result to plot. Can be ‘fit’, ‘mcmc’, or None. If None, the default behavior is to use ‘mcmc’ if the MCMC sampler has been run, otherwise ‘fit’. Default is None.

  • ax – The matplotlib Axes object to plot on. If None, a new figure and axes will be created. Default is None.

  • xscale – The scale of the x-axis. Can be ‘linear’, ‘log’, ‘symlog’, ‘logit’, or None. If None, the default behavior is to use the scale of the current axes. Default is None.

  • xticks – The tick locations for the x-axis. If None, the default behavior is to use the tick locations of the current axes.

  • ylim – The limits for the y-axis. If None, the default behavior is to use the limits of the current axes.

  • plot_resolution – Whether to plot the resolution of the transmission spectrum as vertical lines. Default is True.

Returns:

The matplotlib Figure of the plotted transmission spectrum.

Return type:

Figure