HEXRD / hexrd

A cross-platform, open-source library for the analysis of X-ray diffraction data.
Other
56 stars 25 forks source link

Crystallography polarization_factor invalid parameters #676

Closed kevindlewis23 closed 2 months ago

kevindlewis23 commented 2 months ago

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

kevindlewis23 commented 2 months ago

Nevermind