1

I have a number of IDL visualization routines which I would prefer to be using in Python. These IDL visualization facilities provided a point-and-click interface with the cursor to see values and positions of pixels.

Is there a Python equivalent to this? If I were to rewrite these routines, how could I provide the same type of visualization facilities?

ShanZhengYang
  • 16,511
  • 49
  • 132
  • 234

1 Answers1

1

There is a Python bridge in IDL 8.5 which would allow you import your visualization routines into Python. Or you could port your visualization routines to a Python visualization library; the most common and general vis library in Python is matplotlib.

mgalloy
  • 2,356
  • 1
  • 12
  • 10
  • I don't think Python allows you to be as interactive as IDL though. IDL has routines where you can use the mouse cursor to point at images and see values for what's there. – ShanZhengYang Sep 13 '15 at 22:47
  • Sure it can. See http://stackoverflow.com/questions/27704490/interactive-pixel-information-of-an-image-in-python. – mgalloy Sep 14 '15 at 04:10