pyyeti.cla.rpttab1

pyyeti.cla.rpttab1(res, filename, title, count_filter=1e-06, name=None)[source]

Write results tables with bin count information.

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

  • filename (string or file_like or 1 or None) – If a string that ends with ‘.xlsx’, a Microsoft Excel file is written.

    Otherwise, filename is 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) – Title for report

  • count_filter (scalar; optional) – Filter to use for the bin count; only numbers larger (in the absolute value sense) than the filter are counted

  • name (string or None; optional) – For ‘.xlsx’ files, this string is used for sheet naming. If None and writing an ‘.xlsx’ file, a ValueError is raised.

Notes

The output files contain the maximums, minimums, abs-max tables. The extrema value is also included along with the case that produced it.

After those three tables, a table of bin counts is printed showing the number of extrema values produced by each event.