Some Examples/ python scripts can't not be run

Theses scripts can't be run under Python.

Check also GUI import (#626 (closed))

ModuleNotFoundError 'emcee' & 'corner'

  • bayesian/likelihood_sampling

AttributeError: 'tuple' object has no attribute 'rank'

  • fit/scatter2d/consecutive_fitting.py
  • fit/scatter2d/find_background.py
  • fit/scatter2d/lmfit_with_plotting.py

AttributeError: 'ScatteringSimulation' object has no attribute 'maskAll'

  • fit/scatter2d/fit_along_slices.py
  • fit/scatter2d/fit_with_masks.py
  • fit/scatter2d/multiple_datasets.py

FileNotFoundError: /Examples/data/faked-gisas1.txt.gz not found.

  • fit/scatter2d/fit_gisas.py

NameError: name 'R3' is not defined

  • fit/scatter2d/expfit_galaxi.py
  • fit/specular/PolarizedSpinAsymmetry.py

TypeError: QzScan.setAbsoluteQResolution() missing 1 required positional argument: 'std_dev'

RuntimeError: The map-like callable must be of the form f(func, iterable), returning a sequence of numbers the same length as 'iterable' - [ ] fit/specular/RealLiferReflectometryFitting.py

Edited by Mikhail Svechnikov