Module that contains information about the LWA station sites. This information includes:
- latitude,
- longitude,
- elevation, and
- stand list.
The information for each site is stored as a LWAStation object. This object has a variety of attributes for dealing with station-related parameters, such as creating an ephem.Observer object for the station, getting the station’s geocentric location, and creating a geocentric coordinate transformation matrix for the station’s baselines.
Object to hold information about the a LWA station. This object can create a ephem.Observer representation of itself and identify which stands were in use at a given time.
Object to hold information about the first LWA station. This object can create a ephem.Observer representation of itself and identify which stands were in use at a given time.
This module stores various functions that are needed for computing UV coverage and time delays. The functions in the module:
- return the x, y, and z coordinates of a stand or array of stands
- return the relative x, y, and z offsets between two stands
- return the cable delays as a function of frequency for a stand
- compute the u, v, and w coordinates of all baselines defined by an array of stands
- compute the track through the uv-plane of a collection of baselines as the Earth rotates.
Function to return a numpy array of the stand’s x, y, and z coordinates (in meters) from the center pole. If the coordinates of more than one stand are needed, getXYZ can be called with a numpy array of stand numbers.
Changed in version 0.3: Changed the numbering of the outlier from -1 to a more consistent 258
PositionCache is a safe alternative to calling uvUtils.getXYZ or uvUtils.getRealtiveXYZ over and over again. PositionCache loads the stand positions from the included CSV file once and then uses that stored information for all subsequent calls.
Warning
This assumes LWA-1 as the stations. This will need to be changed some day.
For a given stand, return the multiplicative factor needed to correct for cable losses for a specific frequency (in Hz). If attenuations for more than one frequency are needed, the frequencies can be passed in as a numpy array.
Changed in version 0.3.4: Switched over the the cable attenuation model in SLC 0014, version 3 and added in frequency support.
For a given stand, return the cable gain (“inverse loss”) for a specific frequency (in Hz). If gains for more than one frequency are needed, the frequencies can be passed in as a numpy array.
This function wraps cableAttenuation and return the multiplicative inverse of that function.
New in version 0.3.4.
CableCache is a safe alternative to calling uvUtils.cableDelay over and over again. CableCache loads the cable length file once and then uses that stored information for all subsequent calls.
Warning
This assumes LWA-1 as the stations. This will need to be changed some day.
For a given stand, return the cable gain as a function of frequency.
This function wraps self.cableAttenuation and returns the multiplicative inverse of that function.
Experimental function that wraps the cable delay for a stand along with any other delays determined by phase fitting. The list of stands that can be corrected is incomplete. Similar to cableDelay, a numpy array is returned.
Note
Currently all additional delays are set to 0.
Warning
This assumes LWA-1 as the stations. This will need to be changed some day.
Bases: lsl.correlator.uvUtils.CableCache
Subclass of CableCache that does for signalDelay what CableCache did for cableDelay.