threeML.io.plotting.light_curve_plots module¶
-
threeML.io.plotting.light_curve_plots.
binned_light_curve_plot
(time_bins, cnts, width, bkg=None, selection=None, bkg_selections=None)[source]¶ - Parameters
time_bins – stacked array of time intervals
cnts – counts per bin
bkg – background of the light curve
width – with of the bins
selection – bin selection
bkg_selections –
instrument –
- Returns
-
threeML.io.plotting.light_curve_plots.
channel_plot
(ax, chan_min, chan_max, counts, **kwargs)[source]¶
-
threeML.io.plotting.light_curve_plots.
disjoint_patch_plot
(ax: matplotlib.axes._axes.Axes, bin_min: numpy.array, bin_max: numpy.array, top: float, bottom: float, mask: numpy.array, **kwargs: dict) → None[source]¶ plots patches that are disjoint given by the mask
- Parameters
ax – matplotlib Axes to plot to
bin_min – bin starts
bin_max – bin stops
top – top y value to plot
bottom – bottom y value to plot
mask – mask of the bins
kwargs – matplotlib plot keywords
- Returns
-
threeML.io.plotting.light_curve_plots.
plot_tte_lightcurve
(tte_file: str, start: float = - 10, stop: float = 50, dt: float = 1) → matplotlib.figure.Figure[source]¶ quick plot of a TTE light curve :param tte_file: GBM TTE file name :param start: start of the light curve :param stop: stop of the light curve :param dt: with of the bins