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 legacy inverse=True path (which complemented hues via 1 - 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_loc

bare_plot

beam_loc

beam_style

combine_background

combine_blend

combine_mode

combo_swatch_inset_scale

combo_swatch_label_offset

combo_swatch_labels

combo_swatch_loc

combo_swatch_size

compass_loc

coord_style

facecolor

gamma

inverse

legend_loc

minorticks

panel_preview_hd

panel_preview_max_size

scale_bar_asec

scale_bar_color

scale_bar_loc

scale_bar_stroke_color

scale_bar_stroke_lw

show_band_labels

show_beam

show_combo_swatch

show_compass

show_legend

show_scale_bar

tick_direction

tick_major_size

tick_major_width

tick_minor_size

tick_minor_width

tickcolor

title

x_format

xlabel

y_format

ylabel