From rowen at u.washington.edu Thu Dec 2 12:27:19 2004 From: rowen at u.washington.edu (Russell E Owen) Date: Thu, 2 Dec 2004 09:27:19 -0800 Subject: [AstroPy] DISLIN In-Reply-To: <1101747595.3860.9.camel@sirrah.merate.mi.astro.it> References: <1101747595.3860.9.camel@sirrah.merate.mi.astro.it> Message-ID: I saw the appended announcement today on comp.lang.python and thought it might be of interest. Has anyone here used DISLIN? Comments? -- Russell ----- begin quoted announcement ----- DISLIN is a high-level and easy to use plotting library for displaying data as curves, bar graphs, pie charts, surfaces, contours and maps. I have created a new DISLIN distribution that supports the final Python version 2.4 on Windows. The distribution is available from the DISLIN home page http://www.dislin.de ------ Helmut Michels Max Planck Institute for Solar System Research michels at linmpi.mpg.de _________________________________________________ AstroPy mailing list - astropy at stsci.edu http://www.astro.washington.edu/owen/AstroPy.html From rowen at u.washington.edu Thu Dec 2 14:08:03 2004 From: rowen at u.washington.edu (Russell E Owen) Date: Thu, 2 Dec 2004 11:08:03 -0800 Subject: [AstroPy] Integrating an image viewer? In-Reply-To: <1101747595.3860.9.camel@sirrah.merate.mi.astro.it> References: <1101747595.3860.9.camel@sirrah.merate.mi.astro.it> Message-ID: At 5:59 PM +0100 2004-11-29, Stefano Covino wrote: So...before I get too deeply into this quagmire, I was wondering if folks had any suggestions? Something fairly sane to install and preferably that doesn't require writing an image viewer from scratch. I don't have technical info. Anyway, I would suggest to try with ESO's SkyCat. It does look interesting. Unfortunately, I haven't been able to build BLT (a required Tk extension) on MacOS X so I can't check it out in detail. Maybe for the future (e.g. when a newer BLT comes out). Meanwhile I've decided to make my own image viewer. I've gotten a reasonable way into it. The basics all work. I still need support for drawing lines and such, and having them redrawn correctly when the zoom factor is changed and want a few other refinements. It'll be part of the RO package when it's finished (in fact a preliminary version is already included as of yesterday). -- Russell _________________________________________________ AstroPy mailing list - astropy at stsci.edu http://www.astro.washington.edu/owen/AstroPy.html From stephen.walton at csun.edu Thu Dec 2 14:30:42 2004 From: stephen.walton at csun.edu (Stephen Walton) Date: Thu, 02 Dec 2004 11:30:42 -0800 Subject: [AstroPy] Integrating an image viewer? In-Reply-To: References: <1101747595.3860.9.camel@sirrah.merate.mi.astro.it> Message-ID: <1102015843.10032.8.camel@sunspot.csun.edu> On Thu, 2004-12-02 at 11:08 -0800, Russell E Owen wrote: > Meanwhile I've decided to make my own image viewer. I really encourage everyone who hasn't tried it yet to try matplotlib (matplotlib.sourceforge.net). It's imshow command works fairly well. Of course, PyRAF+DS9 works really well. -- Stephen Walton, Professor of Physics and Astronomy, California State University, Northridge stephen.walton at csun.edu _________________________________________________ AstroPy mailing list - astropy at stsci.edu http://www.astro.washington.edu/owen/AstroPy.html From loredo at astro.cornell.edu Thu Dec 2 15:45:22 2004 From: loredo at astro.cornell.edu (Tom Loredo) Date: Thu, 2 Dec 2004 15:45:22 -0500 (EST) Subject: [AstroPy] DISLIN Message-ID: <200412022045.iB2KjMW02866@laplace.astro.cornell.edu> > I saw the appended announcement today on comp.lang.python and thought > it might be of interest. Has anyone here used DISLIN? Comments? I haven't used it so I can't comment on how well it might suit astronomers' needs. However, I did get it to install on Solaris and made some simple test plots back when Python 2.1 came out, and kept notes on the installation. It wasn't trivial, but it wasn't that difficult, either. If a Solaris user wants to give DISLIN a try, I'd be happy to pass along the notes, though I suspect things have changed in the time since Python2.1 (hopefully it's easier to install now). -Tom _________________________________________________ AstroPy mailing list - astropy at stsci.edu http://www.astro.washington.edu/owen/AstroPy.html From perry at stsci.edu Thu Dec 2 17:33:38 2004 From: perry at stsci.edu (Perry Greenfield) Date: Thu, 2 Dec 2004 17:33:38 -0500 Subject: [AstroPy] Integrating an image viewer? In-Reply-To: <1102015843.10032.8.camel@sunspot.csun.edu> References: <1101747595.3860.9.camel@sirrah.merate.mi.astro.it> <1102015843.10032.8.camel@sunspot.csun.edu> Message-ID: <35D8A334-44B2-11D9-847D-000A95B68E50@stsci.edu> Likewise I would encourage use of imshow or figimage as the basis of an image viewer. The matplotlib figures can be embedded in Tkinter, gtk, or wxwindows (and if you want to embed in some other windowing system, writing a new backend is generally not that hard). On Dec 2, 2004, at 2:30 PM, Stephen Walton wrote: > On Thu, 2004-12-02 at 11:08 -0800, Russell E Owen wrote: > >> Meanwhile I've decided to make my own image viewer. > > I really encourage everyone who hasn't tried it yet to try matplotlib > (matplotlib.sourceforge.net). It's imshow command works fairly well. > Of course, PyRAF+DS9 works really well. > > -- > Stephen Walton, Professor of Physics and Astronomy, > California State University, Northridge > stephen.walton at csun.edu > > _________________________________________________ > AstroPy mailing list - astropy at stsci.edu > http://www.astro.washington.edu/owen/AstroPy.html _________________________________________________ AstroPy mailing list - astropy at stsci.edu http://www.astro.washington.edu/owen/AstroPy.html From perry at stsci.edu Thu Dec 2 17:40:07 2004 From: perry at stsci.edu (Perry Greenfield) Date: Thu, 2 Dec 2004 17:40:07 -0500 Subject: [AstroPy] DISLIN In-Reply-To: References: <1101747595.3860.9.camel@sirrah.merate.mi.astro.it> Message-ID: <1DD64CEC-44B3-11D9-847D-000A95B68E50@stsci.edu> I did try it a few years back. I found it a bit clumsy to use and subject to crashing (not that it hasn't improved or that it wasn't my problem). There were a few issues we had with using it (such as the difficulty of embedding it within other GUI's) and the fact that it was not open source. I forget how well it supported images, that may have been another issue as well. I don't know how much that has changed. But it makes me ask the obvious question. What keeps you from using matplotlib? I know it doesn't have all the plot types (e.g., contour, surface plots and pie charts) but these will be added eventually (contour very soon). Any other reasons? Thanks, Perry On Dec 2, 2004, at 12:27 PM, Russell E Owen wrote: > I saw the appended announcement today on comp.lang.python and thought > it might be of interest. Has anyone here used DISLIN? Comments? > > -- Russell _________________________________________________ AstroPy mailing list - astropy at stsci.edu http://www.astro.washington.edu/owen/AstroPy.html From schaffer at optonline.net Thu Dec 2 17:59:29 2004 From: schaffer at optonline.net (Les Schaffer) Date: Thu, 02 Dec 2004 17:59:29 -0500 Subject: [AstroPy] DISLIN In-Reply-To: <1DD64CEC-44B3-11D9-847D-000A95B68E50@stsci.edu> References: <1DD64CEC-44B3-11D9-847D-000A95B68E50@stsci.edu> Message-ID: <200412021759.29883.schaffer@optonline.net> On Thursday 02 December 2004 17:40, Perry Greenfield wrote: > But it makes me ask the obvious question. What keeps you from using > matplotlib? I know it doesn't have all the plot types (e.g., contour, the nice thing about DISLIN is it handles 3D plotting. i do not find the linux install hard at all. the author of the code seems very responsive to requests for help. les schaffer _________________________________________________ AstroPy mailing list - astropy at stsci.edu http://www.astro.washington.edu/owen/AstroPy.html From rowen at u.washington.edu Thu Dec 2 18:06:31 2004 From: rowen at u.washington.edu (Russell E Owen) Date: Thu, 2 Dec 2004 15:06:31 -0800 Subject: [AstroPy] DISLIN In-Reply-To: <1DD64CEC-44B3-11D9-847D-000A95B68E50@stsci.edu> References: <1101747595.3860.9.camel@sirrah.merate.mi.astro.it> <1DD64CEC-44B3-11D9-847D-000A95B68E50@stsci.edu> Message-ID: >I did try it a few years back. I found it a bit clumsy to use and subject to >crashing (not that it hasn't improved or that it wasn't my problem). >There were >a few issues we had with using it (such as the difficulty of >embedding it within >other GUI's) and the fact that it was not open source. I forget how well it >supported images, that may have been another issue as well. I don't know how >much that has changed. > >But it makes me ask the obvious question. What keeps you from using >matplotlib? >I know it doesn't have all the plot types (e.g., contour, surface plots and >pie charts) but these will be added eventually (contour very soon). Any other >reasons? > >Thanks, Perry > >On Dec 2, 2004, at 12:27 PM, Russell E Owen wrote: > >> I saw the appended announcement today on comp.lang.python and >>thought it might be of interest. Has anyone here used DISLIN? >>Comments? Nothing is keeping me from trying out matplotlib other than inertia. It needs enough extra packages that I've been too lazy to go through the build process. (it may be available via fink but I'm not using it; I've tried it a few times but have always gotten disgusted and ditched it. I strongly prefer manual building for packages I *need*, but fink does have the benefit of allowing one to easily check out potentially interesting stuff.) I'll probably end up using matplotlib (and certainly *some* Tkinter-compatible graphing package) because graphing support is likely to be required in a future version of my telescope user interface. -- Russell _________________________________________________ AstroPy mailing list - astropy at stsci.edu http://www.astro.washington.edu/owen/AstroPy.html From loredo at astro.cornell.edu Thu Dec 2 18:22:40 2004 From: loredo at astro.cornell.edu (Tom Loredo) Date: Thu, 2 Dec 2004 18:22:40 -0500 (EST) Subject: [AstroPy] DISLIN Message-ID: <200412022322.iB2NMel03002@laplace.astro.cornell.edu> > Nothing is keeping me from trying out matplotlib other than inertia. > It needs enough extra packages that I've been too lazy to go through > the build process. (it may be available via fink but I'm not using > it; I've tried it a few times but have always gotten disgusted and > ditched it. I strongly prefer manual building for packages I *need*, > but fink does have the benefit of allowing one to easily check out > potentially interesting stuff.) I used Fink for some things when I was using Jaguar, but since switching to Panther I've found all that I needed either available or easy to build. In particular, matplotlib has built painlessly for me on Panther, using Apple's built-in Python. If you're using Panther, I don't think you'll find it difficult to give matplotlib a try. If you're using Jaguar---trust me, it's worth the investment to upgrade to Panther! I spent many days trying to get SciPy and other things to build under Jaguar, and even the macpython-digest gurus couldn't get me through it. It was all very straightforward with Panther. I haven't installed the newest matplotlib yet (will very soon), but the previous version had problems with the wx backend. But you don't need to install wx at all to use the Tk backend. Just install Apple's TclTkAqua (also painless, and you really should have it for all the Tkinter stuff). -Tom _________________________________________________ AstroPy mailing list - astropy at stsci.edu http://www.astro.washington.edu/owen/AstroPy.html From shashi at prl.ernet.in Thu Dec 2 23:24:54 2004 From: shashi at prl.ernet.in (Shashikiran Ganesh) Date: Fri, 3 Dec 2004 09:54:54 +0530 (IST) Subject: [AstroPy] MayaVi Data Visualizer In-Reply-To: <35D8A334-44B2-11D9-847D-000A95B68E50@stsci.edu> Message-ID: Has anyone used the MayaVi Data Visualizer http://mayavi.sf.net ? It is written in python and uses the VTK for graphics and Tkinter for GUI. I tried it sometime but it does not support fits format directly so have not spent much time exploring it with my datasets. The screenshots look quite impressive. It maybe quite interesting to use with 3D fits images (spectral data for example). I guess it is a question of getting VTK to understand fits. I am just looking into the capabilities of matplotlib... -Shashikiran -- 2004-12-03 at 9:41am IST ------------------------------------------------------------------------------- Shashikiran Ganesh | shashi at prl.res.in Physical Research Laboratory | Astronomy and Astrophysics Division | http://www.prl.res.in/~shashi Ahmedabad 380 009, India | http://www.iap.fr/users/shashi ------------------------------------------------------------------------------- _________________________________________________ AstroPy mailing list - astropy at stsci.edu http://www.astro.washington.edu/owen/AstroPy.html From William.T.Bridgman.1 at gsfc.nasa.gov Fri Dec 3 08:14:12 2004 From: William.T.Bridgman.1 at gsfc.nasa.gov (W.T. Bridgman) Date: Fri, 3 Dec 2004 08:14:12 -0500 Subject: [AstroPy] MayaVi Data Visualizer In-Reply-To: References: Message-ID: <39BDAA66-452D-11D9-A7E4-0030657B87AC@gsfc.nasa.gov> I've used it for my work with Sun-Earth Connection/Divsion, primarily as a tool for examining dataset features before exporting isosurface meshes to a more powerful graphics rendering package. I've used it under MacOS X, Linux and IRIX. When you have real 3-D data, which I guess means a model in most of astrophysics, I find it very useful. You can also script processes with it using Python to make simple animations. Currently it uses a bit of a hack to handle time-varying volumetric data. The biggest headache is trying to get data into the VTK format. I've got a few python scripts that will construct unstructured grids, polydata, etc. for some datasets, but the files tend to be huge (I usually use the text format so I can examine them more carefully). My $0.02 worth, Tom On Dec 2, 2004, at 11:24 PM, Shashikiran Ganesh wrote: > Has anyone used the MayaVi Data Visualizer http://mayavi.sf.net ? It > is > written in python and uses the VTK for graphics and Tkinter for GUI. I > tried it sometime but it does not support fits format directly so have > not > spent much time exploring it with my datasets. The screenshots look > quite > impressive. It maybe quite interesting to use with 3D fits images > (spectral data for example). I guess it is a question of getting VTK > to > understand fits. > > I am just looking into the capabilities of matplotlib... > > -Shashikiran > > -- > 2004-12-03 at 9:41am IST > ----------------------------------------------------------------------- > -------- > Shashikiran Ganesh | shashi at prl.res.in > Physical Research Laboratory | > Astronomy and Astrophysics Division | http://www.prl.res.in/~shashi > Ahmedabad 380 009, India | http://www.iap.fr/users/shashi > ----------------------------------------------------------------------- > -------- > > _________________________________________________ > AstroPy mailing list - astropy at stsci.edu > http://www.astro.washington.edu/owen/AstroPy.html > > -- Dr. William T."Tom" Bridgman Scientific Visualization Studio Global Science & Technology, Inc. NASA/Goddard Space Flight Center Email: William.T.Bridgman.1 at gsfc.nasa.gov Code 935 Phone: 301-286-1346 Greenbelt, MD 20771 FAX: 301-286-1634 http://svs.gsfc.nasa.gov/ _________________________________________________ AstroPy mailing list - astropy at stsci.edu http://www.astro.washington.edu/owen/AstroPy.html From William.T.Bridgman.1 at gsfc.nasa.gov Fri Dec 3 08:23:51 2004 From: William.T.Bridgman.1 at gsfc.nasa.gov (W.T. Bridgman) Date: Fri, 3 Dec 2004 08:23:51 -0500 Subject: matplotlib (was Re: [AstroPy] DISLIN) In-Reply-To: <200412022322.iB2NMel03002@laplace.astro.cornell.edu> References: <200412022322.iB2NMel03002@laplace.astro.cornell.edu> Message-ID: <929BD531-452E-11D9-A7E4-0030657B87AC@gsfc.nasa.gov> I've also been slow to adopt matplotlib, despite the fact that it looks quite powerful. I believe 0.61.4 was the last version that built without problems. I can get the wxPython demos to run but just haven't had the time to play with it further. Creating gnuplot compatible files has been working okay for most of my plotting needs. As for the most recent matplotlib, I got v0.64 to build and run under my admin account (MacOSX 10.3+), but the demos fail under any other user account, even when I build/install from that account. Environment variables are the same under both accounts. Possibly a permissions issue but haven't had the time to track it down. Have yet to see this mentioned on the discussion lists for MacPython or matplotlib. I throw this out to see if it inspires any ideas. Tom On Dec 2, 2004, at 6:22 PM, Tom Loredo wrote: > >> Nothing is keeping me from trying out matplotlib other than inertia. >> It needs enough extra packages that I've been too lazy to go through >> the build process. (it may be available via fink but I'm not using >> it; I've tried it a few times but have always gotten disgusted and >> ditched it. I strongly prefer manual building for packages I *need*, >> but fink does have the benefit of allowing one to easily check out >> potentially interesting stuff.) > > I used Fink for some things when I was using Jaguar, but since > switching to Panther I've found all that I needed either available > or easy to build. In particular, matplotlib has built painlessly > for me on Panther, using Apple's built-in Python. If you're > using Panther, I don't think you'll find it difficult to give > matplotlib a try. If you're using Jaguar---trust me, it's > worth the investment to upgrade to Panther! I spent many days > trying to get SciPy and other things to build under Jaguar, and > even the macpython-digest gurus couldn't get me through it. It > was all very straightforward with Panther. > > I haven't installed the newest matplotlib yet (will very soon), > but the previous version had problems with the wx backend. But > you don't need to install wx at all to use the Tk backend. Just > install Apple's TclTkAqua (also painless, and you really should > have it for all the Tkinter stuff). > > -Tom > _________________________________________________ > AstroPy mailing list - astropy at stsci.edu > http://www.astro.washington.edu/owen/AstroPy.html > > -- Dr. William T."Tom" Bridgman Scientific Visualization Studio Global Science & Technology, Inc. NASA/Goddard Space Flight Center Email: William.T.Bridgman.1 at gsfc.nasa.gov Code 935 Phone: 301-286-1346 Greenbelt, MD 20771 FAX: 301-286-1634 http://svs.gsfc.nasa.gov/ _________________________________________________ AstroPy mailing list - astropy at stsci.edu http://www.astro.washington.edu/owen/AstroPy.html