bahamas.human_error_mode_distribution

Attributes

logger

Functions

get_hemd_from_spreadsheet(spreadsheet_file[, ...])

Module Contents

bahamas.human_error_mode_distribution.logger[source]
bahamas.human_error_mode_distribution.get_hemd_from_spreadsheet(spreadsheet_file, sheet_name='HEMD', distribution='lognorm')[source]
Parameters:
  • spreadsheet_file (str) – Filename of the spreadsheet to read in

  • sheet_name (str) – Name of the sheet with the human error mode distribution data

  • distribution (str) – Type of distribution to use (currently only “lognorm” is supported)

Returns:

  • hemd, dist_dict (dict, dict) – The first dictionary contains the rvs sampling function for the action type; the second dictionary contains the distribution dictionary — both are keyed by the action type.

  • gets the human error mode distributions from a spreadsheet