MHKiT-Python icon indicating copy to clipboard operation
MHKiT-Python copied to clipboard

In `wave.resource.surface_elevation` use `sum_of_sines` method if input spectrum does not have a zero frequency

Open simmsa opened this issue 10 months ago • 7 comments

Add auto method to wave.resource.surface_elevation to address #308.

The auto method chooses the most computationally efficient surface elevation computation method based on the input spectrum. auto uses the sum_of_sines method is a zero frequency is not defined in the input spectrum index and uses the ifft for all other cases.

simmsa avatar Apr 24 '24 18:04 simmsa