Cao's new HWS cleaning code is running on EY HWS. hws-server/-/tree/fix/python3 The code works for python3 that we currently only have at ETMY. We should soon get all HWS computers running with python3 and then can use this code on all optics.
This doens't effect any of the old HWS code but adds new channels, see 68748. This code adds functionalities to estimate wavefront centers (H1:TCS-{OPTIC}_HWS_CENTER_ESTIMATE_{X,Y}) rather than relying on the those set by the user (H1:TCS-{OPTIC}_HWS_ORIGIN_{X,Y} ), and filters unusually large gradients to update center and spherical powers for clean channels.
A note on the new cleaned spherical power channels:
The new spehrical powers (CLEAN_SPHERICAL_POWER_X and CLEAN_SPHERICAL_POWER_Y) are computed from performing overlap integral of the numerical wavefront from the HWS with the nominal gaussian beam size of ITM and ETM (53 mm and 62 mm respectively) to compute the scattering coefficient to HG20 (spherical power x) and HG02(spehrical power y) which are then used to convert to RoCs. The wavefront is computed by fast FFT integration rather than standard HWS numerical integration.
The old spherical powers (H1:TCS-ETMY_HWS_SPHERICAL_POWER) instead computed spherical power by fitting a polyomial to the gradient profile of HWS and is thus dependent on the area of Hartmann probe available in the data, and not neccessarily the effective RoC sees by IFO beam.