I am using MTUQ to produce ProcessData surface wave windows using the group_velocity window_type.
I have noticed that the window_alignment parameter is not set properly:
in line 298:
self.window_alignment = getattr(parameters, 'window_alignment', 0.5).
parameters is a dictionary, so it does not have attributes.
I have tried fixing this using:
self.window_alignment = parameters['window_alignment'] if 'window_alignment' in parameters.keys() else 0.5
and it seems to work in setting window_alignment properly to the user provided value