Skip to content

Commit

Permalink
Fix woehler_curve.ipynb
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Mueller <[email protected]>
  • Loading branch information
johannes-mueller committed Feb 22, 2022
1 parent 53fa73b commit 3f81c04
Showing 1 changed file with 12 additions and 22 deletions.
34 changes: 12 additions & 22 deletions demos/woehler_curve.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "79bdf1fa",
"id": "d73db40c",
"metadata": {},
"source": [
"# The `WoehlerCurve` data structure\n",
Expand All @@ -25,7 +25,7 @@
},
{
"cell_type": "markdown",
"id": "d31d3915",
"id": "60db361e",
"metadata": {},
"source": [
"## The very basic Wöhler curve data\n",
Expand Down Expand Up @@ -78,7 +78,7 @@
},
{
"cell_type": "markdown",
"id": "37dbe42e",
"id": "5b0263d7",
"metadata": {},
"source": [
"## Optional parameters\n",
Expand All @@ -91,7 +91,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "1d9e7300",
"id": "3f85d904",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -105,19 +105,9 @@
"plt.plot(cycles, woehler_curve_data.woehler.basquin_load(cycles))\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "f44a0aea",
"metadata": {},
"outputs": [],
"source": [
"wc_data.fatigue.damage(load_collective)"
]
},
{
"cell_type": "markdown",
"id": "d5ba9e58",
"id": "34d11ef6",
"metadata": {},
"source": [
"### The failure probability and the scatter values `TN` and `TS`.\n",
Expand All @@ -128,7 +118,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "a9eecfeb",
"id": "84f6b0d7",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -137,7 +127,7 @@
},
{
"cell_type": "markdown",
"id": "fa2c8d5b",
"id": "a6fcc81b",
"metadata": {},
"source": [
"You can provide values for the scattering of the Wöhler curve:"
Expand All @@ -146,7 +136,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "74728085",
"id": "6d62e2db",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -161,7 +151,7 @@
},
{
"cell_type": "markdown",
"id": "b5744154",
"id": "f11ef7e2",
"metadata": {},
"source": [
"Now you can then transform this Wöhlercurve to another failure probability:"
Expand All @@ -170,7 +160,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "017518ca",
"id": "a08842e8",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -179,7 +169,7 @@
},
{
"cell_type": "markdown",
"id": "f581065e",
"id": "2af98518",
"metadata": {},
"source": [
"As convenience you can provide the failure probability as a optional parameter to the `basquin_load()` and `basquin_cycles()` methods."
Expand All @@ -188,7 +178,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "24d7b8cd",
"id": "575933b1",
"metadata": {},
"outputs": [],
"source": [
Expand Down

0 comments on commit 3f81c04

Please sign in to comment.