drift.telescope.exotic_cylinder
Classes
|
Initialise a telescope object. |
|
A base for a polarised telescope. |
|
Initialise a telescope object. |
|
Initialise a telescope object. |
|
Initialise a telescope object. |
- class drift.telescope.exotic_cylinder.CylinderExtra(latitude=45, longitude=0, **kwargs)
Bases:
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).
- 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.exotic_cylinder.CylinderPerturbed(latitude=45, longitude=0, **kwargs)
Bases:
PolarisedCylinderTelescope
A base for a polarised telescope.
Again, an abstract class, but the only things that require implementing are the feedpositions, _get_unique and the beam functions beamx and beamy.
- beamx, beamy : methods
(abstract methods) Routines giving the field pattern for the x and y feeds.
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).
- property beamclass
Simple beam mode of dual polarisation feeds.
- beamx(feed, freq)
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(feed, freq)
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
- property feedpositions
An (nfeed,2) array of the feed positions relative to an arbitary point (in m)
- class drift.telescope.exotic_cylinder.CylinderShift(latitude=45, longitude=0, **kwargs)
Bases:
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).
- 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.exotic_cylinder.GradientCylinder(latitude=45, longitude=0, **kwargs)
Bases:
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).
- 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.exotic_cylinder.RandomCylinder(latitude=45, longitude=0, **kwargs)
Bases:
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).
- 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