How to use the rainflow.find_rainflow_cycles function in rainflow

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.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

rainflow

Implementation of ASTM E1049-85 rainflow cycle counting algorithm

MIT
Latest version published 2 years ago

Package Health Score

51 / 100
Full package analysis