Links

Download DSP Data

Download output from a DSP block over all data in the training set, already sliced in windows. In Numpy binary format.
get
https://studio.edgeimpulse.com/v1
/api/{projectId}/dsp-data/{dspId}/x/{category}
Download DSP data

Download output from a DSP block over all data in the training set, already sliced in windows. In Numpy binary format.

Parameters
Path
projectId*
integer
Project ID
dspId*
integer
DSP Block ID, use the impulse functions to retrieve the ID
category*
string
Which of the three acquisition categories to download data from
Query
raw
boolean
Whether to download raw data or processed data. Processed data is the default.
Responses
200: OK
Numpy binary file
cURL
Python
Node.js
curl --request GET \
--url 'https://studio.edgeimpulse.com/v1/api/{projectId}/dsp-data/{dspId}/x/{category}?raw=SOME_BOOLEAN_VALUE' \
--header 'x-jwt-token: REPLACE_KEY_VALUE'
import http.client
conn = http.client.HTTPSConnection("studio.edgeimpulse.com")
headers = { 'x-jwt-token': "REPLACE_KEY_VALUE" }
conn.request("GET", "/v1/api/{projectId}/dsp-data/{dspId}/x/{category}?raw=SOME_BOOLEAN_VALUE", headers=headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
const request = require('request');
const options = {
method: 'GET',
url: 'https://studio.edgeimpulse.com/v1/api/{projectId}/dsp-data/{dspId}/x/{category}',
qs: {raw: 'SOME_BOOLEAN_VALUE'},
headers: {'x-jwt-token': 'REPLACE_KEY_VALUE'}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});