beamwidth mapping from psi-space to phi-space
dphi = bwidth(d, ph0, dpsi))
array spacing in units of lambda
beam steering angle in degrees
beamwidth in psi-space (in radians)
beamwidth in degrees
bwidth(d, ph0, dpsi) performs beamwidth mapping from psi-space to phi-space. This function uses the transformation dpsi=2*pi*d*sin(ph0)*dphi, which follows from differentiating psi=2*pi*d*(cos(phi) - cos(phi0)), usually, dpsi input is calculated from dpsi=b*0.886*2*pi/N where b is the broadening factor depending on the window design method
add sample pgm