Impulse

Get impulse

Retrieve the impulse for this project. If you specify impulseId then that impulse is returned, otherwise the default impulse is returned.

get/api/{projectId}/impulse

Request

Path parameters

projectIdinteger required

Project ID

Query parameters

impulseIdinteger

Impulse ID. If this is unset then the default impulse is used.

Response

OK

successboolean required

Whether the operation succeeded

errorstring

Optional error description (set if 'success' was false)

Example response

{
  "impulse": {
    "inputBlocks": [
      {
        "name": "Time series",
        "title": "Time series",
        "axes": [
          "accX"
        ],
        "windowSizeMs": 2004,
        "frequencyHz": 60,
        "imageWidth": 28,
        "imageHeight": 28,
        "resizeMode": "squash",
        "resizeMethod": "squash",
        "cropAnchor": "middle-center",
        "createdBy": "createImpulse"
      }
    ],
    "dspBlocks": [
      {
        "type": "spectral-analysis",
        "name": "Spectral features",
        "axes": [
          "accX"
        ],
        "title": "Spectral Analysis",
        "valuesPerAxis": 11,
        "input": 1,
        "createdBy": "createImpulse"
      }
    ],
    "learnBlocks": [
      {
        "name": "NN Classifier",
        "dsp": [
          27
        ],
        "title": "Classification (Keras)",
        "createdBy": "createImpulse"
      }
    ],
    "postProcessingBlocks": [
      {
        "name": "Object tracking",
        "title": "Object tracking",
        "createdBy": "createImpulse"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.