pds_image_view_canvas

class pdsspect.pds_image_view_canvas.PDSImageViewCanvas[source]

Bases: ginga.qtw.ImageViewCanvasQt.ImageViewCanvas

ImageViewCanvas for pdsspect views

add_subview(subview)[source]

Add a ImageViewCanvas as a subview

Parameters:subview (ginga.qtw.ImageViewCanvasQt) – View canvas to add as a subview
Raises:TypeError – When subview is not an ImageViewCanvas object
cut_levels(cut_low, cut_high)[source]

Adjust the cut levels of the view and all the subviews

Parameters:
  • cut_low (float) – The low cut level
  • cut_high (float) – The high cut level
transform(flip_x, flip_y, swap_xy)[source]

Apply transforms to the view and all the subviews

Parameters:
  • flip_x (bool) – Flip x axis if True. Otherwise, do not
  • flip_y (bool) – Flip y axis if True. Otherwise, do not
  • swap_xy (bool) – Swap the x and y axis if True. Otherwise, do not