scotty.hornpy module#

This module calculates the Gaussian beam properties based on the horn and lens.

Much of the theory is very nicely explained in Goldsmith’s Quasioptics. Just note that what he calls ‘flare angle’, I call ‘semiflare angle’.

  • Table 7.1 for ratios of beam widths to aperture radii

class scotty.hornpy.Conical_Horn(name, aperture_radius, semiflare_angle)#

Bases: scotty.hornpy.Horn

Properties:

  • smooth walled

  • circular cross-section

Parameters
  • name (str) –

  • aperture_radius (float) –

  • semiflare_angle (float) –

name#

Horn name

aperture_radius#

Radius of aperture in metres

semiflare_angle#
property inverse_slant_length#
class scotty.hornpy.GoldsmithAsymmetricConicalHorn(name, aperture_radius, semiflare_angle)#

Bases: scotty.hornpy.Conical_Horn

Uses Goldsmith’s Quasioptics textbook

Parameters
  • name (str) –

  • aperture_radius (float) –

  • semiflare_angle (float) –

output_beam(freq_GHz=None)#

Return the width and curvature at the mouth of the horn for a given frequency.

Note that this is curvature, the reciprocal of radius of curvature

class scotty.hornpy.GoldsmithSymmetricConicalHorn(name, aperture_radius, semiflare_angle)#

Bases: scotty.hornpy.Conical_Horn

Uses Goldsmith’s Quasioptics textbook

Parameters
  • name (str) –

  • aperture_radius (float) –

  • semiflare_angle (float) –

output_beam(freq_GHz=None)#

Return the width and curvature at the mouth of the horn for a given frequency.

Note that this is curvature, the reciprocal of radius of curvature

class scotty.hornpy.Horn#

Bases: object

output_beam(freq=None)#

Return the width and curvature at the mouth of the horn for a given frequency.

Note that this is curvature, the reciprocal of radius of curvature

class scotty.hornpy.Scalar_Horn(name, aperture_radius)#

Bases: scotty.hornpy.Horn

Aperture/diffraction-limited horn

Parameters
  • name (str) –

  • aperture_radius (float) –

output_beam(freq=None)#

Return the width and curvature at the mouth of the horn for a given frequency.

Note that this is curvature, the reciprocal of radius of curvature

class scotty.hornpy.SpeirsAsymmetricConicalHorn(name, aperture_radius, semiflare_angle)#

Bases: scotty.hornpy.Conical_Horn

Uses David Speirs’ CST simulation data

Parameters
  • name (str) –

  • aperture_radius (float) –

  • semiflare_angle (float) –

output_beam(freq_GHz)#

Return the width and curvature at the mouth of the horn for a given frequency.

Note that this is curvature, the reciprocal of radius of curvature

class scotty.hornpy.SpeirsSymmetricConicalHorn(name, aperture_radius, semiflare_angle)#

Bases: scotty.hornpy.Conical_Horn

Uses average of David Speirs’ CST simulation data

Parameters
  • name (str) –

  • aperture_radius (float) –

  • semiflare_angle (float) –

output_beam(freq_GHz)#

Return the width and curvature at the mouth of the horn for a given frequency.

Note that this is curvature, the reciprocal of radius of curvature

scotty.hornpy.inch2m(length_inches)#

Converts inches to meters

scotty.hornpy.make_my_horn(name)#

Create one of a pre-existing set of parameterised horns

Parameters

name (str) – One of “MAST_V_band”, “MAST_Q_band”

Return type

scotty.hornpy.Horn