A Capture Configuration describes the sensor settings that were used for a Capture file in your Project. All of the Captures in your project should have a Capture Configuration associated with them. Capture configurations are used to:
Maintain data providence and help you maintain your data collection strategy.
Enforce that data used in training a model was collected with consistent methodology.
The Capture Configuration is typically created by the Data Capture Lab when you begin collecting data. However, you can also generate Capture Configurations programmatically using the API methods.
client.list_capture_configurations() client.project._capture_configurations.create_capture_configuration(name, configuration, uuid)
- class sensiml.datamanager.capture_configurations.CaptureConfigurations(connection, project)
Base class for a collection of Captures.
Populates the function_list property from the server.
- create_capture_configuration(name, configuration, uuid=None)
Creates a capture object from the given filename and filepath.
name (str) – desired name of the file on the server
configuration (dict) – configuration file
uuid (str) – Specify the uuid this configuration will be created with
CaptureClonfigurationExistsError, if the Capture already exists on the server –
Gets a capture configuration object from the server using its name property.
name (str) – the capture configuration’s name
capture configuration object or None if it does not exist
Gets all capture configurations from the server.
list of capture configurations for the project
- class sensiml.datamanager.capture_configuration.CaptureConfiguration(connection, project, name='', uuid='', configuration=None, created_at=None, **kwargs)
Base class for a Capture.
- property configuration
The local or server path to the Capture file data
- property created_at
Date of the Pipeline creation
Calls the REST API to delete the capture from the server.
- classmethod initialize_from_dict(data)
Reads a dictionary or properties and populates a single capture.
capture_dict (dict) – contains the capture’s ‘name’ property
Calls the REST API to insert a new Capture.
Calls the REST API and self populates properties from the server.
Calls the REST API to update the capture.
- property uuid
Auto generated unique identifier for the Capture object