radar_controller

This module is used to define the radar controller

Module summary

Classes

RadarController(radar[, t, t0, profiler, …])

A radar controller.

Contents

RadarController

class sorts.controller.radar_controller.RadarController(radar, t=None, t0=0.0, profiler=None, logger=None, meta=None)[source]

Bases: abc.ABC

A radar controller.

default_meta()[source]

This is used to generate meta data on the fly, rather then the static data that can be set in the self.meta.

abstract generator(t, **kwargs)[source]

This will configure the radar system and return a pointer to the contained radar system instance with the correct configuration. It should always assume the input t is an iterable and use yield to return radar, meta. The meta variable should be a dict with the fields defined in META_FIELDS

NOTE: This is NOT guaranteed to return a copy of the radar system, however, the subclass should implement this as a option.

static point(radar, enu)[source]

Point all sites into the direction of a given East, North, Up (ENU) local coordinate system.

static point_ecef(radar, ecef)[source]

Point all sites into the direction of given ECEF coordinate, relative Earth Center.

static point_rx_ecef(radar, ecef)[source]

Point all rx sites into the direction of given ECEF coordinate, relative Earth Center.

static point_tx_ecef(radar, ecef)[source]

Point all tx sites into the direction of given ECEF coordinate, relative Earth Center.