In polarization_factor, eta is set to None by default, and no processing is done. It is called here without eta being set, so an error will be thrown when calling np.sin. Similar problem for f_hor and f_vert, I believe. Likely, the defaults here should be changed
In polarization_factor, eta is set to None by default, and no processing is done. It is called here without eta being set, so an error will be thrown when calling np.sin. Similar problem for f_hor and f_vert, I believe. Likely, the defaults here should be changed