Implementing custom PeakWidthModel

48 views
Skip to first unread message

Peter Metz

unread,
Feb 27, 2020, 11:32:18 AM2/27/20
to diffpy-users
Hi All,

There is an example of overriding the default PDF PeakWidthModel in the ADD2019 tutorials (https://github.com/diffpy/add2016-pdfgui/blob/master/DiffPy-CMI-tutorial/08-Fit-Naphthalene-PDF-improved.py).

I would like to extend this by overloading the JeongPeakWidth model to add another r-dependence. I'm struggling to come up with what attributes and signatures the required PeakWidthModel should have, however.

Thanks for any advice,
Peter
Reply all
Reply to author
Forward
0 new messages