Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
An additive constant to the fit.
References
----------
[1] Prince, E. (2004). International tables for crystallography.
Vol. C, table 4.3.2.3.
"""
Component.__init__(self, ['N', 'C'])
self._whitelist['elements'] = ('init,sig', elements)
self._whitelist['fracs'] = ('init,sig', fracs)
self.elements = elements
self.fracs = fracs
params = []
for e in elements:
params.append(ATOMIC_SCATTERING_PARAMS[e])
self.params = params
self.N.value = N
self.C.value = C