bilby_pipe.plotting_utils ========================= .. py:module:: bilby_pipe.plotting_utils .. autoapi-nested-parse:: Plotting helper functions. .. !! processed by numpydoc !! Functions --------- .. autoapisummary:: bilby_pipe.plotting_utils.safe_run bilby_pipe.plotting_utils.strain_spectrogram_plot bilby_pipe.plotting_utils.strain_spectogram_plot bilby_pipe.plotting_utils._filter_strain_data bilby_pipe.plotting_utils.plot_whitened_data Module Contents --------------- .. py:function:: safe_run(func) Try-catch gwpy_func_wrapper. .. !! processed by numpydoc !! .. py:function:: strain_spectrogram_plot(det: str, data: gwpy.timeseries.TimeSeries, data_directory: str, label: Optional[str] = 'spectrogram', extra_label: Optional[str] = '', trigger_time: Optional[int] = None, duration: Optional[int] = None, post_trigger_duration: Optional[int] = None) Save a timeseries and Q-transform spectrogram plot of the detector's data. :Parameters: **det: str** The detector name corresponding to the key in data-dict **data: gwpy.TimeSeries** the timeseries strain data of a detector **trigger_time: None or int** The trigger time to where the plot is zoomed. If none, then will not zoom plot. **duration: None or int** The data duration to help zoom the plot to the trigger time If none, then will not zoom plot. **post_trigger_duration: None or int** The post_trigger_duration time to help zoom the plot to the trigger time. If none, then will not zoom plot. **data_directory: str** The data dir where the plot is stored. **label: str** .. **extra_label: str** A string identifier added to the name of the file :Returns: None .. File by the name `/data/_