def write_phase_params_to_file(self):
inp_file = os.path.join(os.path.join(self.input_path, '<STR_LIT>'), self.phase_function_file) + '<STR_LIT>'<EOL>lg.info('<STR_LIT>' + inp_file)<EOL>if self.iop_type == '<STR_LIT>' or '<STR_LIT>' or '<STR_LIT>' or '<STR_LIT>':<EOL><INDENT>lg.info('<STR_LIT>' + self.iop_type)<EOL>f = open(inp_file, '<STR_LIT:w>')<EOL>f.write('<STR_LIT>' + str(self.verbose) + '<STR_LIT:\n>')<EOL>f.write('<STR_LIT>' + str(self.num_bands) + '<STR_LIT:\n>')<EOL>f.write('<STR_LIT>')<EOL>f.write("<STR_LIT:U+002C>".join([str(wave) for wave in self.wavelengths]) + '<STR_LIT:\n>')<EOL>f.write('<STR_LIT>' + self.partition + '<STR_LIT:\n>')<EOL>f.write('<STR_LIT>' + str(self.vn) + '<STR_LIT:\n>')<EOL>f.write('<STR_LIT>' + str(self.hn) + '<STR_LIT:\n>')<EOL>f.write('<STR_LIT>')<EOL>f.write("<STR_LIT:U+002C>".join([str(theta) for theta in self.theta_points]) + '<STR_LIT:\n>')<EOL>f.write('<STR_LIT>' + self.iop_type + '<STR_LIT:\n>')<EOL>f.write('<STR_LIT>' + inp_file.strip('<STR_LIT>') + '<STR_LIT:\n>')<EOL>f.flush()<EOL>f.close()<EOL><DEDENT>
Write the params to file that surftool_Free needs to generate the surface facets