Skip to main content
. Author manuscript; available in PMC: 2022 May 6.
Published in final edited form as: Symmetry (Basel). 2021 Aug 5;13(8):1441. doi: 10.3390/sym13081441

Algorithm A1.

Iterative fitting of the chain length mismatch correction to a linear function Parameters behind; in function definitions designate fixed inputs in the optimizations Data inputs are ΔlC, σCH3

functionFlin(k,σCH3sym;ΔlC,corr)returnkΔlC,corr+σCH3symfunctionFcorr(dtilt;ΔlC,k,σCH3sym)ΔlC,corrΔlC+dtiltretunkΔlC,corr+σCH3syminitialize:k,σCH3sym,dtilt,ΔlC,corrwhileFlinFcorr>εdok,σCH3symoptimizeFlinσCH3=0dtiltoptimizeFcorrσCH3=0endwhile