From 3f81c04b09be9cee888a4ba89191bc6a491bbf64 Mon Sep 17 00:00:00 2001 From: Johannes Mueller Date: Tue, 22 Feb 2022 16:20:47 +0100 Subject: [PATCH] Fix woehler_curve.ipynb Signed-off-by: Johannes Mueller --- demos/woehler_curve.ipynb | 34 ++++++++++++---------------------- 1 file changed, 12 insertions(+), 22 deletions(-) diff --git a/demos/woehler_curve.ipynb b/demos/woehler_curve.ipynb index 67b715f7..84eec21c 100644 --- a/demos/woehler_curve.ipynb +++ b/demos/woehler_curve.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "markdown", - "id": "79bdf1fa", + "id": "d73db40c", "metadata": {}, "source": [ "# The `WoehlerCurve` data structure\n", @@ -25,7 +25,7 @@ }, { "cell_type": "markdown", - "id": "d31d3915", + "id": "60db361e", "metadata": {}, "source": [ "## The very basic Wöhler curve data\n", @@ -78,7 +78,7 @@ }, { "cell_type": "markdown", - "id": "37dbe42e", + "id": "5b0263d7", "metadata": {}, "source": [ "## Optional parameters\n", @@ -91,7 +91,7 @@ { "cell_type": "code", "execution_count": null, - "id": "1d9e7300", + "id": "3f85d904", "metadata": {}, "outputs": [], "source": [ @@ -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", @@ -128,7 +118,7 @@ { "cell_type": "code", "execution_count": null, - "id": "a9eecfeb", + "id": "84f6b0d7", "metadata": {}, "outputs": [], "source": [ @@ -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:" @@ -146,7 +136,7 @@ { "cell_type": "code", "execution_count": null, - "id": "74728085", + "id": "6d62e2db", "metadata": {}, "outputs": [], "source": [ @@ -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:" @@ -170,7 +160,7 @@ { "cell_type": "code", "execution_count": null, - "id": "017518ca", + "id": "a08842e8", "metadata": {}, "outputs": [], "source": [ @@ -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." @@ -188,7 +178,7 @@ { "cell_type": "code", "execution_count": null, - "id": "24d7b8cd", + "id": "575933b1", "metadata": {}, "outputs": [], "source": [