def METHOD_NAME(self, param, lhablock):
    lhacode=' '.join(['%3s' % key for key in param.lhacode])
    if lhablock != 'DECAY':
        text = """  %s %e # %s \n""" % (lhacode, complex(param.value).real, param.name ) 
    else:
        text = '''DECAY %s %e \n''' % (lhacode, complex(param.value).real)
    self.fsock.write(text) 