rompy.swan.subcomponents.output.ABS#

pydantic model rompy.swan.subcomponents.output.ABS[source]#

Absolute frequency spectra.

ABS

Spectra are computed as a function of absolute frequency, i.e., the frequency as measured in a fixed point.

Examples

In [1]: from rompy.swan.subcomponents.output import ABS

In [2]: freq = ABS()

In [3]: print(freq.render())
ABS

Show JSON schema
{
   "title": "ABS",
   "description": "Absolute frequency spectra.\n\n.. code-block:: text\n\n    ABS\n\nSpectra are computed as a function of absolute frequency, i.e., the frequency as\nmeasured in a fixed point.\n\nExamples\n--------\n\n.. ipython:: python\n    :okwarning:\n\n    from rompy.swan.subcomponents.output import ABS\n    freq = ABS()\n    print(freq.render())",
   "type": "object",
   "properties": {
      "model_type": {
         "default": "abs",
         "description": "Model type discriminator",
         "enum": [
            "abs",
            "ABS"
         ],
         "title": "Model Type",
         "type": "string"
      }
   },
   "additionalProperties": false
}

Fields:
field model_type: Literal['abs', 'ABS'] = 'abs'#

Model type discriminator

cmd() str[source]#

Command file string for this subcomponent.