0 purchases
snoopybv 2.1.1
Snoopy library
Documentation and tutorials : https://bv-dr.gitlab.io/Snoopy
Snoopy is an open source library for marine applications. Among other things, it contains the following sub-packages
Spectral : Routines for spectral analysis of sea-keeping results
Wave spectra (Jonswap, Ochihubble, spreading function…)
Manipulation of transfer function (RAOs)
Response spectrum
2nd order response spectrum
TimeDomain
Reconstruction of seakeeping results in time domain (1st and 2nd order)
Convolution for wave radiation in time domain (from added-mass).
Upcrossing analysis
Fatigue
Rainflow counting
SN-Curves
Spectral fatigue
Meshing
WaveKinematics : (Linear, wheeler stretching, 2nd order…)
Statistics
Peak Over Threshold
Long term analysis
IFORM contour
Example of use
>>> from Snoopy import Spectral as sp
>>> spec = sp.Jonswap( hs = 1.0 , tp = 10.0 , gamma = 1.0)
>>> spec.plot()
How to install
Snoopy is available on pypi.org and can be using pip:
pip install snoopy-bv
In case conda is used, it is recommended to install dependencies using conda (hence the –no-deps in above command line):
conda install xarray numpy scipy pandas matplotlib h5py tqdm Deprecated
pip install snoopy-bv --no-deps
How to build from sources
To build the package from sources, instructions are given in readme_dev.rst
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.