tlpipe.core.tl_array.AntennaArray¶
-
class
tlpipe.core.tl_array.
AntennaArray
(*args, **kwargs)[source]¶ Representation of an antenna array.
Attributes
date
Date elev
Elevation above sea level in meters elevation
Elevation above sea level in meters epoch
Precession epoch horizon
**The angle above (+) or below (-) the horizon at which an object should be considered at the moment of rising or setting as a float giving radians, or a string giving degrees* – minutes* – seconds lat
**Latitude north of the Equator as a float giving radians, or a string giving degrees* – minutes* – seconds lon
**Longitude east of Greenwich as a float giving radians, or a string giving degrees* – minutes* – seconds long
**Longitude east of Greenwich as a float giving radians, or a string giving degrees* – minutes* – seconds name
pressure
atmospheric pressure in millibar temp
atmospheric temperature in degrees Celsius Methods
bl2ij
(bl)Convert Miriad’s (i+1) << 8 | (j+1) baseline indexing scheme to bl_indices
([auto, cross])Return bl indices for baselines in the array. bm_response
(i, j)Return the beam response towards the cached source positions for baseline i,j with the specified polarization. compute_pressure
()Set the atmospheric pressure for the current elevation. disallow_circumpolar
(declination)Raise an exception if the given declination is circumpolar. gen_phs
(src, i, j[, mfreq, ionref, ...])Return phasing that is multiplied to data to point to src. gen_uvw
(i, j[, src, w_only])Compute uvw coordinates of baseline relative to provided RadioBody, or ‘z’ for zenith uvw coordinates. get_active_pol
()get_afreqs
()Return array of frequencies that are active for simulation. get_baseline
(i, j[, src])Return the baseline corresponding to i,j in various coordinate projections: src=’e’ for current equatorial, ‘z’ for zenith topocentric, ‘r’ for unrotated equatorial, or a RadioBody for projection toward that source. get_freqs
()Return array of (all) frequencies. get_jultime
()Get current time as a Julian date. get_params
([ant_prms])Return all fitable parameters in a dictionary. get_phs_offset
(i, j)ij2bl
(i, j)Convert baseline i,j (0 indexed) to Miriad’s (i+1) << 8 | (j+1) indexing scheme. next_antitransit
(body[, start])Find the next passage of a body across the anti-meridian. next_pass
(body)Return the next rising, culmination, and setting of a satellite. next_rising
(body[, start, use_center])Move to the given body’s next rising, returning the date. next_setting
(body[, start, use_center])Move to the given body’s next setting, returning the date. next_transit
(body[, start])Find the next passage of a body across the meridian. passband
(i, j)phs2src
(data, src, i, j[, mfreq, ionref, ...])Apply phasing to zenith-phased data to point to src. previous_antitransit
(body[, start])Find the previous passage of a body across the anti-meridian. previous_rising
(body[, start, use_center])Move to the given body’s previous rising, returning the date. previous_setting
(body[, start, use_center])Move to the given body’s previous setting, returning the date. previous_transit
(body[, start])Find the previous passage of a body across the meridian. radec_of
compute the right ascension and declination of a point identified by its azimuth and altitude refract
(u_sf, v_sf[, mfreq, ionref])Calibrate a frequency-dependent source offset by scaling measured offsets at a given frequency. resolve_src
(u, v[, srcshape])Adjust amplitudes to reflect resolution effects for a uniform elliptical disk characterized by srcshape: srcshape = (a1,a2,th) where a1,a2 are angular sizes along the semimajor, semiminor axes, and th is the angle (in radians) of the semimajor axis from E. select_chans
([active_chans])Select which channels are used in computations. set_active_pol
(pol)set_ephemtime
([t])Set current time as derived from the ephem package. set_jultime
([t])Set current time as a Julian date. set_params
(prms)Set all parameters from a dictionary. sidereal_time
compute the local sidereal time for this location and time sim
(i, j)Simulate visibilites for the specified (i,j) baseline and polarization (set with AntennaArray.set_active_pol). sim_cache
(s_eqs[, jys, mfreqs, ionrefs, ...])Cache intermediate computations given catalog information to speed simulation for multiple baselines. unphs2src
(data, src, i, j[, mfreq, ionref, ...])Remove phasing from src-phased data to point to zenith. update
()