Closed AlexCoul closed 1 year ago
@dpshepherd we can actually use the physical parameters dc and dstage, defined at the very top of the plugin, to set the scale for new images from drag-and-drop and new layers from successive steps.
I think it works, after a drag-and-drop and loading the SPOTS3D model I have the message "Changing image scale from [1. 1. 1.] to [0.4 0.115 0.115]", and the layer's scale clearly changes. I'm pushing these changes.
In script the image scale is set programmatically, and the plugin uses the scale of the existing layer, set in the script, to display correctly new data. After a drag and drop of an image there is no scale, so data is not displayed correctly.
TODO: add a button to set the scale