HOPS
HOPS class reference
Functions
hops_visualization.fourfit_spectral_line_plot 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_fourfit_spectral_line_plot (plot_dict, show_on_screen, filename)
 
def make_fourfit_spectral_line_plot_wrapper (fringe_data_interface)
 
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_sl_2d_surface_plot (plot_dict)
 
def make_sl_dr_spectrum_plot (plot_dict)
 
def make_sl_freq_spectrum_plot (plot_dict)
 
def make_sl_phasor_time_plot (plot_dict)
 
def make_top_info_text (plot_dict)
 
def make_window_table (plot_dict)
 
def make_xpower_plot (plot_dict)
 
def press_event_handler (event)
 

Function Documentation

◆ get_numpy_version_tuple()

def hops_visualization.fourfit_spectral_line_plot.get_numpy_version_tuple ( )

◆ is_version_less_than()

def hops_visualization.fourfit_spectral_line_plot.is_version_less_than (   version_tuple_check,
  version_tuple_reference 
)

◆ make_amplitude_table()

def hops_visualization.fourfit_spectral_line_plot.make_amplitude_table (   plot_dict)

◆ make_channel_info_table()

def hops_visualization.fourfit_spectral_line_plot.make_channel_info_table (   plot_dict)

◆ make_channel_segment_plots_alt()

def hops_visualization.fourfit_spectral_line_plot.make_channel_segment_plots_alt (   fig,
  plot_dict 
)

◆ make_channel_segment_validity_plots()

def hops_visualization.fourfit_spectral_line_plot.make_channel_segment_validity_plots (   fig,
  plot_dict 
)

◆ make_coord_text()

def hops_visualization.fourfit_spectral_line_plot.make_coord_text (   plot_dict)

◆ make_data_stats_text()

def hops_visualization.fourfit_spectral_line_plot.make_data_stats_text (   plot_dict)

◆ make_dr_mbd_plot()

def hops_visualization.fourfit_spectral_line_plot.make_dr_mbd_plot (   plot_dict)

◆ make_fourfit_spectral_line_plot()

def hops_visualization.fourfit_spectral_line_plot.make_fourfit_spectral_line_plot (   plot_dict,
  show_on_screen,
  filename 
)
Function to reproduce a fourfit fringe plot.

Parameters
----------
plot_dict : dict
    Dictionary with key/value pairs for the plot.
show_on_screen : bool
    Show the plot on-screen.
filename : str
    Path of the filename to save the plot, if empty, plot will not be saved.

Returns
-------
None

◆ make_fourfit_spectral_line_plot_wrapper()

def hops_visualization.fourfit_spectral_line_plot.make_fourfit_spectral_line_plot_wrapper (   fringe_data_interface)

◆ make_info_text_box()

def hops_visualization.fourfit_spectral_line_plot.make_info_text_box (   plot_dict)

◆ make_model_resid_info_text()

def hops_visualization.fourfit_spectral_line_plot.make_model_resid_info_text (   plot_dict)

◆ make_pcal_plots()

def hops_visualization.fourfit_spectral_line_plot.make_pcal_plots (   fig,
  plot_dict 
)

◆ make_rms_table()

def hops_visualization.fourfit_spectral_line_plot.make_rms_table (   plot_dict)

◆ make_sbd_dtec_plot()

def hops_visualization.fourfit_spectral_line_plot.make_sbd_dtec_plot (   plot_dict)

◆ make_sciformat()

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

◆ make_sl_2d_surface_plot()

def hops_visualization.fourfit_spectral_line_plot.make_sl_2d_surface_plot (   plot_dict)
2-D delay-rate x frequency amplitude surface for spectral-line data.
Replaces make_sbd_dtec_plot() when plot_dict["extra"]["is_spectral_line"] is True.
Occupies the same grid cell as the broadband SBD panel.

◆ make_sl_dr_spectrum_plot()

def hops_visualization.fourfit_spectral_line_plot.make_sl_dr_spectrum_plot (   plot_dict)
1-D delay-rate spectrum for spectral-line data.
Replaces make_dr_mbd_plot() when plot_dict["extra"]["is_spectral_line"] is True.
Occupies the same grid cell as the broadband DR/MBD panel.

◆ make_sl_freq_spectrum_plot()

def hops_visualization.fourfit_spectral_line_plot.make_sl_freq_spectrum_plot (   plot_dict)
1-D frequency spectrum (amplitude + phase) at the fitted (channel, DR) bin.
Replaces make_xpower_plot() when plot_dict["extra"]["is_spectral_line"] is True.
Occupies the same grid cell as the broadband cross-power spectrum panel.

◆ make_sl_phasor_time_plot()

def hops_visualization.fourfit_spectral_line_plot.make_sl_phasor_time_plot (   plot_dict)
Peak-phasor amplitude and phase vs time (delay-rate correction only).
Placed in the same grid cell as make_channel_segment_plots_alt.
Data: SL_SEG_AMP (amplitude per segment), SL_SEG_PHS (phase in degrees per segment).

◆ make_top_info_text()

def hops_visualization.fourfit_spectral_line_plot.make_top_info_text (   plot_dict)

◆ make_window_table()

def hops_visualization.fourfit_spectral_line_plot.make_window_table (   plot_dict)

◆ make_xpower_plot()

def hops_visualization.fourfit_spectral_line_plot.make_xpower_plot (   plot_dict)

◆ press_event_handler()

def hops_visualization.fourfit_spectral_line_plot.press_event_handler (   event)