rompy.swan.subcomponents.physics.TRANS1D#

pydantic model rompy.swan.subcomponents.physics.TRANS1D[source]#

Frequency dependent transmission.

TRANS1D < [trcoef] >

Examples

In [74]: from rompy.swan.subcomponents.physics import TRANS1D

In [75]: transm = TRANS1D(trcoef=[0.0, 0.0, 0.2, 0.5, 0.2, 0.0, 0.0])

In [76]: print(transm.render())
TRANS1D 0.0 0.0 0.2 0.5 0.2 0.0 0.0
Fields:
field model_type: Literal['trans1d', 'TRANS1D'] = 'trans1d'#

Model type discriminator

field trcoef: list[float] [Required]#

Transmission coefficient (ratio of transmitted over incoming significant wave height) per frequency. The number of these transmission values must be equal to the number of frequencies, i.e. msc + 1

cmd() str[source]#

Command file string for this subcomponent.