code: def write_input_files(pst):
      
      par = pst.parameter_data
      par.loc[:,"parval1_trans"] = (par.parval1 * par.scale) + par.offset
      for tpl_file,in_file in zip(pst.template_files,pst.input_files):
          write_to_template(pst.parameter_data.parval1_trans,tpl_file,in_file)
docs: write parameter values to a model input files using a template files with
      current parameter values (stored in Pst.parameter_data.parval1).
      This is a simple implementation of what PEST does.  It does not
      handle all the special cases, just a basic function...user beware
  
      Parameters
      ----------
      pst : (pyemu.Pst)
          a Pst instance