DSPApi
- api_client=None
Methods
clear_dsp_block
- self
- project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Project ID’, extra=)]
- dsp_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘DSP Block ID, use the impulse functions to retrieve the ID’, extra=)]
- **kwargs
download_dsp_data
- self
- project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Project ID’, extra=)]
- dsp_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘DSP Block ID, use the impulse functions to retrieve the ID’, extra=)]
- category: Annotated[edgeimpulse_api.models.raw_data_category.RawDataCategory, FieldInfo(default=Ellipsis, description=‘Which of the three acquisition categories to download data from’, extra=)]
- raw: Annotated[pydantic.types.StrictBool | None, FieldInfo(default=PydanticUndefined, description=‘Whether to download raw data or processed data. Processed data is the default.’, extra=)] = None
- **kwargs
download_dsp_labels
- self
- project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Project ID’, extra=)]
- dsp_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘DSP Block ID, use the impulse functions to retrieve the ID’, extra=)]
- category: Annotated[edgeimpulse_api.models.raw_data_category.RawDataCategory, FieldInfo(default=Ellipsis, description=‘Which of the three acquisition categories to download data from’, extra=)]
- **kwargs
dsp_get_features_for_sample
- self
- project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Project ID’, extra=)]
- dsp_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘DSP Block ID, use the impulse functions to retrieve the ID’, extra=)]
- sample_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Sample ID’, extra=)]
- **kwargs
dsp_sample_trained_features
- self
- project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Project ID’, extra=)]
- dsp_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘DSP Block ID, use the impulse functions to retrieve the ID’, extra=)]
- feature_ax1: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Feature axis 1’, extra=)]
- feature_ax2: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Feature axis 2’, extra=)]
- feature_ax3: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Feature axis 3’, extra=)]
- category: Annotated[edgeimpulse_api.models.raw_data_category.RawDataCategory, FieldInfo(default=Ellipsis, description=‘Which of the three acquisition categories to download data from’, extra=)]
- **kwargs
get_autotuner_results
- self
- project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Project ID’, extra=)]
- dsp_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘DSP Block ID, use the impulse functions to retrieve the ID’, extra=)]
- **kwargs
get_dsp_config
- self
- project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Project ID’, extra=)]
- dsp_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘DSP Block ID, use the impulse functions to retrieve the ID’, extra=)]
- **kwargs
get_dsp_feature_importance
- self
- project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Project ID’, extra=)]
- dsp_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘DSP Block ID, use the impulse functions to retrieve the ID’, extra=)]
- **kwargs
get_dsp_feature_labels
- self
- project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Project ID’, extra=)]
- dsp_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘DSP Block ID, use the impulse functions to retrieve the ID’, extra=)]
- **kwargs
get_dsp_metadata
- self
- project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Project ID’, extra=)]
- dsp_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘DSP Block ID, use the impulse functions to retrieve the ID’, extra=)]
- exclude_included_samples: Annotated[pydantic.types.StrictBool | None, FieldInfo(default=PydanticUndefined, description=“Whether to exclude ‘includedSamples’ in the response (as these can slow down requests significantly).”, extra=)] = None
- category: Annotated[pydantic.types.StrictStr | None, FieldInfo(default=PydanticUndefined, description=‘Which of the acquisition categories to get metadata from’, extra=)] = None
- **kwargs
get_dsp_raw_sample
- self
- project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Project ID’, extra=)]
- dsp_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘DSP Block ID, use the impulse functions to retrieve the ID’, extra=)]
- sample_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Sample ID’, extra=)]
- limit_payload_values: Annotated[pydantic.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description=‘Limit the number of payload values in the response’, extra=)] = None
- truncate_structured_labels: Annotated[pydantic.types.StrictBool | None, FieldInfo(default=PydanticUndefined, description=‘If true, only a slice of labels will be returned for samples with multiple labels.’, extra=)] = None
- **kwargs
get_dsp_sample_slice
- self
- project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Project ID’, extra=)]
- dsp_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘DSP Block ID, use the impulse functions to retrieve the ID’, extra=)]
- sample_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Sample ID’, extra=)]
- slice_start: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Begin index of the slice’, extra=)]
- slice_end: Annotated[pydantic.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description=‘End index of the slice. If not given, the sample will be sliced to the same length as the impulse input block window length.’, extra=)] = None
- truncate_structured_labels: Annotated[pydantic.types.StrictBool | None, FieldInfo(default=PydanticUndefined, description=‘If true, only a slice of labels will be returned for samples with multiple labels.’, extra=)] = None
- **kwargs
get_performance_all_variants
- self
- project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Project ID’, extra=)]
- dsp_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘DSP Block ID, use the impulse functions to retrieve the ID’, extra=)]
- **kwargs
run_dsp_on_features_array
- self
- project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Project ID’, extra=)]
- dsp_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘DSP Block ID, use the impulse functions to retrieve the ID’, extra=)]
- dsp_run_request_with_features: edgeimpulse_api.models.dsp_run_request_with_features.DspRunRequestWithFeatures
- **kwargs
run_dsp_sample_slice
- self
- project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Project ID’, extra=)]
- dsp_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘DSP Block ID, use the impulse functions to retrieve the ID’, extra=)]
- sample_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Sample ID’, extra=)]
- slice_start: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Begin index of the slice’, extra=)]
- dsp_run_request_without_features: edgeimpulse_api.models.dsp_run_request_without_features.DspRunRequestWithoutFeatures
- slice_end: Annotated[pydantic.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description=‘End index of the slice. If not given, the sample will be sliced to the same length as the impulse input block window length.’, extra=)] = None
- **kwargs
run_dsp_sample_slice_read_only
- self
- project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Project ID’, extra=)]
- dsp_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘DSP Block ID, use the impulse functions to retrieve the ID’, extra=)]
- sample_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Sample ID’, extra=)]
- slice_start: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Begin index of the slice’, extra=)]
- slice_end: Annotated[pydantic.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description=‘End index of the slice. If not given, the sample will be sliced to the same length as the impulse input block window length.’, extra=)] = None
- **kwargs
set_dsp_config
- self
- project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Project ID’, extra=)]
- dsp_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘DSP Block ID, use the impulse functions to retrieve the ID’, extra=)]
- dsp_config_request: edgeimpulse_api.models.dsp_config_request.DSPConfigRequest
- **kwargs
start_profile_custom_dsp_block
hasTfliteImplementation
). Updates are streamed over the websocket API (or can be retrieved through the /stdout endpoint). Use getProfileTfliteJobResult to get the results when the job is completed.
Parameters
- self
- project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘Project ID’, extra=)]
- dsp_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description=‘DSP Block ID, use the impulse functions to retrieve the ID’, extra=)]
- dsp_run_request_without_features_read_only: edgeimpulse_api.models.dsp_run_request_without_features_read_only.DspRunRequestWithoutFeaturesReadOnly
- **kwargs