From: Humufr <hu...@ya...> - 2006-05-05 16:43:14
|
Hi, I was just trying to see if that will be possible to use matplotlib like base to replace ds9. And someone asked me if it was possible to use matplotlib to overplot some field (it was to check if the field has been observed with different instrument) and I found this intrinsic limitation. I'm not complaining about it but Eric's question was to know if it was possible to do a wraping between pyfits and matplolib. In my experience, it's possible but not useful. I agree that 3kx3k image are not very common but 2kx2k are and in a normal system it not possible to think (at least now) to use matplotlib for image analysis. I'm thinking that matplolib is great library believe me. I'm using it every day but I was just telling that matplotlib can't be use to replace ds9 and to be the base of an analysis tool (for two day dimensional image). I remember a mail from you or someone from stsci about a python ds9. That will be something great clearly. ds9 is good but on linux it's became old especially du to the tk interface (no antilaliasing and probably bad default font from me). There are some other crtics I have about ds9 (user interface etc) but the tool is here and I'm very please by it but that don't means that I don't have some comments to do on it. Regards, N. Perry Greenfield wrote: > > On May 4, 2006, at 11:28 AM, Humufr wrote: > >> Hi, >> >> I would like something like this too. I tried to play a little bit to >> implement it but unfortunatly I find an intrinsic limitation in >> matplotlib. It's using agg and agg can't have image bigger than 3kx3k >> pixels or something like this and even before this limit matplotlib >> take age to plot an image on screen. >> > It certainly is true matplotlib has problems with really big images. > But then I would ask first what you were expecting in the way of > capabilities. I don't think one should expect a package to handle the > automatic rescaling and resampling of very large images without > substantial performance penalties. Were you looking for some simpler > image display capability? Simple pixel dump the the screen (figimage > comes closer to that but still does some processing). There aren't a > lot of 3kx3k image displays out there yet so either you need to pan or > subsample in some manner. If you can point out a reasonable capability > that could handle large images, I think there would be a possibility > of trying to do it at some stage. Is there a program that exists we > should look to as a good example of what should be one? (Existence > proofs are always a great way of convincing developers that it is > possible, or at least what combination of features are worth > implementing.) > > Perry Greenfield > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |