lwa-project / lwa_sv

The Advanced Digital Processor at LWA Sevilleta
Apache License 2.0
1 stars 1 forks source link

Updates for lightning season 2023 #22

Closed jaycedowell closed 1 year ago

jaycedowell commented 1 year ago

Updates for this summer's lightning season:

jaycedowell commented 1 year ago

The equalizer coefficients are loaded as part of the AdpRoach.configure_fengine() method which is called whenever DRX is re-tuned. That should mean that we can update the fft_f[1234]_cg_bpass_bram registers on-the-fly to change the coefficients.

jaycedowell commented 1 year ago

fcdc3c4 add in a new equalizer_lightning.txt set of equalizer coefficients. These are computed using the functional form c(f) = 0.09*np.exp(f**2/50**2) where f is the frequency in MHz and:

jaycedowell commented 1 year ago

fcdc3c4 updates adp_enable_triggering.py to toggle the lightning equalizer coefficients on/off in the ROACH2s. I think this plays nicely with the ADP control software and that re-tuning will not force everything back to the default equalizer coefficients.