rompy.swan.subcomponents.spectrum.BIN#
- pydantic model rompy.swan.subcomponents.spectrum.BIN[source]#
Single frequency bin spectral shape.
BIN
Examples
In [103]: from rompy.swan.subcomponents.spectrum import BIN In [104]: shape = BIN() In [105]: print(shape.render()) BIN
Show JSON schema
{ "title": "BIN", "description": "Single frequency bin spectral shape.\n\n.. code-block:: text\n\n BIN\n\nExamples\n--------\n\n.. ipython:: python\n :okwarning:\n\n from rompy.swan.subcomponents.spectrum import BIN\n shape = BIN()\n print(shape.render())", "type": "object", "properties": { "model_type": { "default": "bin", "description": "Model type discriminator", "enum": [ "bin", "BIN" ], "title": "Model Type", "type": "string" } }, "additionalProperties": false }
- field model_type: Literal['bin', 'BIN'] = 'bin'#
Model type discriminator