RotateCanvas

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

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/v3.5.0/lib/python3.9/site-packages/jdaviz/configs/imviz/plugins/rotate_canvas/rotate_canvas.py', 'rotate_canvas.vue')
user_api

Methods Documentation

reset()[source] [edit on github]

Reset the rotation to an angle of 0 and no flip

set_north_up_east_left()[source] [edit on github]

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] [edit on github]

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

vue_reset(*args, **kwargs)[source] [edit on github]
vue_set_north_up_east_left(*args, **kwargs)[source] [edit on github]
vue_set_north_up_east_right(*args, **kwargs)[source] [edit on github]