ADR: DiffusionModel
#106
henrikjacobsenfys
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This ADR documents the design decisions behind the
DiffusionModelDiffusionModelconsist of a base class,DiffusionBaseand a class for eachDiffusionModel. Currently, only two diffusion models exist, but more will be added.The base class has
unit(for the energy axis) andscale.All diffusion models also have the following methods:
np.ndarray. If multiple Lorentzians, then it will be a list of arrays.Qas input and creates aComponentCollectionfor eachQ. Each collection has the appropriate delta functions and Lorentzians, withParameters depending onQand e.g. scale and diffusion coefficients as appropriate.To handle units we also use
DescriptorNumberrepresentations ofhbarandÅngstromBeta Was this translation helpful? Give feedback.
All reactions