Open GoogleCodeExporter opened 9 years ago
Having had a chance to go through the previously provided algorithm more, it
looks like it works. Not sure if it's still just as fast as the old C wrapped
matplotlib version but that's gone way. Points on vertices are excluded, and
points that lie on an edge seem to be out or in based on it being on an initial
edge or a ending edge respectively. Committing change.
Original comment by Jacob.Frelinger@gmail.com
on 2 Oct 2013 at 8:54
change pushed
Original comment by Jacob.Frelinger@gmail.com
on 2 Oct 2013 at 9:07
I'm having a similar issue, but the uncommenting of line 52 and commenting out
line 56 in the gate.py file doesn't seem to work. I'm using Python 2.7.6, the
Anaconda distribution and the Spyder 2.2 development environment on my MacBook
Pro (OS X 10.9.2). I get the following error:
>>> import fcm
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/bhcsemployee/anaconda/lib/python2.7/site-packages/fcm-0.9.1-py2.7-macosx-10.5-x86_64.egg/fcm/__init__.py", line 4, in <module>
from core import FCMdata, FCMcollection
File "/Users/bhcsemployee/anaconda/lib/python2.7/site-packages/fcm-0.9.1-py2.7-macosx-10.5-x86_64.egg/fcm/core/__init__.py", line 7, in <module>
from gate import PolyGate, points_in_poly, QuadGate, IntervalGate, ThresholdGate
File "/Users/bhcsemployee/anaconda/lib/python2.7/site-packages/fcm-0.9.1-py2.7-macosx-10.5-x86_64.egg/fcm/core/gate.py", line 2, in <module>
from matplotlib.nxutils import points_inside_poly
ImportError: No module named nautilus
Original comment by dsdoug...@sbcglobal.net
on 6 May 2014 at 8:20
dsdougall, are you running from the development version or the last released
package?
Original comment by Jacob.Frelinger@gmail.com
on 6 May 2014 at 8:51
I'm running Anaconda (3.4.3) and Spyder 2.24 and Python 2.7.6, which should all
be stable versions.
Original comment by dsdoug...@sbcglobal.net
on 7 May 2014 at 1:46
dsdougall can you try the attached fcm/core/gate.py?
Original comment by Jacob.Frelinger@gmail.com
on 10 May 2014 at 1:23
Attachments:
Original comment by Jacob.Frelinger@gmail.com
on 10 May 2014 at 1:24
Jacob
The new gate.py file seems to work. I can import the fcm package and load an
fcs file. I look forward to playing with the package. Thanks for all of your
help.
Dave
Original comment by dsdoug...@sbcglobal.net
on 12 May 2014 at 12:03
This was helpful. Thank you!
Original issue reported on code.google.com by
MatthewD...@gmail.com
on 2 Oct 2013 at 2:55