from collections import OrderedDict


def getFixedParams(TXT):
    """
       Read fixed parameters
    """
    fixed=OrderedDict()
    START = TXT.index("# Fixed:") + 1
    for line in TXT[START:]:
        l=line[1:].strip().split()
        if len(l)==0:
            return fixed
        else:
            fixed[l[0]]=float(l[1])