rompy.swan.subcomponents.spectrum.TMA#

pydantic model rompy.swan.subcomponents.spectrum.TMA[source]#

TMA spectral shape.

TMA [gamma] [d]

Examples

In [125]: from rompy.swan.subcomponents.spectrum import TMA

In [126]: shape = TMA(gamma=2.0, d=18)

In [127]: print(shape.render())
TMA gamma=2.0 d=18.0
Fields:
field d: float [Required]#

The reference depth at the wave maker in meters.

Constraints:
  • gt = 0.0

field gamma: float = 3.3#

Peak enhancement parameter of the JONSWAP spectrum.

Constraints:
  • gt = 0.0

field model_type: Literal['tma', 'TMA'] = 'tma'#

Model type discriminator

cmd() str[source]#