Skip to content
Snippets Groups Projects

L2SS-772: Apply given weights at time provided, not earlier

Merged Jan David Mol requested to merge L2SS-722-apply-beamforming-at-correct-moment into master

Files

@@ -105,6 +105,39 @@ We use `python-casacore <https://casacore.github.io/python-casacore/index.html>`
@@ -105,6 +105,39 @@ We use `python-casacore <https://casacore.github.io/python-casacore/index.html>`
:returns: ``(does not return)``
:returns: ``(does not return)``
 
Timing
 
"""""""""""""""""""""""""""""""""
 
 
The beam tracking applies an update each *interval*, and aims to apply it at timestamps ``(now % Beam_tracking_interval) - Beam_tracking_application_offset``. To do so, it starts its computations every interval ``Beam_tracking_preparation_period`` seconds before. It then starts to compute the weights, waits to apply them, and applies them by uploading the weights to the underlying hardware.
 
 
The following properties are used:
 
 
:Beam_tracking_interval: Update the beam tracking at this interval (seconds).
 
 
:type: ``float``
 
 
:Beam_tracking_application_offset: Update the beam tracking this amount of time before the next interval (seconds).
 
 
:type: ``float``
 
 
:Beam_tracking_preparation_period: Prepare time for each period to compute and upload the weights (seconds).
 
 
:type: ``float``
 
 
The following timers allow you to track the durations of each stage:
 
 
:Duration_compute_weights_R: Amount of time it took to compute the last weights (seconds).
 
 
:type: ``float``
 
 
:Duration_preparation_period_slack_R: Amount of time left in the prepration period between computing and uploading the weights (seconds).
 
 
:type: ``float``
 
 
:Duration_apply_weights_R: Amount of time it took to apply (upload) the weights (seconds).
 
 
:type: ``float``
 
DigitalBeam
DigitalBeam
`````````````````````
`````````````````````
Loading