qsospec.GlobalQAPlotConfig

class qsospec.GlobalQAPlotConfig(figure_width=10.5, figure_height=8.0, max_zoom_panels=4, show_smoothed_data=True, smooth_original_spectrum_for_display=False, smoothing_window_pixels=7, show_residual_panel=True, show_fit_regions=True, unmodelled_windows=((1170.0, 1275.0, 'Lyα'),), show_host_context_in_overview=True, object_name=None, object_label=None, show_coordinates=True, output_format='png', write_other_diagnostics=False)[source]

Bases: object

Rendering options for the global continuum and emission-line QA plot.

Parameters:
  • figure_width (float)

  • figure_height (float)

  • max_zoom_panels (int)

  • show_smoothed_data (bool)

  • smooth_original_spectrum_for_display (bool)

  • smoothing_window_pixels (int)

  • show_residual_panel (bool)

  • show_fit_regions (bool)

  • unmodelled_windows (Tuple[Tuple[float, float, str], ...])

  • show_host_context_in_overview (bool)

  • object_name (str | None)

  • object_label (str | None)

  • show_coordinates (bool)

  • output_format (str)

  • write_other_diagnostics (bool)

__init__(figure_width=10.5, figure_height=8.0, max_zoom_panels=4, show_smoothed_data=True, smooth_original_spectrum_for_display=False, smoothing_window_pixels=7, show_residual_panel=True, show_fit_regions=True, unmodelled_windows=((1170.0, 1275.0, 'Lyα'),), show_host_context_in_overview=True, object_name=None, object_label=None, show_coordinates=True, output_format='png', write_other_diagnostics=False)
Parameters:
  • figure_width (float)

  • figure_height (float)

  • max_zoom_panels (int)

  • show_smoothed_data (bool)

  • smooth_original_spectrum_for_display (bool)

  • smoothing_window_pixels (int)

  • show_residual_panel (bool)

  • show_fit_regions (bool)

  • unmodelled_windows (Tuple[Tuple[float, float, str], ...])

  • show_host_context_in_overview (bool)

  • object_name (str | None)

  • object_label (str | None)

  • show_coordinates (bool)

  • output_format (str)

  • write_other_diagnostics (bool)

Return type:

None

Methods

__init__([figure_width, figure_height, ...])

Attributes

figure_height

figure_width

max_zoom_panels

object_label

object_name

output_format

show_coordinates

show_fit_regions

show_host_context_in_overview

show_residual_panel

show_smoothed_data

smooth_original_spectrum_for_display

smoothing_window_pixels

unmodelled_windows

write_other_diagnostics

figure_height: float = 8.0
figure_width: float = 10.5
max_zoom_panels: int = 4
object_label: str | None = None
object_name: str | None = None
output_format: str = 'png'
show_coordinates: bool = True
show_fit_regions: bool = True
show_host_context_in_overview: bool = True
show_residual_panel: bool = True
show_smoothed_data: bool = True
smooth_original_spectrum_for_display: bool = False
smoothing_window_pixels: int = 7
unmodelled_windows: Tuple[Tuple[float, float, str], ...] = ((1170.0, 1275.0, 'Lyα'),)
write_other_diagnostics: bool = False