starfish icon indicating copy to clipboard operation
starfish copied to clipboard

[Question] Generalize Physical Coordinates

Open ambrosejcarr opened this issue 4 years ago • 2 comments

@christoffermattssonlangseth @xyanqian noted that starfish restricts global coordinate space to micrometers, but that it could be helpful to operate on the global space in pixels, as well.

Would others find it useful for starfish to generalize the physical_coordinates to global_coordinates + an optional scale factor for a pixel that enables translation into metric space?

ambrosejcarr avatar Sep 28 '19 13:09 ambrosejcarr

I opine that there is nothing about our coordinates that requires it be physical. If someone provides global pixel coordinates in lieu of physical coordinates, everything should basically work. The only wrinkle is that we treat all coordinates as floats.

ttung avatar Sep 28 '19 21:09 ttung

Good to know. And by the way, I think pixel scaling information should always be required in experiment.json file.

xyanqian avatar Sep 30 '19 20:09 xyanqian