Skip to content

A Python module that implements tools for the simulation and identification of random fields using the Karhunen-Loeve expansion representation.

Notifications You must be signed in to change notification settings

wolke26/python-randomfields

 
 

Repository files navigation

python-randomfields

A Python module that implements tools for the simulation and identification of random fields using the Karhunen-Loeve expansion representation.

Folder description

This folder contains:

  • a Python module named randomfields,

  • 4 Python scripts implementing basic examples, showing the ways the module functionalities can be used. NB: simulation scripts must be run before their corresponding identification counterpart because the simulation scripts generate input randomfield data (dumped to ascii file) for identification.

Requirements

The present Python module and its examples rely on:

  • OpenTURNS (>= 1.4)

  • Numpy (>= 1.6)

  • Scipy (>= 0.9)

  • Matplotlib (>= 1.0)

Installation

The example scripts can be run from this folder for testing. They'll import the randomfields module from the local folder.

In order to make the randomfields module installation systemwide, you may either:

  • copy the randomfields module (directory) in the "site-package" directory of your Python distribution (e.g. /usr/local/lib/python2.7/site-package). NB: You might need admin rights to do so.

  • append the parent directory of the randomfields module (directory) to your PYTHONPATH environment variable.

Documentation

The randomfields module uses Python docstrings. Use either "help(object)" in a classic Python shell or "object?" in an improved Python (IPython) shell.

Authors and terms of use

This module was implemented by Phimeca Engineering SA, EdF and Institut Navier (ENPC). It is shipped as is without any warranty of any kind.

Todo

Contributions are welcome.

  • Implement other Galerkin schemes such as the Haar wavelet Galerkin scheme proposed by Phoon et al. (2002). More advanced (smoother) wavelets could also be used.

  • Call for data: if you have any, please contribute, possibly along with an identification example.

  • Any other idea within the scope of the module is welcome!

References

About

A Python module that implements tools for the simulation and identification of random fields using the Karhunen-Loeve expansion representation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%