dreambeam.telescopes package

Submodules

dreambeam.telescopes.geometry_ingest module

This package retrieves the metadata for a telescope, such as position, alignment and bands.

The metadata for a telescope should be in the folder ‘<telescope>/share/’. Subfolders should be ‘simmos’ (for array configurations of stations) and ‘alignment’ for station rotation.

dreambeam.telescopes.geometry_ingest.getArrayBandParams(telescope, stnid, band)[source]

Get array and band parameters for a telescope, station and band.

dreambeam.telescopes.geometry_ingest.list_stations(telescope, band=None)[source]

List all available stations.

dreambeam.telescopes.geometry_ingest.readalignment(telescope, stnid, band)[source]

Read a alignment matrix file for a telescope station band. The alignment is 3x3 matrix that represents the rotation between the feed coord sys and the ITRF.

dreambeam.telescopes.geometry_ingest.readarrcfg(telescope, band)[source]

Read a CASA array configuration file. This gives the positions of all the stations that make up the telescope.

dreambeam.telescopes.mounts module

class dreambeam.telescopes.mounts.FixedMountEJones(dualPolElem, position, stnRot, freqSel=None)[source]

Bases: dreambeam.rime.jones.EJones

get_basis()[source]

Return basis of the Jones matrix

class dreambeam.telescopes.mounts.MountedFeed(stnpos, stnrot)[source]

Bases: object

Base model of a feed on a mount.

feed_pat = None
getEJones()[source]

Create ejones for station based on antenna patterns. Meant to be overriden.

getfreqs()[source]
mountfeed(feed_pat, feed_rot=None)[source]

Set feed pattern and alignment.

class dreambeam.telescopes.mounts.MountedFeedFixed(stnpos, stnrot)[source]

Bases: dreambeam.telescopes.mounts.MountedFeed

Class for fixed mount station.

getEJones(pointing, freqsel=None)[source]

Get e-jones for this pointing for a fixed mount station. The basic model used here is that the antenna elements are all the same on all the stations, i.e. they have the same far-field pattern. For fixed mounted antennas ‘pointing’ means array based pointing, i.e. no mechanical slewing. The simple pointing model used here for is to take the the response along the pointing-direction to be proportional to the response along the corresponding direction for the far-field pattern of the single antenna element.

dreambeam.telescopes.rt module

rt (i.e. Radio Telescopes) module is for handling real telescope meta-data.

class dreambeam.telescopes.rt.TelescopePlugin(tscopename, mountedfeed_class, feedrot)[source]

Bases: object

Plugin for a generic telescope.

get_bandpositions(band)[source]
get_bands()[source]
get_bandstnrot()[source]

Return a dict of rotation matrices of bands on stations. The dict has two keys: stnrot[<band>][<stnid>]. Value is the transformation matrix:

ITRF_crds = stnrot*LOCAL_crds
get_beammodels(band)[source]
get_diam(station, band)[source]
get_stations(band)[source]
getstationfeed(station, band, modelname)[source]
dreambeam.telescopes.rt.get_tel_plugins()[source]

Get a dict of TelescopePlugin objects

Reads a list of telescope packages from the file called ‘telesope_paths.txt’ and then imports the ‘_telescope’ module in them.

dreambeam.telescopes.rt.load_mountedfeed(tscopename, station, band, modelname)[source]

Open the TelescopeBndStn object given by tscopename, band and model.

Module contents