plot_pixel_trace_neighbours#
- pylira.utils.plot.plot_pixel_trace_neighbours(image_trace, center_pix, radius_pix=1, cmap='Greys', ax=None, **kwargs)[source]#
Plot pixel traces in a given region.
The distance to the center is encoded in the color the trace it plotted with.
- Parameters:
- image_trace
ndarray
Image traces array
- center_pixtuple of int
Pixel indices, order is (x, y). By default the trace at the center is plotted.
- radius_pixfloat
Radius in which the traces are plotted.
- cmapstr
Colormapt o plot the traces with.
- ax
Axes
Plotting axes
- **kwargsdict
Keyword arguments forwarded to
plot
- image_trace
- Returns:
- ax
Axes
Plotting axes
- ax