1
0
forked from IPKM/nmreval

HN + Excess wing

This commit is contained in:
Dominik Demuth 2023-05-22 18:50:03 +02:00
parent b91fbf7621
commit 685b9d2316

View File

@ -88,7 +88,7 @@ class EpsInfty:
return ret_val
class _HNWithHF:
class HNWithHF:
name = 'HN + HF wing'
type = 'Dielectric Spectroscopy'
equation = r'\Delta\epsilon HN(\omega, \tau, \alpha, \gamma) / CD(\omega, \tau_{c}, \alpha\gamma-\delta)'
@ -114,7 +114,7 @@ class _HNWithHF:
raise ValueError(f'{complex_mode!r} has not value 0, 1, or 2')
class CCWithHF:
class _CCWithHF:
name = 'CC + HF wing'
type = 'Dielectric Spectroscopy'
equation = r'\Delta\epsilon CC(\omega, \tau, \alpha) / CD(\omega, \tau_{c}, \beta-\delta)'
@ -124,10 +124,10 @@ class CCWithHF:
@staticmethod
def func(x, deps, tau, alpha, tauc, delta, complex_mode: int = 0):
return _HNWithHF.func(x, deps, tau, alpha, 1, tauc, delta, complex_mode=complex_mode)
return HNWithHF.func(x, deps, tau, alpha, 1, tauc, delta, complex_mode=complex_mode)
class CDWithHF:
class _CDWithHF:
name = 'CD + HF wing'
type = 'Dielectric Spectroscopy'
equation = r'\Delta\epsilon CD(\omega, \tau, \gamma) / CD(\omega, \tau_{c}, \gamma-\delta)'
@ -137,7 +137,7 @@ class CDWithHF:
@staticmethod
def func(x, deps, tau, gamma, tauc, delta, complex_mode: int = 0):
return _HNWithHF.func(x, deps, tau, 1, gamma, tauc, delta, complex_mode=complex_mode)
return HNWithHF.func(x, deps, tau, 1, gamma, tauc, delta, complex_mode=complex_mode)
class PowerLawBDS: