cassis_lte_python.gui.plots#

Functions#

plot_window(lte_model, win, ax[, ax2, number, auto, ...])

Plots a given window : overall model, individual components, line positions.

plot_line_position(x_axis, x_pos, y_range, x_pos_err)

gui_plot(lte_model)

file_plot(lte_model, filename[, dirname, verbose, ...])

Produces a plot of the fit results. If several species, change page when plotting the next species.

file_fig_size(nrows, ncols, **kwargs)

Module Contents#

cassis_lte_python.gui.plots.plot_window(lte_model, win, ax, ax2=None, number=True, auto=True, lw=1.0, axes_labels=True)#

Plots a given window : overall model, individual components, line positions. :param lte_model: an object of class ModelSpectrum :param win: the Window to plot :param ax: the Axis on which to plot the Window :param ax2 :param number: annotate the plot with the window’s number at the bottom center :param auto: automatic ticks for top axis :param lw: linewidth in points :param axes_labels: whether to add labels for the axes :return:

cassis_lte_python.gui.plots.plot_line_position(x_axis, x_pos, y_range, x_pos_err, err_color=None, **kwargs)#
cassis_lte_python.gui.plots.gui_plot(lte_model)#
cassis_lte_python.gui.plots.file_plot(lte_model, filename, dirname=None, verbose=True, dpi=DPI_DEF, nrows=NROWS_DEF, ncols=NCOLS_DEF)#

Produces a plot of the fit results. If several species, change page when plotting the next species. :param lte_model: an abject of class ModelSpectrum :param filename: name of output file. :param dirname: path to an output directory. :param verbose: if True, prints some information in the terminal, such as png file location :param dpi: the dpi value :param nrows: number of rows :param ncols: number of columns :return: None

cassis_lte_python.gui.plots.file_fig_size(nrows, ncols, **kwargs)#