Visualize the example data and start roi_buddy

85 views
Skip to first unread message

Chongxi Lai

unread,
Aug 13, 2015, 9:59:10 AM8/13/15
to sima-users
Dear SIMA-Team,

I've loaded example data but have no idea how to visualize it. 

One way I saw in the document is use roi_buddy. I run it but get the below error:

Chongxi@fileindexdrives:~/.local/lib/python2.7/site-packages/ROIBuddy$ python roi_buddy.py
/Users/Chongxi/anaconda/lib/python2.7/site-packages/skimage/filter/__init__.py:6: skimage_deprecation: The `skimage.filter` module has been renamed to `skimage.filters`.  This placeholder module will be removed in v0.13.
  warn(skimage_deprecation('The `skimage.filter` module has been renamed '
Traceback (most recent call last):
  File "roi_buddy.py", line 34, in <module>
    import guiqwt.baseplot
  File "/Users/Chongxi/anaconda/lib/python2.7/site-packages/guiqwt/baseplot.py", line 60, in <module>
    from guiqwt.transitional import (QwtPlot, QwtLinearScaleEngine,
  File "/Users/Chongxi/anaconda/lib/python2.7/site-packages/guiqwt/transitional.py", line 19, in <module>
    from PyQt4.Qwt5 import (QwtPlot, QwtSymbol, QwtLinearScaleEngine,
ImportError: No module named Qwt5

It reminds me that I need Qwt5 under PyQt4 module. However, I use anaconda Mac OS X version, its original PyQt4 module does not has Qwt5. Could you recommend a PyQt4 library that contains Qwt5 under Mac OS X for anaconda python 2.7.10

Best,
Chongxi

Patrick Kaifosh

unread,
Aug 14, 2015, 8:59:52 AM8/14/15
to sima-...@googlegroups.com
If you want to visualize the dataset within Python, you can use the
matplotlib package and view such things as individual frames or time
averages (see the dataset API for how to get the frames and time
averages: http://losonczylab.org/sima/1.3/api/datasets.html). Otherwise,
you can export data, as shown here
(https://github.com/losonczylab/sima/blob/master/examples/workflow.py)

Regarding ROI Buddy, yes it seems the problem is that your versions of
guiqwt and PyQt4 are not fully compatible with each other. I'm not a Mac
OS X user, but hopefully someone who is will be able to help you out, or
you will be able to figure it out. In fact, someone had a very similar
issue on linux, and perhaps their solution will work for you:
https://github.com/losonczylab/roibuddy/issues/17

Chongxi Lai wrote:
> Dear SIMA-Team,
>
> I've loaded example data but have no idea how to visualize it.
>
> One way I saw in the document is use roi_buddy. I run it but get the
> below error:
>
> Chongxi@fileindexdrives:~/.local/lib/python2.7/site-packages/ROIBuddy$
> python roi_buddy.py
> /Users/Chongxi/anaconda/lib/python2.7/site-packages/skimage/filter/__init__.py:6:
> skimage_deprecation: The `skimage.filter` module has been renamed to
> `skimage.filters`. This placeholder module will be removed in v0.13.
> warn(skimage_deprecation('The `skimage.filter` module has been renamed '
> Traceback (most recent call last):
> File "roi_buddy.py", line 34, in <module>
> import guiqwt.baseplot
> File
> "/Users/Chongxi/anaconda/lib/python2.7/site-packages/guiqwt/baseplot.py",
> line 60, in <module>
> from guiqwt.transitional import (QwtPlot, QwtLinearScaleEngine,
> File
> "/Users/Chongxi/anaconda/lib/python2.7/site-packages/guiqwt/transitional.py",
> line 19, in <module>
> from PyQt4.Qwt5 import (QwtPlot, QwtSymbol, QwtLinearScaleEngine,
> ImportError: No module named Qwt5
>
> It reminds me that I need /Qwt5 /under/PyQt4 /module. However, I use
> anaconda Mac OS X version, its original PyQt4 module does not has
> Qwt5. Could you recommend a PyQt4 library that contains Qwt5 under
> *Mac OS X *for *anaconda python 2.7.10*?
>
> Best,
> Chongxi
> --
> You received this message because you are subscribed to the Google
> Groups "sima-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to sima-users+...@googlegroups.com
> <mailto:sima-users+...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sima-users/1af3d1c7-94d9-465b-aa00-bc19d0cece36%40googlegroups.com
> <https://groups.google.com/d/msgid/sima-users/1af3d1c7-94d9-465b-aa00-bc19d0cece36%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.


Reply all
Reply to author
Forward
0 new messages