[visionegg] Re: uneven grating

Thanks.
I was also wondering how to generate a checkerboard pattern.

On 2/14/07, Andrew Straw <astraw@xxxxxxxxxxx> wrote:
matvey bossis wrote:
> Hi
> I am trying to generate a square wave color grating using
> SinGrating2D. I have two problems:
> 1. The grating is uneven, for some reason. I get thicker and thinner
> stripes.
> 2. The border between the circles is blurred. I think also the borders
> between the stripes is not sharp enough.
Dear Matvey,

(Next time, please try to send python code as attachments -- it's a pain
trying to sort out the line-wraps.)

I think that increasing the num_samples parameter to your mask and
gratings will solve both of your issues.

-Andrew
======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html

======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html

Other related posts: