HTTPS SSH

README

What is this repository for?

This GNU Octave function identifies the stress cycles in an irregular time series of stress. The rainflow algorithm code has been prepared according to the ASTM standard "Standard practices for cycle counting in fatigue analysis" and is optimized considering the calculation time.

This is the same algorithm as that described by de Jonge, J.B.(1982): "The analysis of load-time histories by means of counting methods". The results are exactly equal to those obtained by the algorithm described by Matsuiski, M. and Endo, T. (1969): "Fatigue of metals subjected to varying stress".

The code was originally developed for Matlab by Dr. Adam Nieslony.

A package suitable for GNU Octave is provided here - complete with references and instructions for compilation, installation and testing.

This Mercurial repository has been been imported Google code.

How do I get set up?

The following (and more) is found in file: ./rainflow-octave/doc/README.octave

OCTAVE SPECIFIC INSTALLATION

THe Makefiles(s) are expected to handle the following steps:

  1. Create a mex-file from: rainflow.c

$ cd ./rainflow $ mkoctfile --mex --strip rainflow.c $ ls rainflow.* $ ls rainflow.mex rainflow.mex

  1. Move the rainflow.mex file to place where GNU Octave can find it.

Check the search path of Octave. Octave will locate oct- or mex- files automatically if they are in a directory listed in the search path. To figure out the search path:

$ octave octave> path Octave's search path contains the following directories:

. /usr/local/share/octave/site-m

To install, see pkg of GNU Octave.

This README would normally document whatever steps are necessary to get your application up and running.

  • Summary of set up
  • Configuration
  • Dependencies
  • Database configuration
  • How to run tests
  • Deployment instructions

Contribution guidelines

  • Writing tests
  • Code review
  • Other guidelines

Who do I talk to?

  • Repo owner or admin
  • Other community or team contact