Source code for dials.extensions.gaussian_rs_profile_model_ext
from __future__ import annotations
[docs]
class GaussianRSProfileModelExt:
"""An extension class implementing a reciprocal space gaussian profile model."""
name = "gaussian_rs"
default = True
[docs]
@staticmethod
def phil():
from dials.algorithms.profile_model.gaussian_rs import phil_scope
return phil_scope
[docs]
@staticmethod
def algorithm():
from dials.algorithms.profile_model.gaussian_rs import Model
return Model
[docs]
@classmethod
def from_dict(cls, d):
return cls.algorithm().from_dict(d)