From 9b9a7dda38737e8bf7e4dfac1a04d6dab7625f77 Mon Sep 17 00:00:00 2001 From: "david.verelst" Date: Mon, 28 Feb 2011 12:39:00 +0000 Subject: [PATCH] References and BSD license for Nieslony's rainflow algorithm --- pywafo/src/wafo/objects.py | 16 ++++++++++++- .../c_codes/c_library rf3 rf5 license.txt | 24 +++++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 pywafo/src/wafo/source/c_codes/c_library rf3 rf5 license.txt diff --git a/pywafo/src/wafo/objects.py b/pywafo/src/wafo/objects.py index 6d641a8..195cafe 100644 --- a/pywafo/src/wafo/objects.py +++ b/pywafo/src/wafo/objects.py @@ -976,7 +976,21 @@ class TurningPoints(WafoData): sig_rfc[:,0] Cycles amplitude sig_rfc[:,1] Cycles mean value sig_rfc[:,2] Cycle type, half (=0.5) or full (=1.0) - + + References + ---------- + Adam Niesłony, “Determination of fragments of multiaxial service loading + strongly influencing the fatigue of machine components,” + Mechanical Systems and Signal Processing 23, no. 8 (2009): 2712-2721. + + and is based on the following standard: + ASTM E 1049-85 (Reapproved 1997), Standard practices for cycle counting + in fatigue analysis, in: Annual Book of ASTM Standards, + vol. 03.01, ASTM, Philadelphia, 1999, pp. 710–718. + + Copyright (c) 1999-2002 by Adam Nieslony + Ported to Python by David Verelst + Example ------- >>> import wafo diff --git a/pywafo/src/wafo/source/c_codes/c_library rf3 rf5 license.txt b/pywafo/src/wafo/source/c_codes/c_library rf3 rf5 license.txt new file mode 100644 index 0000000..420c520 --- /dev/null +++ b/pywafo/src/wafo/source/c_codes/c_library rf3 rf5 license.txt @@ -0,0 +1,24 @@ +Copyright (c) 2003, Adam Niesłony +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the distribution + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE.