Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to generate two-gaussian pattern with fixed distance #690

Open
dancehours opened this issue Oct 11, 2018 · 1 comment
Open

How to generate two-gaussian pattern with fixed distance #690

dancehours opened this issue Oct 11, 2018 · 1 comment

Comments

@dancehours
Copy link

Dear Bednar,

I am trying to generate a pattern of two gaussians which have fixed distance to each other, e.g.
np.exp(-0.5*x_w1*x_w1 + -0.5*y_h1*y_h1) + np.exp(-0.5*x_w2*x_w2 + -0.5*y_h2*y_h2)
here x_w2 = x_w1-0.3, y_h2 = y_h1 -0.4.
But Class Patterngenerator seems doesn't work for this type of functions. One gaussian can work.
How to get this two gaussian work by the Patterngenerator ?

@jbednar
Copy link
Member

jbednar commented Oct 11, 2018

I'm not sure precisely what you mean, but you can create any arbitrary pattern you like. You can see examples at http://ioam.github.io/imagen , e.g. if you search for "lefteye".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants