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.
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.