Example: Add Shock Profiles
Last update: 17.07.2025Proto Request Example
{
"project": "Tutorial Project",
"shockProfiles": [
{
"phaseName": "On The Road",
"eventName": "2 - Pothole",
"profileName": "First Shock Profile",
"duration": 100,
"durationUnits": "sec",
"sampleRate": 1,
"sampleRateUnits": "sec",
"loadUnits": "in"/s2",
"freqUnits": "KHZ",
"shockProfileEntries": [
{
"shape": "Triangle",
"load": 15.0,
"freq": 10.0,
"decay": 5.0
},
{
"shape": "HalfSine",
"load": 10.0,
"freq": 100.0,
"decay": 4.0
}
]
},
{
"phaseName": "On The Road",
"eventName": "2 - Pothole",
"profileName": "First Shock Profile",
"duration": 100,
"durationUnits": "ms",
"sampleRate": 0.1,
"sampleRateUnits": "ms",
"loadUnits": "m/s2",
"freqUnits": "HZ",
"shockProfileEntries": [
{
"shape": "Triangle",
"load": 115.0,
"freq": 101.0,
"decay": 51.0
},
{
"shape": "HalfSine",
"load": 110.0,
"freq": 1010.0,
"decay": 41.0
}
]
}
]
}
Python Example
For a Python example, refer to the online PySherlock Reference.