rompy.swan.subcomponents.spectrum.PM#

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

Pearson-Moskowitz spectral shape.

PM

Examples

In [112]: from rompy.swan.subcomponents.spectrum import PM

In [113]: shape = PM()

In [114]: print(shape.render())
PM

Show JSON schema
{
   "title": "PM",
   "description": "Pearson-Moskowitz spectral shape.\n\n.. code-block:: text\n\n    PM\n\nExamples\n--------\n\n.. ipython:: python\n    :okwarning:\n\n    from rompy.swan.subcomponents.spectrum import PM\n    shape = PM()\n    print(shape.render())",
   "type": "object",
   "properties": {
      "model_type": {
         "default": "pm",
         "description": "Model type discriminator",
         "enum": [
            "pm",
            "PM"
         ],
         "title": "Model Type",
         "type": "string"
      }
   },
   "additionalProperties": false
}

Fields:
field model_type: Literal['pm', 'PM'] = 'pm'#

Model type discriminator