Skip to content

Commit

Permalink
fix: reduce vibration velocity with reliability index
Browse files Browse the repository at this point in the history
  • Loading branch information
RDWimmers committed Jun 11, 2024
1 parent 260e722 commit 78ed32a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/pyvibracore/results/nuisance.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,9 @@ def df_nuisance(
vibration_type,
building_function=building["gebruiksdoel"].item(),
).values()
arr = np.array(response_dict["data"]["vibrationVelocity"])
arr = np.array(response_dict["data"]["vibrationVelocity"]) / response_dict[
"calculation"
].get("gamma", 1)
a_one, a_two, a_three = [*zip(*levels)]

# safety factors
Expand Down Expand Up @@ -328,7 +330,9 @@ def map_nuisance(
)[values["label"]]
for values in settings["levels"]
]
arr = np.array(response_dict["data"]["vibrationVelocity"])
arr = np.array(response_dict["data"]["vibrationVelocity"]) / response_dict[
"calculation"
].get("gamma", 1)
a_one, a_two, a_three = [*zip(*levels)]

# safety factors
Expand Down

0 comments on commit 78ed32a

Please sign in to comment.