neutrons / multiphonon

multiphonon (getDOS)
MIT License
3 stars 5 forks source link

Don't need to scale the DOS if the full range of DOS is being updated #47

Closed yxqd closed 7 years ago

yxqd commented 7 years ago

See https://github.com/sns-chops/multiphonon/blob/509ae3c391afcdb9323144e6c4ee25e140f01b1d/multiphonon/backward/singlephonon_sqe2dos.py#L98

update_dos now supports partial update. For partial update we need to calculate scale factor for the dos to be updated. But for full update, we probably should skip that. Otherwise the warning msg is annoying.