Array#

class pyvisgen.simulation.Array(array_layout)[source]#

Bases: object

Class that handles antenna array operations such as calculating antenna pairs for baselines.

Parameters:
array_layoutStations

Stations dataclass object containing station data.

Attributes Summary

calc_ant_pair_vals

Calculates station number, low elevation, and high elevation pairs.

calc_relative_pos

Calculates the relative positions of the antennas from geocentric coordinates.

get_pairs

Computes antenna pair combinations and calculates the relative positions of the antennas.

Attributes Documentation

calc_ant_pair_vals#

Calculates station number, low elevation, and high elevation pairs.

Returns:
st_num_pairstensor()

Station number pair combinations.

els_low_pairstensor()

Station elevation pairs.

els_high_pairstensor()

Station elevation pairs.

calc_relative_pos#

Calculates the relative positions of the antennas from geocentric coordinates.

Returns:
delta_xtensor()

Relative x positions.

delta_ytensor()

Relative y positions.

delta_ztensor()

Relative z positions.

get_pairs#

Computes antenna pair combinations and calculates the relative positions of the antennas.

Returns:
delta_xtensor()

Relative x positions.

delta_ytensor()

Relative y positions.

delta_ztensor()

Relative z positions.