pyyeti.cla.DR_Results.calc_ext

DR_Results.calc_ext()[source]

Calculate the .ext attribute from the .mx and .mn attributes

Notes

Each results SimpleNamespace (eg, self['SECO1']['SC_ifa']) is expected to have .mx and .mn members. Each of these is data-recovery rows x load cases. This routine will calculate a new .ext member by:

.ext = [max(mx), min(mn)]

If .srs.srs[q] is present, a new srs.ext[q] will be calculated as well. Each .srs.srs[q] is assumed to be cases x rows x freq.

The .maxcase and .mincase members are set to the corresponding maximizing and minimizing label from .cases. The .ext_x member is set to None.

Note that this method is not needed in typical situations, since the extreme values are computed automatically (during the call to time_data_recovery(), for example).