Added orcaflex export function#37
Added orcaflex export function#37rafa-guedes merged 5 commits intowavespectra:masterfrom RubendeBruin:export_orcaflex
Conversation
|
Thanks @RubendeBruin that will be useful addition to orcaflex users. A few comments:
|
Tests and checks on single/multiple spectra
Tests and checks on single/multiple spectra
|
Hi @rafa-guedes Thanks for your review.
|
…aflex # Conflicts: # tests/io/test_to_orcaflex.py
|
PLEASE HOLD there are some tricks for faster exporting of large amounts of data that I'd like to add to the commit. |
|
Ready to be merged |
Adds a function to export a single spectrum to the orcaflex time-domain simulation program.
Note that an orcaflex license is required to do this.
The tests will try to run this test but will not fail if the orcaflex API can not be loaded.
Running the tests on a machine with orcaflex license gives the following output:
Time-domain signal from orcaflex simultation:

Comparison oned() input spectrum and spectrum re-calculated from time-domain signal using welch() 👍

Screenshot of orcaflex model with exported spectrum:
