multicolorfits.ComposeState#
- class multicolorfits.ComposeState(gamma=2.2, inverse=False, tickcolor='0.9', facecolor='white', minorticks=True, tick_major_size=8.0, tick_minor_size=4.0, tick_major_width=1.0, tick_minor_width=0.5, tick_direction='in', coord_style='sexagesimal', x_format='hh:mm:ss.ss', y_format='dd:mm:ss.ss', title='', xlabel='', ylabel='', show_legend=False, legend_loc='upper right', show_combo_swatch=False, combo_swatch_loc='lower right', combo_swatch_labels=False, combo_swatch_label_offset=0.62, combo_swatch_inset_scale=0.24, combo_swatch_size=320, show_band_labels=False, band_labels_loc='upper left', show_compass=False, compass_loc='lower left', show_beam=False, beam_loc='lower left', beam_style='crosshair', show_scale_bar=False, scale_bar_asec=0.0, scale_bar_loc=4, scale_bar_color='white', scale_bar_stroke_color='black', scale_bar_stroke_lw=1.75, combine_mode='rgb', combine_blend='screen', combine_background='black', bare_plot=False, panel_preview_hd=False, panel_preview_max_size=512)[source]#
Combined-image settings and plot styling for a session.
Key compositing fields:
gamma— display gamma used when building and combining layers.combine_mode—'rgb','lab','hsv','hsl','ryb', or'cmyk'.combine_blend— lightness blend for Lab/HSV/HSL ('screen', …).combine_background—'black','white','transparent', or a custom color. A non-black background replaces the legacyinverse=Truepath (which complemented hues via1 - image).bare_plot— hide ticks, title, legend, and overlays for image-only export.Overlay and legend toggles (show_legend, show_compass, …).
- Parameters:
gamma (float)
inverse (bool)
tickcolor (str)
facecolor (str)
minorticks (bool)
tick_major_size (float)
tick_minor_size (float)
tick_major_width (float)
tick_minor_width (float)
tick_direction (str)
coord_style (str)
x_format (str)
y_format (str)
title (str)
xlabel (str)
ylabel (str)
show_legend (bool)
legend_loc (str)
show_combo_swatch (bool)
combo_swatch_loc (str)
combo_swatch_labels (bool)
combo_swatch_label_offset (float)
combo_swatch_inset_scale (float)
combo_swatch_size (int)
show_band_labels (bool)
band_labels_loc (str)
show_compass (bool)
compass_loc (str)
show_beam (bool)
beam_loc (str)
beam_style (str)
show_scale_bar (bool)
scale_bar_asec (float)
scale_bar_loc (int)
scale_bar_color (str)
scale_bar_stroke_color (str)
scale_bar_stroke_lw (float)
combine_mode (str)
combine_blend (str)
combine_background (str)
bare_plot (bool)
panel_preview_hd (bool)
panel_preview_max_size (int)
- __init__(gamma=2.2, inverse=False, tickcolor='0.9', facecolor='white', minorticks=True, tick_major_size=8.0, tick_minor_size=4.0, tick_major_width=1.0, tick_minor_width=0.5, tick_direction='in', coord_style='sexagesimal', x_format='hh:mm:ss.ss', y_format='dd:mm:ss.ss', title='', xlabel='', ylabel='', show_legend=False, legend_loc='upper right', show_combo_swatch=False, combo_swatch_loc='lower right', combo_swatch_labels=False, combo_swatch_label_offset=0.62, combo_swatch_inset_scale=0.24, combo_swatch_size=320, show_band_labels=False, band_labels_loc='upper left', show_compass=False, compass_loc='lower left', show_beam=False, beam_loc='lower left', beam_style='crosshair', show_scale_bar=False, scale_bar_asec=0.0, scale_bar_loc=4, scale_bar_color='white', scale_bar_stroke_color='black', scale_bar_stroke_lw=1.75, combine_mode='rgb', combine_blend='screen', combine_background='black', bare_plot=False, panel_preview_hd=False, panel_preview_max_size=512)#
- Parameters:
gamma (float)
inverse (bool)
tickcolor (str)
facecolor (str)
minorticks (bool)
tick_major_size (float)
tick_minor_size (float)
tick_major_width (float)
tick_minor_width (float)
tick_direction (str)
coord_style (str)
x_format (str)
y_format (str)
title (str)
xlabel (str)
ylabel (str)
show_legend (bool)
legend_loc (str)
show_combo_swatch (bool)
combo_swatch_loc (str)
combo_swatch_labels (bool)
combo_swatch_label_offset (float)
combo_swatch_inset_scale (float)
combo_swatch_size (int)
show_band_labels (bool)
band_labels_loc (str)
show_compass (bool)
compass_loc (str)
show_beam (bool)
beam_loc (str)
beam_style (str)
show_scale_bar (bool)
scale_bar_asec (float)
scale_bar_loc (int)
scale_bar_color (str)
scale_bar_stroke_color (str)
scale_bar_stroke_lw (float)
combine_mode (str)
combine_blend (str)
combine_background (str)
bare_plot (bool)
panel_preview_hd (bool)
panel_preview_max_size (int)
- Return type:
None
Methods
__init__([gamma, inverse, tickcolor, ...])to_dict()Attributes
band_labels_locbare_plotbeam_locbeam_stylecombine_backgroundcombine_blendcombine_modecombo_swatch_inset_scalecombo_swatch_label_offsetcombo_swatch_labelscombo_swatch_loccombo_swatch_sizecompass_loccoord_stylefacecolorgammainverselegend_locminortickspanel_preview_hdpanel_preview_max_sizescale_bar_asecscale_bar_colorscale_bar_locscale_bar_stroke_colorscale_bar_stroke_lwshow_band_labelsshow_beamshow_combo_swatchshow_compassshow_legendshow_scale_bartick_directiontick_major_sizetick_major_widthtick_minor_sizetick_minor_widthtickcolortitlex_formatxlabely_formatylabel