impulse_block_version module#

class edgeimpulse_api.models.impulse_block_version.ImpulseBlockVersion(
*,
id: StrictInt | None = None,
primaryVersion: StrictBool | None = None,
name: StrictStr | None = None,
description: StrictStr | None = None,
dsp: List[StrictInt] | None = None,
axes: List[StrictStr] | None = None,
input: StrictInt | None = None,
windowSizeMs: StrictInt | None = None,
windowIncreaseMs: StrictInt | None = None,
frequencyHz: float | None = None,
classificationWindowIncreaseMs: StrictInt | None = None,
padZeros: StrictBool | None = None,
imageWidth: StrictInt | None = None,
imageHeight: StrictInt | None = None,
resizeMode: StrictStr | None = None,
resizeMethod: StrictStr | None = None,
cropAnchor: StrictStr | None = None,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
axes: List[StrictStr] | None#
classification_window_increase_ms: StrictInt | None#
crop_anchor: StrictStr | None#
classmethod crop_anchor_validate_enum(v)[source]#
description: StrictStr | None#
dsp: List[StrictInt] | None#
frequency_hz: float | None#
classmethod from_dict(
obj: dict,
) ImpulseBlockVersion[source]#

Create an instance of ImpulseBlockVersion from a dict

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

Create an instance of ImpulseBlockVersion from a JSON string

id: StrictInt | None#
image_height: StrictInt | None#
image_width: StrictInt | None#
input: StrictInt | None#
name: StrictStr | None#
pad_zeros: StrictBool | None#
primary_version: StrictBool | None#
resize_method: StrictStr | None#
classmethod resize_method_validate_enum(v)[source]#
resize_mode: StrictStr | None#
classmethod resize_mode_validate_enum(v)[source]#
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

window_increase_ms: StrictInt | None#
window_size_ms: StrictInt | None#