Move out {sigma, hurst, correlationLength} to autocorrelation model class
LayerRoughness
does not directly accepts parameters {sigma, hurst, correlationLength}
anymore.
Instead, it takes AutocorrelationModel
object.
AutocorrelationModel
is abstract class, it has only one derivative class K_CorrelationModel
at the moment.
Autogenerated Python script from GUI:
# Define roughness
autocorrelation_1 = ba.K_CorrelationModel(1*nm, 0.234, 524*nm)
autocorrelation_2 = ba.K_CorrelationModel(1.23*nm, 0.87, 57*nm)
autocorrelation_3 = ba.K_CorrelationModel(2*nm, 0.99, 222*nm)
interlayer_1 = ba.ErfInterlayer()
interlayer_2 = ba.ErfInterlayer()
interlayer_3 = ba.TanhInterlayer()
roughness_1 = ba.LayerRoughness(autocorrelation_1, interlayer_1)
roughness_2 = ba.LayerRoughness(autocorrelation_2, interlayer_2)
roughness_3 = ba.LayerRoughness(autocorrelation_3, interlayer_3)
Edited by Mikhail Svechnikov