Skip to main content

DR C++/Python library

Project description

Build Status

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()
Jonswap picture

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 “readme_dev.rst”

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

snoopy_bv-2.1.0-cp312-cp312-win_amd64.whl (4.4 MB view hashes)

Uploaded CPython 3.12 Windows x86-64

snoopy_bv-2.1.0-cp311-cp311-win_amd64.whl (4.8 MB view hashes)

Uploaded CPython 3.11 Windows x86-64

snoopy_bv-2.1.0-cp311-cp311-manylinux_2_28_x86_64.whl (6.8 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.28+ x86-64

snoopy_bv-2.1.0-cp311-cp311-manylinux_2_24_x86_64.whl (13.2 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.24+ x86-64

snoopy_bv-2.1.0-cp310-cp310-win_amd64.whl (4.5 MB view hashes)

Uploaded CPython 3.10 Windows x86-64

snoopy_bv-2.1.0-cp310-cp310-manylinux_2_28_x86_64.whl (6.8 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.28+ x86-64

snoopy_bv-2.1.0-cp310-cp310-manylinux_2_24_x86_64.whl (6.8 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.24+ x86-64

snoopy_bv-2.1.0-cp39-cp39-win_amd64.whl (4.5 MB view hashes)

Uploaded CPython 3.9 Windows x86-64

snoopy_bv-2.1.0-cp39-cp39-manylinux_2_28_x86_64.whl (6.8 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.28+ x86-64

snoopy_bv-2.1.0-cp39-cp39-manylinux_2_24_x86_64.whl (13.2 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.24+ x86-64

snoopy_bv-2.1.0-cp38-cp38-manylinux_2_28_x86_64.whl (6.8 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.28+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page