dsp_run_graph module#

class edgeimpulse_api.models.dsp_run_graph.DspRunGraph(
*,
name: StrictStr,
image: StrictStr | None = None,
imageMimeType: StrictStr | None = None,
X: Dict[str, List[float]] | None = None,
y: List[float] | None = None,
suggestedXMin: float | None = None,
suggestedXMax: float | None = None,
suggestedYMin: float | None = None,
suggestedYMax: float | None = None,
type: StrictStr,
lineWidth: float | None = None,
smoothing: StrictBool | None = None,
axisLabels: DspRunGraphAxisLabels | None = None,
highlights: Dict[str, List[float]] | None = None,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
axis_labels: DspRunGraphAxisLabels | None#
classmethod from_dict(
obj: dict,
) DspRunGraph[source]#

Create an instance of DspRunGraph from a dict

classmethod from_json(
json_str: str,
) DspRunGraph[source]#

Create an instance of DspRunGraph from a JSON string

highlights: Dict[str, List[float]] | None#
image: StrictStr | None#
image_mime_type: StrictStr | None#
line_width: float | None#
name: StrictStr#
smoothing: StrictBool | None#
suggested_x_max: float | None#
suggested_x_min: float | None#
suggested_y_max: float | None#
suggested_y_min: float | None#
to_dict()[source]#

Returns the dictionary representation of the model using alias

to_json() str[source]#

Returns the JSON representation of the model using alias

to_str() str[source]#

Returns the string representation of the model using alias

type: StrictStr#
x: Dict[str, List[float]] | None#
y: List[float] | None#