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

--
Eric Wheeler
KJ7LNW


> doesn't work on complex quantities and the result I obtained was of
> the LDouble type. Having looked further yet.
> Regards,
> Luis
> 
> --
> 
>                                                                   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
> 
_______________________________________________
pdl-general mailing list
pdl-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-general

Reply via email to