On Fri, Apr 3, 2009 at 5:10 PM, abel deuring <adeur...@gmx.net> wrote:

> Use either:
>
>  from math import cos
>  x = cos(1)
>
> or
>
>  import math
>  x = math.cos(1)

That doesn't work with ImageMath.eval - it provides its own
environment (including the names you pass in).

It does the trick if you're using "point" instead, though.

</F>
_______________________________________________
Image-SIG maillist  -  Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to