dsp_metadata

edgeimpulse_api v1.0.0

edgeimpulse_api.models.dsp_metadata module

class edgeimpulse_api.models.dsp_metadata.DSPMetadata(*, created: datetime, dspConfig: Dict[str, StrictStr], labels: List[StrictStr], featureLabels: Optional[List[StrictStr]] = None, windowCount: StrictInt, featureCount: StrictInt, includedSamples: List[DSPMetadataIncludedSamplesInner], windowSizeMs: StrictInt, windowIncreaseMs: StrictInt, padZeros: StrictBool, frequency: float, outputConfig: DSPMetadataOutputConfig, fftUsed: Optional[List[StrictInt]] = None)

Bases: BaseModel

class Config()

Bases: object

allow_population_by_field_name(_ = Tru_ )

validate_assignment(_ = Tru_ )

created(: datetim )

dsp_config(: Dict[str, StrictStr )

feature_count(: StrictIn )

feature_labels(: Optional[List[StrictStr] )

fft_used(: Optional[List[StrictInt] )

frequency(: floa )

classmethod from_dict(obj: dict)

Create an instance of DSPMetadata from a dict

classmethod from_json(json_str: str)

Create an instance of DSPMetadata from a JSON string

included_samples(: List[DSPMetadataIncludedSamplesInner )

labels(: List[StrictStr )

output_config(_: DSPMetadataOutputConfig

pad_zeros(: StrictBoo )

to_dict()

Returns the dictionary representation of the model using alias

to_json()

Returns the JSON representation of the model using alias

to_str()

Returns the string representation of the model using alias

window_count(: StrictIn )

window_increase_ms(: StrictIn )

window_size_ms(: StrictIn )

Last updated

Was this helpful?