Question 1: Yes, I get the same for the Y axis. The pictures are flipped vertically compared to the ones shown in the tutorials. I guess the way h5topng works has changed since the tutorial was written.
If you want to flip the images via scripts, you can use imagemagick: convert in.png -flip out.png Question 2: cf the "Guile and Scheme links" page from the wiki: http://ab-initio.mit.edu/wiki/index.php/Guile_and_Scheme_links.html#How_to_write_a_loop_in_Scheme I'm attaching an example script with loops as well. On 22/06/13 15:04, John Weiner wrote: > Dear Meep users: > > I am just getting my feet wet using Meep and have two questions. > > The first relates to the coordinate system of the computational cell. > According to the Tutorial the positive direction of the x-axis is > horizontal-left-to-right; and the positive direction of the y-axis is > vertical-up-to-down. However when I visualize the placement of my sources > and geometry objects, using h5topng, it appears that the y-axis is actually > reversed (vertical-down-to-up). Is this true or have misunderstood > something somewhere? > > Second question: Is it possible to do "parameter sweeps" in Meep? That is, > loop through a series of simulations in which each member of the series has > something systematically changed (e.g. the radius of a scattering sphere or > the distance between two slit in a metal film). How are do-loops > implemented in Meep. > > Thanks for any enlightenment... > > Best regards, John > > > _______________________________________________ > meep-discuss mailing list > meep-discuss@ab-initio.mit.edu > http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss >
libctl_loop_examples.ctl
Description: application/extension-ctl
signature.asc
Description: OpenPGP digital signature
_______________________________________________ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss