ska_pst.testutils.analysis

Submodule for tools for analysing output files.

class ska_pst.testutils.analysis.PolarisationMaximumValue(channel: int, value: float)[source]

Data class used to store the channel with the maximum value of a polarisation.

Variables
  • channel (int) – the channel number which has the maximum value.

  • value (float) – the maximum value value .

channel: int
value: float
ska_pst.testutils.analysis.analyse_bandpass(*args: Any, data_file: str, expected_maxima_channel: int = -1, plot_db: bool = False, plot_linear: bool = False, **kwargs: Any) None[source]

Analyse a data file.