pyyeti.cla.rptext1

pyyeti.cla.rptext1(res, filename, title='M A X / M I N  S U M M A R Y', doabsmax=False, numform='{:13.5e}', perpage=-1)[source]

Writes .ext file for max/min results.

Parameters:
  • res (SimpleNamespace) – Results data structure with attributes .ext, .cases, etc (see example in DR_Results)

  • filename (string or file_like or 1 or None) – Either a name of a file, or is a file_like object as returned by open() or io.StringIO. Input as integer 1 to write to stdout. Can also be the name of a directory or None; in these cases, a GUI is opened for file selection.

  • title (string; optional) – Title for report

  • doabsmax (bool; optional) – If True, report only absolute maximums. Note that signs are retained.

  • numform (string; optional) – Format of the max & min numbers.

  • perpage (integer; optional) – The number of lines to write perpage. If < 0, there is no limit (one page).

Notes

The output files contain the maximums, minimums and cases as applicable.