# sf.cli.write_script_results¶

write_script_results(samples, output_file=None)[source]

Write the results of the script either to a file or to the standard output.

Parameters
• samples (array[float]) – array of samples

• output_file (str or None) – the path to the output file, None if no output was defined