HOPS
HOPS class reference
Functions
hops_visualization.fourfit_plot_common Namespace Reference

Functions

def get_numpy_version_tuple ()
 
def is_version_less_than (version_tuple_check, version_tuple_reference)
 
def make_amplitude_table (plot_dict)
 
def make_channel_info_table (plot_dict)
 
def make_channel_segment_plots_alt (fig, plot_dict)
 
def make_channel_segment_validity_plots (fig, plot_dict)
 
def make_coord_text (plot_dict)
 
def make_data_stats_text (plot_dict)
 
def make_dr_mbd_plot (plot_dict)
 
def make_info_text_box (plot_dict)
 
def make_model_resid_info_text (plot_dict)
 
def make_pcal_plots (fig, plot_dict)
 
def make_rms_table (plot_dict)
 
def make_sbd_dtec_plot (plot_dict)
 
def make_sciformat (float_value, nprec, nmd, np_use_min_digits=True)
 
def make_top_info_text (plot_dict)
 
def make_window_table (plot_dict)
 
def make_xpower_plot (plot_dict)
 
def press_event_handler (event)
 

Detailed Description

Shared fourfit fringe-plot helpers.

This module holds the panel/table/text-box builders that are common to every
Python fringe-plot renderer in this package (fourfit_plot and
fourfit_spectral_line_plot, plus any user plugin that wraps them). Each helper
consumes the ``plot_dict`` produced by the C++ MHO_ComputePlotData and draws
into the current matplotlib figure.

Keep this the single home for these helpers: the renderers import them with
``from .fourfit_plot_common import *`` so a layout change lands in one place
instead of being copy-pasted across siblings. The set of top-level ``plot_dict``
keys read here is checked against the C++ port (MHO_BasicPlotVisitor.cc) by
test/test_plot_renderer_drift.py.

Function Documentation

◆ get_numpy_version_tuple()

def hops_visualization.fourfit_plot_common.get_numpy_version_tuple ( )

◆ is_version_less_than()

def hops_visualization.fourfit_plot_common.is_version_less_than (   version_tuple_check,
  version_tuple_reference 
)

◆ make_amplitude_table()

def hops_visualization.fourfit_plot_common.make_amplitude_table (   plot_dict)

◆ make_channel_info_table()

def hops_visualization.fourfit_plot_common.make_channel_info_table (   plot_dict)

◆ make_channel_segment_plots_alt()

def hops_visualization.fourfit_plot_common.make_channel_segment_plots_alt (   fig,
  plot_dict 
)

◆ make_channel_segment_validity_plots()

def hops_visualization.fourfit_plot_common.make_channel_segment_validity_plots (   fig,
  plot_dict 
)

◆ make_coord_text()

def hops_visualization.fourfit_plot_common.make_coord_text (   plot_dict)

◆ make_data_stats_text()

def hops_visualization.fourfit_plot_common.make_data_stats_text (   plot_dict)

◆ make_dr_mbd_plot()

def hops_visualization.fourfit_plot_common.make_dr_mbd_plot (   plot_dict)

◆ make_info_text_box()

def hops_visualization.fourfit_plot_common.make_info_text_box (   plot_dict)

◆ make_model_resid_info_text()

def hops_visualization.fourfit_plot_common.make_model_resid_info_text (   plot_dict)

◆ make_pcal_plots()

def hops_visualization.fourfit_plot_common.make_pcal_plots (   fig,
  plot_dict 
)

◆ make_rms_table()

def hops_visualization.fourfit_plot_common.make_rms_table (   plot_dict)

◆ make_sbd_dtec_plot()

def hops_visualization.fourfit_plot_common.make_sbd_dtec_plot (   plot_dict)

◆ make_sciformat()

def hops_visualization.fourfit_plot_common.make_sciformat (   float_value,
  nprec,
  nmd,
  np_use_min_digits = True 
)

◆ make_top_info_text()

def hops_visualization.fourfit_plot_common.make_top_info_text (   plot_dict)

◆ make_window_table()

def hops_visualization.fourfit_plot_common.make_window_table (   plot_dict)

◆ make_xpower_plot()

def hops_visualization.fourfit_plot_common.make_xpower_plot (   plot_dict)

◆ press_event_handler()

def hops_visualization.fourfit_plot_common.press_event_handler (   event)