Is it possible to get DSP parameters using Edge Impulse API?

I would like to get the scale axes, fft length and other parameters of the spectrum analysis of my project, but I couldn’t find a way. Is it possible?

Hello @Vornit,

You’d first need to get the impulse of your project:

In python:

# Retrieve the Impulse information to extract dsp block ID
def get_impulse_info(project_id):
    url = f"{base_url}/{project_id}/impulse"
    response = requests.get(url, headers=headers)
    response.raise_for_status()
    return response.json()

impulse_info = get_impulse_info(EI_PROJECT_ID)
dsp_block_id = impulse_info["impulse"]["dspBlocks"][0]["id"]

And then you can request the DSP config:

I hope this helps.

Best,

Louis

This helped. Thanks a lot!