Skip to content

Gradient in PWC generator

There seems to be an issue with the generate_signal_method in the PWCGenerator class. The issue manifests itself when multiply_flat_top is set to True. In this case, tlist and t_arr are supposed to have the same dimension which is not true in general. Also, the gradient has different dimensions in the case multiply_flat_top True/False which should not be the case.

Edited by Alessandro Ciani