edges_analysis.calibration.loss.antenna_loss

edges_analysis.calibration.loss.antenna_loss(filename: [<class 'str'>, <class 'pathlib.Path'>, <class 'bool'>], freq: [<class 'numpy.ndarray'>], band: [None, <class 'str'>] = None, configuration: [<class 'str'>] = '')[source]

Calculate antenna loss of a particular antenna at given frequencies.

Parameters:
  • filename (path) – File in which value of the antenna loss for this instrument are tabulated.

  • freq (array-like) – Frequency in MHz. For mid-band (low-band), between 50 and 150 (120) MHz.

  • band (str, optional) – The instrument to find the antenna loss for. Only required if filename starts with the magic ‘:’ (in which case the standard directory structure will be searched using band).

  • configuration (str, optional) – The configuration of the instrument. A string, such as “45deg”, which defines the orientation or other configuration parameters of the instrument, which may affect the antenna loss.