Plot data¶
nPDyn provides a plot window for quasi-elastic neutron scattering (QENS) and elastic/inelastic fixed-window scans (E/IFWS) data.
It can be used as follows:
>>> from nPDyn.plot import plot
>>> plot(sample)
Using the result of the fitting procedure presented in the Fit data section, the data, the fitted model model and the parameters can be examined using the window as shown below:
The experimental data are plotted alone with their errors for the selected observable and momentum transfer q value.
The optimized parameters can be plotted by clicking on the ‘Analysis’ button. The global parameters (which are unique for all q-values) are represented by a single horizontal line.




