Hi Eric, With some colleagues we have been developing a system with PDL to calculate optical properties of metamaterials: macroscopic response, electric field, non-linear response, spatial dispersion...
https://github.com/wlmb/Photonic https://metacpan.org/pod/Photonic Regards, Luis On Mon, Oct 10, 2022 at 05:31:43PM -0700, Eric Wheeler wrote: > On Mon, 15 Aug 2022, Luis Mochan wrote: > > > Hello, > > I tried to use conv2d from PDL::Image2D to make a simple average, as in > > $z->conv2d(ones(3,3))/9; > > to take the arithmetic average a pixel with its neareast > > neighbors. However, what I want to average is a component of an > > electric field which is complex valued. > > Hi Luis, > > Just curious, if you're able to share, what kind of electric field work > are you doing with PDL? > > I've been playing with PDL and S-parameters quite a bit if you are in the > RF domain: > > https://metacpan.org/pod/PDL::IO::Touchstone > > ... -- o W. Luis Mochán, | tel:(52)(777)329-1734 /<(*) Instituto de Ciencias Físicas, UNAM | fax:(52)(777)317-5388 `>/ /\ Av. Universidad s/n CP 62210 | (*)/\/ \ Cuernavaca, Morelos, México | moc...@fis.unam.mx /\_/\__/ GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16 C2DF 5F0A C52B 791E B9EB _______________________________________________ pdl-general mailing list pdl-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pdl-general