visualdynamics.plot.fatigue¶
fatigue
¶
The extreme response and fatigue damage spectra of a record, against a candidate test when there is one, and the time-compression rule they are read through.
Three plots, one above the other (core.fatigue):
- the ERS on log axes, natural frequency across: the largest response each resonator is expected to reach (a spectrum) or reached (a time history), in the unit system's acceleration unit;
- the FDS on the same frequency axis, linked to the first: the damage each resonator's response does over the duration, in that unit to the power b, the S-N constant at one;
- the time-compression rule at the result's b: the time ratio a test stands for against its exaggeration factor on the ASD, a straight line on log axes, with the cap on the factor as a dashed wall and the time ratio the cap allows written on it. With a test, the exaggeration the test carries at each natural frequency is drawn as a bar at the field's time over the test's, from its least (a hollow square, the governing frequency) to its most (a filled square), each end labeled with its frequency. Where the bar lies right of the line the test does more damage than the field there; left of it, less; past the wall, the test is exaggerated beyond the cap.
The field is a solid line and the test a dashed one, named in the legend, never told apart by color alone. What each result rests on is in the plots' titles: Q and the duration on the ERS, b and the reading of the cycles on the FDS, and on the third the comparison's verdict.
Functions:
| Name | Description |
|---|---|
title_ers |
The ERS plot's title: what the largest response is, at what Q, |
title_fds |
The FDS plot's title: b, the reading of the cycles and the |
build_fatigue |
Draw |
summary |
The reading in one line, for the status bar. |
Functions:¶
title_ers
¶
The ERS plot's title: what the largest response is, at what Q, over how long.
Source code in src/visualdynamics/plot/fatigue.py
title_fds
¶
The FDS plot's title: b, the reading of the cycles and the duration.
Source code in src/visualdynamics/plot/fatigue.py
build_fatigue
¶
build_fatigue(layout: Any, field: Any, test: Any = None, *, pair: Any = None, unit_system: Any = None, theme: Any = None, field_name: str | None = None, test_name: str | None = None) -> list[Any]
Draw field, a core.fatigue.ResponseSpectra, and test beside
it when given, into layout; return the three plots.
pair is their core.fatigue.Equivalence, made here when test is
given and it is not. field_name and test_name are the legend's
words, the records' labels when omitted.
Source code in src/visualdynamics/plot/fatigue.py
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 | |
summary
¶
The reading in one line, for the status bar.