How to use rainflow - 8 common examples

To help you get started, we’ve selected a few rainflow examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Gunnstein / fatpack / fatpack / tests.py View on Github external
def setUp(self):
        self.result_true = TESTDATA['concatenated_residue']
        residue = TESTDATA['residue']
        self.result = rainflow.concatenate_reversals(residue, residue)
github Gunnstein / fatpack / fatpack / tests.py View on Github external
def setUp(self):
        self.cycles_true = TESTDATA['cycles']
        self.residue_true = TESTDATA['residue']
        self.reversals = TESTDATA['reversals']
        self.cycles, self.residue = rainflow.find_rainflow_cycles(
                                                            self.reversals)
        self.result = self.cycles
        self.result_true = self.cycles_true
github Gunnstein / fatpack / fatpack / tests.py View on Github external
def setUp(self):
        self.result_true = TESTDATA['starting_destination_rainflow_matrix']
        cycles = TESTDATA['cycles']
        bins = TESTDATA['class_boundaries']
        self.result = rainflow.find_rainflow_matrix(cycles, bins, bins)
github Gunnstein / fatpack / fatpack / tests.py View on Github external
def setUp(self):
        self.result_true = TESTDATA['ranges_total']
        self.result = rainflow.find_rainflow_ranges(TESTDATA['dataseries'],
                                                    k=11)
github Gunnstein / fatpack / fatpack / tests.py View on Github external
def setUp(self):
        self.N_true = TESTDATA['ranges_count']
        self.S_true = TESTDATA['classes']
        self.N, self.S = rainflow.find_range_count(
                            TESTDATA['ranges_total'],
                            bins=TESTDATA['class_boundaries'])
github Gunnstein / fatpack / fatpack / tests.py View on Github external
def setUp(self):
        self.result_true = TESTDATA['reversals']
        y = TESTDATA['dataseries']
        self.result, __ = rainflow.find_reversals(y, k=11)
github Gunnstein / fatpack / fatpack / tests.py View on Github external
def setUp(self):
        self.result_true = TESTDATA['class_boundaries']
        y = TESTDATA['dataseries']
        self.result = rainflow.get_load_class_boundaries(y, k=11)
github Gunnstein / fatpack / fatpack / tests.py View on Github external
def setUp(self):
        self.result_true = TESTDATA['classes']
        y = TESTDATA['dataseries']
        self.result = rainflow.get_load_classes(y, k=11)

rainflow

Implementation of ASTM E1049-85 rainflow cycle counting algorithm

MIT
Latest version published 2 years ago

Package Health Score

48 / 100
Full package analysis