dsp_metadata_response module#

class edgeimpulse_api.models.dsp_metadata_response.DSPMetadataResponse(
*,
success: StrictBool,
error: StrictStr | None = None,
created: datetime,
dspConfig: Dict[str, StrictStr],
labels: List[StrictStr],
featureLabels: List[StrictStr] | None = None,
windowCount: StrictInt,
featureCount: StrictInt,
includedSamples: List[DSPMetadataIncludedSamplesInner],
windowSizeMs: StrictInt,
windowIncreaseMs: StrictInt,
padZeros: StrictBool,
frequency: float,
outputConfig: DSPMetadataOutputConfig,
fftUsed: List[StrictInt] | None = None,
resamplingAlgorithmVersion: float | None = None,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
created: datetime#
dsp_config: Dict[str, StrictStr]#
error: StrictStr | None#
feature_count: StrictInt#
feature_labels: List[StrictStr] | None#
fft_used: List[StrictInt] | None#
frequency: float#
classmethod from_dict(
obj: dict,
) DSPMetadataResponse[source]#

Create an instance of DSPMetadataResponse from a dict

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

Create an instance of DSPMetadataResponse from a JSON string

included_samples: List[DSPMetadataIncludedSamplesInner]#
labels: List[StrictStr]#
output_config: DSPMetadataOutputConfig#
pad_zeros: StrictBool#
resampling_algorithm_version: float | None#
success: StrictBool#
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_count: StrictInt#
window_increase_ms: StrictInt#
window_size_ms: StrictInt#