Page 1 of 1

Phi is 360deg, but Theta is only 180. Why such limitation?

Posted: Wed 11 Apr 2018, 02:42
by Hale_812
I started modelling with a slightly different excitation direction than in the examples.
When choosing Y direction, as it is traditional in literature, the horizontal plane (let it call H-plane for a horizontal horn) pattern is calculated by sweeping Theta, which works just fine.
But the vertical plane (E-plane in our case) is calculated by sweeping Theta.

And when plotting Theta cartesian pattern, I found that it is displayed only from 0 deg to 180 deg. No more no less.

Is it possible to equalise capabilities for both, Phi and Theta spherical angles?

Re: Phi is 360deg, but Theta is only 180. Why such limitatio

Posted: Thu 12 Apr 2018, 20:16
by thorsten
There is no limitation. These are just the defauls for spherical coordinates. But the nf2ff will accept whatever angle setup you specifiy and happily calculate the fields there.
I'm pretty sure that in same tutorials I do a phi=0/90 and theta=-180..180 (xz- and yz-plane) cut for example.

Re: Phi is 360deg, but Theta is only 180. Why such limitatio

Posted: Mon 16 Apr 2018, 02:38
by Hale_812
well, it appears, the limitation is only in plotFFdB().
Yes, nf2ff() accepts any angular range, but plotFFdBsimply could not draw it. So I replaced it with a regular plot from manual gain calculation.