RotateCanvas#

class jdaviz.configs.imviz.plugins.rotate_canvas.rotate_canvas.RotateCanvas(*args, **kwargs)[source]#

Bases: PluginTemplateMixin, ViewerSelectMixin

See the Canvas Rotation Plugin Documentation for more details.

Only the following attributes and methods are available through the public plugin API:

Public constructor

Attributes Summary

angle

Mixin to handle empty floating point field.

flip_horizontal

A boolean (True, False) trait.

has_wcs

A boolean (True, False) trait.

icon_nuel

A trait for unicode strings.

icon_nuer

A trait for unicode strings.

ref_data

template_file

user_api

Methods Summary

reset()

Reset the rotation to an angle of 0 and no flip

set_north_up_east_left()

Set the rotation angle and flip to achieve North up and East left according to the reference image WCS.

set_north_up_east_right()

Set the rotation angle and flip to achieve North up and East right according to the reference image WCS.

vue_reset(*args, **kwargs)

vue_set_north_up_east_left(*args, **kwargs)

vue_set_north_up_east_right(*args, **kwargs)

Attributes Documentation

angle#

Mixin to handle empty floating point field.

flip_horizontal#

A boolean (True, False) trait.

has_wcs#

A boolean (True, False) trait.

icon_nuel#

A trait for unicode strings.

icon_nuer#

A trait for unicode strings.

ref_data#
template_file = ('/home/docs/checkouts/readthedocs.org/user_builds/jdaviz/envs/latest/lib/python3.11/site-packages/jdaviz/configs/imviz/plugins/rotate_canvas/rotate_canvas.py', 'rotate_canvas.vue')#
user_api#

Methods Documentation

reset()[source]#

Reset the rotation to an angle of 0 and no flip

set_north_up_east_left()[source]#

Set the rotation angle and flip to achieve North up and East left according to the reference image WCS.

set_north_up_east_right()[source]#

Set the rotation angle and flip to achieve North up and East right according to the reference image WCS.

vue_reset(*args, **kwargs)[source]#
vue_set_north_up_east_left(*args, **kwargs)[source]#
vue_set_north_up_east_right(*args, **kwargs)[source]#