drift.telescope.restrictedcylinder

Functions

gaussian_fwhm(x, fwhm)

Classes

RestrictedBeam([latitude, longitude])

Initialise a telescope object.

RestrictedCylinder([latitude, longitude])

Initialise a telescope object.

RestrictedExtra([latitude, longitude])

Initialise a telescope object.

RestrictedPolarisedCylinder([latitude, ...])

Initialise a telescope object.

class drift.telescope.restrictedcylinder.RestrictedBeam(latitude=45, longitude=0, **kwargs)

Bases: CylinderTelescope

Initialise a telescope object.

Parameters:
  • latitude (scalar) – Position on the Earths surface of the telescope (in degrees).

  • longitude (scalar) – Position on the Earths surface of the telescope (in degrees).

class drift.telescope.restrictedcylinder.RestrictedCylinder(latitude=45, longitude=0, **kwargs)

Bases: RestrictedBeam, UnpolarisedCylinderTelescope

Initialise a telescope object.

Parameters:
  • latitude (scalar) – Position on the Earths surface of the telescope (in degrees).

  • longitude (scalar) – Position on the Earths surface of the telescope (in degrees).

beam(*args, **kwargs)

Beam for a particular feed.

Parameters:
  • feed (integer) – Index for the feed.

  • freq (integer) – Index for the frequency.

Returns:

beam – A Healpix map (of size self._nside) of the beam. Potentially complex.

Return type:

np.ndarray

class drift.telescope.restrictedcylinder.RestrictedExtra(latitude=45, longitude=0, **kwargs)

Bases: RestrictedCylinder

Initialise a telescope object.

Parameters:
  • latitude (scalar) – Position on the Earths surface of the telescope (in degrees).

  • longitude (scalar) – Position on the Earths surface of the telescope (in degrees).

feed_positions_cylinder(cylinder_index)

Get the feed positions on the specified cylinder.

Parameters:

cylinder_index (integer) – The cylinder index, an integer from 0 to self.num_cylinders.

Returns:

feed_positions – The positions in the telescope plane of the receivers. Packed as [[u1, v1], [u2, v2], …].

Return type:

np.ndarray

class drift.telescope.restrictedcylinder.RestrictedPolarisedCylinder(latitude=45, longitude=0, **kwargs)

Bases: RestrictedBeam, PolarisedCylinderTelescope

Initialise a telescope object.

Parameters:
  • latitude (scalar) – Position on the Earths surface of the telescope (in degrees).

  • longitude (scalar) – Position on the Earths surface of the telescope (in degrees).

beamx(*args, **kwargs)

Beam for the X polarisation feed.

Parameters:
  • feed (integer) – Index for the feed.

  • freq (integer) – Index for the frequency.

Returns:

beam – Healpix maps (of size [self._nside, 2]) of the field pattern in the theta and phi directions.

Return type:

np.ndarray

beamy(*args, **kwargs)

Beam for the Y polarisation feed.

Parameters:
  • feed (integer) – Index for the feed.

  • freq (integer) – Index for the frequency.

Returns:

beam – Healpix maps (of size [self._nside, 2]) of the field pattern in the theta and phi directions.

Return type:

np.ndarray