STAT Component Manager
This module provides an implementation of the STAT PST component manager.
- class ska_pst_lmc.stat.stat_component_manager.PstStatComponentManager(*args: Any, **kwargs: Any)[source]
Component manager for the STAT component for the PST.LMC subsystem.
Initialise instance of the component manager.
- Parameters
device_interface – an abstract view of the TANGO device. This allows for updating properties on the device without having to have the device class itself.
logger – a logger for this object is to use.
api – the API to use for interacting with STAT. This is optional
- property real_pol_a_mean_freq_avg: float
Get the mean of the real data for pol A, averaged over all channels.
- property real_pol_a_variance_freq_avg: float
Get the variance of the real data for pol A, averaged over all channels.
- property real_pol_a_num_clipped_samples: int
Get the num of clipped samples of the real data for pol A.
- property imag_pol_a_mean_freq_avg: float
Get the mean of the imaginary data for pol A, averaged over all channels.
- property imag_pol_a_variance_freq_avg: float
Get the variance of the imaginary data for pol A, averaged over all channels.
- property imag_pol_a_num_clipped_samples: int
Get the num of clipped samples of the imaginary data for pol A.
- property real_pol_a_mean_freq_avg_rfi_excised: float
Get the mean of the real data for pol A, averaged over channels not flagged for RFI.
- property real_pol_a_variance_freq_avg_rfi_excised: float
Get the variance of the real data for pol A, averaged over channels not flagged for RFI.
- property real_pol_a_num_clipped_samples_rfi_excised: int
Get the num of clipped samples of the real data for pol A in channels not flagged for RFI.
- property imag_pol_a_mean_freq_avg_rfi_excised: float
Get the mean of the imaginary data for pol A, averaged over channels not flagged for RFI.
- property imag_pol_a_variance_freq_avg_rfi_excised: float
Get the variance of the imaginary data for pol A, averaged over channels not flagged for RFI.
- property imag_pol_a_num_clipped_samples_rfi_excised: int
Get the num of clipped samples of the imaginary data for pol A in channels not flagged for RFI.
- property real_pol_b_mean_freq_avg: float
Get the mean of the real data for pol B, averaged over all channels.
- property real_pol_b_variance_freq_avg: float
Get the variance of the real data for pol B, averaged over all channels.
- property real_pol_b_num_clipped_samples: int
Get the num of clipped samples of the real data for pol B.
- property imag_pol_b_mean_freq_avg: float
Get the mean of the imaginary data for pol B, averaged over all channels.
- property imag_pol_b_variance_freq_avg: float
Get the variance of the imaginary data for pol B, averaged over all channels.
- property imag_pol_b_num_clipped_samples: int
Get the num of clipped samples of the imaginary data for pol B.
- property real_pol_b_mean_freq_avg_rfi_excised: float
Get the mean of the real data for pol B, averaged over channels not flagged for RFI.
- property real_pol_b_variance_freq_avg_rfi_excised: float
Get the variance of the real data for pol B, averaged over channels not flagged for RFI.
- property real_pol_b_num_clipped_samples_rfi_excised: int
Get the num of clipped samples of the real data for pol B in channels not flagged for RFI.
- property imag_pol_b_mean_freq_avg_rfi_excised: float
Get the mean of the imaginary data for pol B, averaged over channels not flagged for RFI.
- property imag_pol_b_variance_freq_avg_rfi_excised: float
Get the variance of the imaginary data for pol B, averaged over channels not flagged for RFI.
- property imag_pol_b_num_clipped_samples_rfi_excised: int
Get the num of clipped samples of the imaginary data for pol B in channels not flagged for RFI.
- validate_configure_scan(configuration: Dict[str, Any], task_callback: Optional[Callable[[...], Any]] = None) Tuple[ska_tango_base.executor.TaskStatus, str] [source]
Validate a ConfigureScan request sent from CSP.LMC to the STAT sub-component.
This asserts the request can be converted to STAT resources and then calls the process API to perform the validation.
- Parameters
configuration (Dict[str, Any]) – configuration that would be used when the configure_beam and configure_scan methods are called.
task_callback (Callback) – callback for background processing to update device status.
- configure_beam(configuration: Dict[str, Any], task_callback: Optional[Callable[[...], Any]] = None) Tuple[ska_tango_base.executor.TaskStatus, str] [source]
Configure beam resources in the component.
- Parameters
configuration – parameters to be configured and their requested values.