Skip to content

allowing angular size as input in Image.set_zoom() #57

@kswang1029

Description

@kswang1029

currently Image.set_zoom() takes the zoom factor as the input. This is not intuitive in general use cases and it depends on the screen resolution. The better inputs should be 1) in pixels to fill up the image view and 2) in angular size to fill up the image view. Examples:

Image.set_zoom('123pix')
Image.set_zoom('20arcsec')
Image.set_zoom('4arcmin')
Image.set_zoom('2deg')

This may be straightforward once CARTAvis/carta-frontend#1176 is implemented (otherwise we will need to handle image<->world coordinates transformation...)

We can still keep the zoom factor as one kind of inputs.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions