Hi, The `strength` parameter is obsolete. I'll remove it from the documentation. Just set the `R_asymptotic` parameter to `R_asymptotic^desired_strength`.
Thanks, Chris On Wed, May 16, 2018 at 6:59 AM, Jisha C P <cpji...@gmail.com> wrote: > Dear all, > What is the correct syntax to use strength in the pml class in python > meep? I wrote > > pml_layers = [meep.PML(thickness=pml, direction=meep.X), > meep.PML(thickness=10, strength=2.0, direction=meep.Y)] > > which gives an error > TypeError: __init__() got an unexpected keyword argument 'strength > > Thanks in advance for the help. > > Best regards, > Jisha > > _______________________________________________ > meep-discuss mailing list > meep-discuss@ab-initio.mit.edu > http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss >
_______________________________________________ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss