tidy3d.Near2Far.get_fields_spherical

Near2Far.get_fields_spherical(r, theta, phi)

Get fields at a point relative to monitor center in spherical coordintes.

Parameters
  • r (float) – (micron) radial distance.

  • theta (float) – (radian) polar angle downward from x=y=0 line.

  • phi (float) – (radian) azimuthal angle from x=z=0 line.

Returns

(Er, Etheta, Ephi), (Hr, Htheta, Hphi), fields in polar coordinates.

Return type

tuple