This PR is related to user story DST-336 As 4S engineer I want to mirror the symmetric RAOs when creating RAO object using waveresponse
Description
Often, RAOs are provided from 0 to 180 degrees considering symmetry in x-z (surge-heave) plane. In these cases, it is usefull to mirror the RAO to obtain the full extended version defined in directional range [0, 360) degrees (or [0, 2 * numpy.pi) radians)
This PR adds a mirror function in _core.py outside RAO class to mirror and RAO object defined in the range [0, 180] degrees (or [0, $\pi$] radians) to obtain the full extended version defined in range [0, 360) degrees (or [0, $2 \pi$) radians).
Checklist
[ ] PR title is descriptive and fit for injection into release notes (see tips below)
[ ] Correct label(s) are used
PR title tips:
Use imperative mood
Describe the motivation for change, issue that has been solved or what has been improved - not how
Examples:
Add functionality for Allan variance to sensor_4s.simulate
This PR is related to user story DST-336 As 4S engineer I want to mirror the symmetric RAOs when creating RAO object using waveresponse
Description
Often, RAOs are provided from 0 to 180 degrees considering symmetry in x-z (surge-heave) plane. In these cases, it is usefull to mirror the RAO to obtain the full extended version defined in directional range [0, 360) degrees (or [0, 2 * numpy.pi) radians)
This PR adds a mirror function in _core.py outside RAO class to mirror and RAO object defined in the range [0, 180] degrees (or [0, $\pi$] radians) to obtain the full extended version defined in range [0, 360) degrees (or [0, $2 \pi$) radians).
Checklist
PR title tips: