waveform_editor.base_waveform.BaseWaveform

class waveform_editor.base_waveform.BaseWaveform(yaml_str, name, dd_version)

Bases: ABC

__init__(yaml_str, name, dd_version)

Methods

__init__(yaml_str, name, dd_version)

get_metadata(dd_version)

Parses the name of the waveform and returns the IDS metadata for this waveform.

get_value([time])

get_yaml_string()

get_metadata(dd_version)

Parses the name of the waveform and returns the IDS metadata for this waveform. The name must be formatted as follows: <IDS-Name>/<IDS-path>

For example: ec_launchers/beam(2)/phase/angle

Parameters:
dd_version

Data dictionary version to create metadata for.

Returns:

The metadata of the IDS node, or None if it could not find it.


Last update: 2025-10-02