Station
Overview
This class represents a set of synchronised tiles (TPMs). Contains methods for controlling all tiles.
Python Class & Methods Index
- class pyaavs.station.Station(config)[source]
Class representing an AAVS station
- add_tile(tile_ip)[source]
Add a new tile to the station :param tile_ip: Tile IP to be added to station
- calibrate_station(coefficients, switch_time=2048)[source]
Coefficients is a 3D complex array of the form [antenna, channel, polarization], with each element representing a normalized coefficient, with (1.0, 0.0) the normal, expected response for an ideal antenna. Antenna is the index specifying the antenna within the index (using correlator indexing). Channel is the index specifying the channels at the beamformer output, i.e. considering only those channels actually processed and beam assignments. The polarization index ranges from 0 to 3. 0: X polarization direct element 1: X->Y polarization cross element 2: Y->X polarization cross element 3: Y polarization direct element
- send_channelised_data(number_of_samples=1024, first_channel=0, last_channel=511)[source]
Send channelised data from all Tiles
- send_channelised_data_continuous(channel_id, number_of_samples=65536)[source]
Send continuous channelised data from all Tiles
- send_channelised_data_narrowband(frequency, round_bits, number_of_samples=256)[source]
Send narrowband continuous channel data
- set_multi_channel_tx(instance_id, channel_id, destination_id)[source]
Set multichannel transmitter instance :param instance_id: Transmitter instance ID :param channel_id: Channel ID :param destination_id: 40G destination ID
- pyaavs.station.apply_config_file(input_dict, output_dict)[source]
Recursively copy value from input_dict to output_dict
- pyaavs.station.create_tile_instance(config, tile_number)[source]
Add a new tile to the station :param config: Station configuration :param tile_number: TPM to associate tile to
- pyaavs.station.initialise_tile(params)[source]
Internal connect method to thread connection :param params: Contain 0) Station configuration and 1) Tile number to initialise
- pyaavs.station.load_configuration_file(filepath)[source]
Load station configuration from configuration file
- pyaavs.station.load_station_configuration(config_params)[source]
Combine configuration defined in configuration file with command-line arguments