- Author: PRITI MANI
- Collaborators:View all
- Published:
This content block will provide a simulation of the dipole antenna using TaraNG simulation tool. Various 2D and 3D plots which includes port-parameters the farfield and the near field of dipole antennas.
This is pretty nice! Although I still love that Numba allows you to keep loops for readability.
You must sign in to reply
Well it looks like you can jit loops with JAX but it's not quite as user friendly: https://jax.readthedocs.io/en/latest/jax-101/02-jitting.html
It looks like the 64 bit code is an order of magnitude slower but does not buy us any more precision (just looking at the output). It's still much faster than the NumPy code, which doesn't surprise me.
(I have also dealt with models where using 32 bit floats big errors. These days I usually start with 64 bit floats.)
You must sign in to reply
You can use markdown here.