PixelPlotMixin#
- class stixpy.product.sources.PixelPlotMixin[source]#
Bases:
objectPixel plot mixin providing pixel plotting for pixel data.
Methods Summary
plot_pixels([time_indices, energy_indices, fig])Plot individual pixel data for each detector.
Methods Documentation
- plot_pixels(time_indices=None, energy_indices=None, fig=None)[source]#
Plot individual pixel data for each detector.
- Parameters:
time_indices (
listornumpy.ndarray) – If an 1xN array will be treated as mask if 2XN array will sum data between given indices. For exampletime_indices=[0, 2, 5]would return only the first, third and sixth times whiletime_indices=[[0, 2],[3, 5]]would sum the data between.energy_indices (
listornumpy.ndarray) – If an 1xN array will be treated as mask if 2XN array will sum data between given indices. For exampleenergy_indices=[0, 2, 5]would return only the first, third and sixth times whileenergy_indices=[[0, 2],[3, 5]]would sum the data between.fig (optional
matplotlib.figure) – The figure where to which the pixel plot will be added.
- Returns:
matplotlib.figure– The figure