cassis_lte_python.gui.plots#
Classes#
Functions#
|
Plots a given window : overall model, individual components, line positions. |
|
|
|
Produces a plot of the fit results. If several species, change page when plotting the next species. |
|
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)#
- class cassis_lte_python.gui.plots.GuiPlot(lte_model, fig_size=(12, 7), dpi=DPI_GUI_DEF, width_px=None)#
- TOP = 0.97#
- BOTTOM = 0.01#
- LEFT = 0.01#
- RIGHT = 0.97#
- LIST_W = 0.15#
- DIV_POS = 0.16#
- PLOT_PAD = 0.1#
- BTN_H = 0.03#
- BTN_W = 0.02#
- BOTTOM_L = 0.04#
- ROW_H = 0.05#
- PAD = 0.01#
- VISIBLE = 0#
- LIST_POS#
- PLOT_POS#
- PAD_BTN = 0.005#
- BTN_FIRST_POS#
- BTN_LAST_POS#
- BTN_PAGE_UP_POS#
- BTN_PAGE_DOWN_POS#
- BTN_UP_POS#
- BTN_DOWN_POS#
- lte_model#
- plots#
- nplots#
- win_names#
- selected = 0#
- scroll_top = 0#
- fig#
- ax_list#
- btn_up#
- btn_down#
- btn_page_up#
- btn_page_down#
- btn_first#
- btn_last#
- ax_plot#
- divider_line#
- cid_click#
- cid_key#
- cid_resize#
- cid_scroll#
- cid_hover#
- show()#
- cassis_lte_python.gui.plots.file_plot(lte_model, filename, dirname=None, verbose=True, dpi=DPI_FILE_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 object 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)#