dkriegner / xrayutilities

xrayutilities - a package with useful scripts for X-ray diffraction physicists
http://xrayutilities.sourceforge.io
GNU General Public License v2.0
83 stars 29 forks source link

make C-code respect the VERBOSITY setting #148

Closed dkriegner closed 1 year ago

dkriegner commented 1 year ago

With the default settings no printouts should occur now from the C-code.

If xrayutilities.config.VERBOSITY >= 2 (xrayutilities.config.INFO_ALL) some debug output will occur from the C-code of the Gridders. This includes the warning when more than half the points are out of the gridding range and several other debug outputs.

At the same time the python implementation of the correspond flag is changed to used the enum.IntFlag class from the standard library