Closed yxqd closed 8 years ago
Should add a step to plot the experimental sqe, the MP sqe, the MS sqe, the corrected sqe, etc
This looks like mostly working after some bug fixes.
The following are results from working on an ARCS vanadium 300K dataset.
Code:
import histogram.hdf as hh iqehist = hh.load("V-iqe.h5") from multiphonon.sqe import interp iqehist = interp(iqehist, newE = np.arange(-55, 80, 1.)) from multiphonon.backward import sqe2dos sqe2dos.sqe2dos(iqehist, T=300, Ecutoff=65., elastic_E_cutoff=(-12., 6.7), M=50.94, C_ms=0.05, Ei=120.)
Density of States in iterations:
S(E) at last iteration:
S(Q,E) at last iteration:
The original optimization scheme implemented by max does it by an iterative approach
Prerequisites: