Update the sensor given by its id with the information in the body
curl --request PUT \
--url https://api.example.com/avx-sensorlabs/v6/sensors/{id} \
--header 'Content-Type: application/json' \
--data '
{
"metadata": {
"modelName": "<string>",
"manufacturer": "<string>",
"version": "<string>",
"comment": "<string>"
},
"name": "<string>",
"cameraModel": {
"thermalCameraModel": {},
"physicsBasedCameraModel": {
"description": "<string>",
"lensPhysicsBased": {
"coatingTransmissionDistribution": [
{
"item1": 123,
"item2": 123
}
],
"simpleChromaticAberration": {
"focalLength": 123,
"wavelengthOfFocalLength": 123,
"focalShift": 123
},
"advancedChromaticAberration": {
"spectralFocalLengthDistribution": [
{
"wavelength": 123,
"focalLength": 123
}
]
},
"circularAperture": {
"apertureArea": 123
},
"regularConvexPolygonAperture": {
"apertureArea": 123,
"offsetAngle": 123,
"edgeNumber": 123
}
},
"lensCommon": {
"fisheyeDistortion": {
"a1": 123,
"a2": 123,
"a3": 123,
"a4": 123,
"a5": 123
},
"brownDistortion": {
"k1": 123,
"k2": 123,
"k3": 123,
"p1": 123,
"p2": 123
},
"lensTransmission": "<string>",
"lensDistortionPath": "<string>",
"windshield": {
"upDownCurvature": 123,
"rightLeftCurvature": 123,
"distanceFromCamera": 123,
"thickness": 123,
"inclination": 123,
"spectralTransmissionDistribution": [
{
"item1": 123,
"item2": 123
}
],
"refractiveIndexDistribution": [
{
"item1": 123,
"item2": 123
}
]
}
},
"imagerPhysicsBased": {
"quantumEfficiencyDistribution": "<string>",
"bits": 123,
"exposureTime": 123,
"fullWellCapacity": 123,
"capacitance": 123,
"antiBloomingEfficiency": 123,
"cfaTransmittance": {
"redPixelTransmission": "<string>",
"greenPixelTransmission": "<string>",
"bluePixelTransmission": "<string>"
},
"readoutNoise": {
"readoutNoiseAverage": 123,
"readoutNoiseStandard": 123
},
"overallPixelFillFactor": 123,
"thermalNoiseSimple": {
"darkCurrentAverageValue": 123
},
"thermalNoiseAdvanced": {
"darkCurrentReferenceValue": 123,
"darkCurrentReferenceTemperature": 123,
"imagerTemperature": 123,
"darkCurrentCoefficient": 123
}
},
"protectedImagerPhysicsBased": "<string>",
"imagerCommon": {
"size": {
"width": 123,
"height": 123
},
"resolution": {
"width": 123,
"height": 123
},
"protectedSize": "<string>"
},
"customPostProcessing": {
"fragmentShader": "<string>"
}
}
},
"lidarModel": {
"rotatingLidar": {
"rotationSpeed": 123,
"emitter": {
"frequency": 123,
"wavelength": 123,
"extinctionCoefficient": 123,
"beamShape": {
"divergence": {
"horizontal": 123,
"vertical": 123
}
},
"firingSequenceFilePath": "<string>"
},
"receiver": {
"apertureArea": 123,
"photodetector": {
"responsivity": 123,
"maxCurrent": 123,
"noiseStandardDeviation": 123
},
"processor": {
"analogToDigitalConverter": {
"samplingFrequency": 123,
"bitResolution": 123
},
"maxReturns": 123,
"maxRange": 123
},
"lensDistortionPath": "<string>"
}
},
"flashLidar": {
"emitter": {
"frequency": 123,
"laserPulse": {
"peakPower": 123,
"duration": 123
},
"wavelength": 123,
"extinctionCoefficient": 123,
"gaussianBeamShape": {
"divergence": {
"horizontal": 123,
"vertical": 123
}
},
"beamShapeIdentity": {
"intensityFilePath": "<string>"
}
},
"receiver": {
"lensSystem": {
"apertureArea": 123,
"fieldOfView": {
"horizontal": 123,
"vertical": 123
},
"lensDistortion": {
"radialDistortion": {
"k1": 123,
"k2": 123,
"k3": 123
},
"tangentialDistortion": {
"p1": 123,
"p2": 123
},
"lensDistortionPath": "<string>"
}
},
"lidarResolutionInPixels": {
"horizontal": 123,
"vertical": 123
},
"photodetector": {
"responsivity": 123,
"maxCurrent": 123,
"noiseStandardDeviation": 123
},
"processor": {
"analogToDigitalConverter": {
"samplingFrequency": 123,
"bitResolution": 123
},
"maxReturns": 123,
"maxRange": 123
}
}
}
},
"radarModel": {
"txAntennas": [
{
"item1": 123,
"item2": {
"antenna": {
"beam": {
"halfPowerHorizontalWidth": 123,
"halfPowerVerticalWidth": 123
},
"patternIdentity": {
"antennaPatternFilePath": "<string>"
},
"realizedPeakGain": 123
},
"position": {
"x": 123,
"y": 123,
"z": 123
},
"orientation": {
"x": 123,
"y": 123,
"z": 123
}
}
}
],
"rxAntennas": [
{
"item1": 123,
"item2": {
"antenna": {
"beam": {
"halfPowerHorizontalWidth": 123,
"halfPowerVerticalWidth": 123
},
"patternIdentity": {
"antennaPatternFilePath": "<string>"
},
"realizedPeakGain": 123
},
"position": {
"x": 123,
"y": 123,
"z": 123
},
"orientation": {
"x": 123,
"y": 123,
"z": 123
}
}
}
],
"protectedTxAntennas": [
{
"item1": 123,
"item2": "<string>"
}
],
"protectedRxAntennas": [
{
"item1": 123,
"item2": "<string>"
}
],
"modes": [
{
"item1": 123,
"item2": {
"txAntennas": [
123
],
"rxAntennas": [
123
],
"startDelay": 123,
"waveform": {
"pulseDopplerWaveform": {
"systemPulseDopplerWaveform": {
"centerFrequency": 123,
"bandwidth": 123,
"numberOfFrequencySamples": 123,
"pulseInterval": 123,
"numberOfPulsesInCoherentProcessingInterval": 123
},
"performancePulseDopplerWaveform": {
"centerFrequency": 123,
"performance": {
"rangeResolution": 123,
"velocityResolution": 123,
"rangeAmbiguity": 123,
"velocityAmbiguity": 123
}
},
"arbitraryPulseDopplerWaveform": {
"pulseFile": "<string>",
"pulseFileId": "<string>"
}
},
"frequencyModulatedContinuousWaveform": {
"systemFrequencyModulatedContinuousWaveform": {
"centerFrequency": 123,
"bandwidth": 123,
"samplingRate": 123,
"numberOfSamplesPerChirp": 123,
"chirpInterval": 123,
"numberOfChirpsInCoherentProcessingInterval": 123
},
"performanceFrequencyModulatedContinuousWaveform": {
"centerFrequency": 123,
"samplingRate": 123,
"performance": {
"rangeResolution": 123,
"velocityResolution": 123,
"rangeAmbiguity": 123,
"velocityAmbiguity": 123
}
},
"arbitraryFrequencyModulatedContinuousWaveform": {
"chirpFile": "<string>",
"chirpFileId": "<string>"
}
}
},
"transmissionPower": 123,
"gain": 123,
"noiseStandardDeviation": 123,
"rangeDopplerProcessor": {
"rangePixels": 123,
"velocityPixels": 123,
"rangeWindow": {
"flatWindow": {},
"hammingWindow": {},
"hannWindow": {},
"taylorWindow": {
"sideLobeLevel": {
"value": 123
}
}
},
"velocityWindow": {
"flatWindow": {},
"hammingWindow": {},
"hannWindow": {},
"taylorWindow": {
"sideLobeLevel": {
"value": 123
}
}
},
"centerVelocity": 123
},
"transmitterWeightingSequenceFile": "<string>",
"propagation": {
"coherentProcessingInterval": 123
}
}
}
],
"protectedModes": [
{
"item1": 123,
"item2": {
"rangeDopplerProcessor": {
"rangePixels": 123,
"velocityPixels": 123,
"rangeWindow": {
"flatWindow": {},
"hammingWindow": {},
"hannWindow": {},
"taylorWindow": {
"sideLobeLevel": {
"value": 123
}
}
},
"velocityWindow": {
"flatWindow": {},
"hammingWindow": {},
"hannWindow": {},
"taylorWindow": {
"sideLobeLevel": {
"value": 123
}
}
},
"centerVelocity": 123
},
"protectModel": "<string>"
}
}
],
"antennaCopyParameters": {
"sourceAntenna": 123,
"destinationAntenna": 123
}
}
}
'import requests
url = "https://api.example.com/avx-sensorlabs/v6/sensors/{id}"
payload = {
"metadata": {
"modelName": "<string>",
"manufacturer": "<string>",
"version": "<string>",
"comment": "<string>"
},
"name": "<string>",
"cameraModel": {
"thermalCameraModel": {},
"physicsBasedCameraModel": {
"description": "<string>",
"lensPhysicsBased": {
"coatingTransmissionDistribution": [
{
"item1": 123,
"item2": 123
}
],
"simpleChromaticAberration": {
"focalLength": 123,
"wavelengthOfFocalLength": 123,
"focalShift": 123
},
"advancedChromaticAberration": { "spectralFocalLengthDistribution": [
{
"wavelength": 123,
"focalLength": 123
}
] },
"circularAperture": { "apertureArea": 123 },
"regularConvexPolygonAperture": {
"apertureArea": 123,
"offsetAngle": 123,
"edgeNumber": 123
}
},
"lensCommon": {
"fisheyeDistortion": {
"a1": 123,
"a2": 123,
"a3": 123,
"a4": 123,
"a5": 123
},
"brownDistortion": {
"k1": 123,
"k2": 123,
"k3": 123,
"p1": 123,
"p2": 123
},
"lensTransmission": "<string>",
"lensDistortionPath": "<string>",
"windshield": {
"upDownCurvature": 123,
"rightLeftCurvature": 123,
"distanceFromCamera": 123,
"thickness": 123,
"inclination": 123,
"spectralTransmissionDistribution": [
{
"item1": 123,
"item2": 123
}
],
"refractiveIndexDistribution": [
{
"item1": 123,
"item2": 123
}
]
}
},
"imagerPhysicsBased": {
"quantumEfficiencyDistribution": "<string>",
"bits": 123,
"exposureTime": 123,
"fullWellCapacity": 123,
"capacitance": 123,
"antiBloomingEfficiency": 123,
"cfaTransmittance": {
"redPixelTransmission": "<string>",
"greenPixelTransmission": "<string>",
"bluePixelTransmission": "<string>"
},
"readoutNoise": {
"readoutNoiseAverage": 123,
"readoutNoiseStandard": 123
},
"overallPixelFillFactor": 123,
"thermalNoiseSimple": { "darkCurrentAverageValue": 123 },
"thermalNoiseAdvanced": {
"darkCurrentReferenceValue": 123,
"darkCurrentReferenceTemperature": 123,
"imagerTemperature": 123,
"darkCurrentCoefficient": 123
}
},
"protectedImagerPhysicsBased": "<string>",
"imagerCommon": {
"size": {
"width": 123,
"height": 123
},
"resolution": {
"width": 123,
"height": 123
},
"protectedSize": "<string>"
},
"customPostProcessing": { "fragmentShader": "<string>" }
}
},
"lidarModel": {
"rotatingLidar": {
"rotationSpeed": 123,
"emitter": {
"frequency": 123,
"wavelength": 123,
"extinctionCoefficient": 123,
"beamShape": { "divergence": {
"horizontal": 123,
"vertical": 123
} },
"firingSequenceFilePath": "<string>"
},
"receiver": {
"apertureArea": 123,
"photodetector": {
"responsivity": 123,
"maxCurrent": 123,
"noiseStandardDeviation": 123
},
"processor": {
"analogToDigitalConverter": {
"samplingFrequency": 123,
"bitResolution": 123
},
"maxReturns": 123,
"maxRange": 123
},
"lensDistortionPath": "<string>"
}
},
"flashLidar": {
"emitter": {
"frequency": 123,
"laserPulse": {
"peakPower": 123,
"duration": 123
},
"wavelength": 123,
"extinctionCoefficient": 123,
"gaussianBeamShape": { "divergence": {
"horizontal": 123,
"vertical": 123
} },
"beamShapeIdentity": { "intensityFilePath": "<string>" }
},
"receiver": {
"lensSystem": {
"apertureArea": 123,
"fieldOfView": {
"horizontal": 123,
"vertical": 123
},
"lensDistortion": {
"radialDistortion": {
"k1": 123,
"k2": 123,
"k3": 123
},
"tangentialDistortion": {
"p1": 123,
"p2": 123
},
"lensDistortionPath": "<string>"
}
},
"lidarResolutionInPixels": {
"horizontal": 123,
"vertical": 123
},
"photodetector": {
"responsivity": 123,
"maxCurrent": 123,
"noiseStandardDeviation": 123
},
"processor": {
"analogToDigitalConverter": {
"samplingFrequency": 123,
"bitResolution": 123
},
"maxReturns": 123,
"maxRange": 123
}
}
}
},
"radarModel": {
"txAntennas": [
{
"item1": 123,
"item2": {
"antenna": {
"beam": {
"halfPowerHorizontalWidth": 123,
"halfPowerVerticalWidth": 123
},
"patternIdentity": { "antennaPatternFilePath": "<string>" },
"realizedPeakGain": 123
},
"position": {
"x": 123,
"y": 123,
"z": 123
},
"orientation": {
"x": 123,
"y": 123,
"z": 123
}
}
}
],
"rxAntennas": [
{
"item1": 123,
"item2": {
"antenna": {
"beam": {
"halfPowerHorizontalWidth": 123,
"halfPowerVerticalWidth": 123
},
"patternIdentity": { "antennaPatternFilePath": "<string>" },
"realizedPeakGain": 123
},
"position": {
"x": 123,
"y": 123,
"z": 123
},
"orientation": {
"x": 123,
"y": 123,
"z": 123
}
}
}
],
"protectedTxAntennas": [
{
"item1": 123,
"item2": "<string>"
}
],
"protectedRxAntennas": [
{
"item1": 123,
"item2": "<string>"
}
],
"modes": [
{
"item1": 123,
"item2": {
"txAntennas": [123],
"rxAntennas": [123],
"startDelay": 123,
"waveform": {
"pulseDopplerWaveform": {
"systemPulseDopplerWaveform": {
"centerFrequency": 123,
"bandwidth": 123,
"numberOfFrequencySamples": 123,
"pulseInterval": 123,
"numberOfPulsesInCoherentProcessingInterval": 123
},
"performancePulseDopplerWaveform": {
"centerFrequency": 123,
"performance": {
"rangeResolution": 123,
"velocityResolution": 123,
"rangeAmbiguity": 123,
"velocityAmbiguity": 123
}
},
"arbitraryPulseDopplerWaveform": {
"pulseFile": "<string>",
"pulseFileId": "<string>"
}
},
"frequencyModulatedContinuousWaveform": {
"systemFrequencyModulatedContinuousWaveform": {
"centerFrequency": 123,
"bandwidth": 123,
"samplingRate": 123,
"numberOfSamplesPerChirp": 123,
"chirpInterval": 123,
"numberOfChirpsInCoherentProcessingInterval": 123
},
"performanceFrequencyModulatedContinuousWaveform": {
"centerFrequency": 123,
"samplingRate": 123,
"performance": {
"rangeResolution": 123,
"velocityResolution": 123,
"rangeAmbiguity": 123,
"velocityAmbiguity": 123
}
},
"arbitraryFrequencyModulatedContinuousWaveform": {
"chirpFile": "<string>",
"chirpFileId": "<string>"
}
}
},
"transmissionPower": 123,
"gain": 123,
"noiseStandardDeviation": 123,
"rangeDopplerProcessor": {
"rangePixels": 123,
"velocityPixels": 123,
"rangeWindow": {
"flatWindow": {},
"hammingWindow": {},
"hannWindow": {},
"taylorWindow": { "sideLobeLevel": { "value": 123 } }
},
"velocityWindow": {
"flatWindow": {},
"hammingWindow": {},
"hannWindow": {},
"taylorWindow": { "sideLobeLevel": { "value": 123 } }
},
"centerVelocity": 123
},
"transmitterWeightingSequenceFile": "<string>",
"propagation": { "coherentProcessingInterval": 123 }
}
}
],
"protectedModes": [
{
"item1": 123,
"item2": {
"rangeDopplerProcessor": {
"rangePixels": 123,
"velocityPixels": 123,
"rangeWindow": {
"flatWindow": {},
"hammingWindow": {},
"hannWindow": {},
"taylorWindow": { "sideLobeLevel": { "value": 123 } }
},
"velocityWindow": {
"flatWindow": {},
"hammingWindow": {},
"hannWindow": {},
"taylorWindow": { "sideLobeLevel": { "value": 123 } }
},
"centerVelocity": 123
},
"protectModel": "<string>"
}
}
],
"antennaCopyParameters": {
"sourceAntenna": 123,
"destinationAntenna": 123
}
}
}
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
metadata: {
modelName: '<string>',
manufacturer: '<string>',
version: '<string>',
comment: '<string>'
},
name: '<string>',
cameraModel: {
thermalCameraModel: {},
physicsBasedCameraModel: {
description: '<string>',
lensPhysicsBased: {
coatingTransmissionDistribution: [{item1: 123, item2: 123}],
simpleChromaticAberration: {focalLength: 123, wavelengthOfFocalLength: 123, focalShift: 123},
advancedChromaticAberration: {spectralFocalLengthDistribution: [{wavelength: 123, focalLength: 123}]},
circularAperture: {apertureArea: 123},
regularConvexPolygonAperture: {apertureArea: 123, offsetAngle: 123, edgeNumber: 123}
},
lensCommon: {
fisheyeDistortion: {a1: 123, a2: 123, a3: 123, a4: 123, a5: 123},
brownDistortion: {k1: 123, k2: 123, k3: 123, p1: 123, p2: 123},
lensTransmission: '<string>',
lensDistortionPath: '<string>',
windshield: {
upDownCurvature: 123,
rightLeftCurvature: 123,
distanceFromCamera: 123,
thickness: 123,
inclination: 123,
spectralTransmissionDistribution: [{item1: 123, item2: 123}],
refractiveIndexDistribution: [{item1: 123, item2: 123}]
}
},
imagerPhysicsBased: {
quantumEfficiencyDistribution: '<string>',
bits: 123,
exposureTime: 123,
fullWellCapacity: 123,
capacitance: 123,
antiBloomingEfficiency: 123,
cfaTransmittance: {
redPixelTransmission: '<string>',
greenPixelTransmission: '<string>',
bluePixelTransmission: '<string>'
},
readoutNoise: {readoutNoiseAverage: 123, readoutNoiseStandard: 123},
overallPixelFillFactor: 123,
thermalNoiseSimple: {darkCurrentAverageValue: 123},
thermalNoiseAdvanced: {
darkCurrentReferenceValue: 123,
darkCurrentReferenceTemperature: 123,
imagerTemperature: 123,
darkCurrentCoefficient: 123
}
},
protectedImagerPhysicsBased: '<string>',
imagerCommon: {
size: {width: 123, height: 123},
resolution: {width: 123, height: 123},
protectedSize: '<string>'
},
customPostProcessing: {fragmentShader: '<string>'}
}
},
lidarModel: {
rotatingLidar: {
rotationSpeed: 123,
emitter: {
frequency: 123,
wavelength: 123,
extinctionCoefficient: 123,
beamShape: {divergence: {horizontal: 123, vertical: 123}},
firingSequenceFilePath: '<string>'
},
receiver: {
apertureArea: 123,
photodetector: {responsivity: 123, maxCurrent: 123, noiseStandardDeviation: 123},
processor: {
analogToDigitalConverter: {samplingFrequency: 123, bitResolution: 123},
maxReturns: 123,
maxRange: 123
},
lensDistortionPath: '<string>'
}
},
flashLidar: {
emitter: {
frequency: 123,
laserPulse: {peakPower: 123, duration: 123},
wavelength: 123,
extinctionCoefficient: 123,
gaussianBeamShape: {divergence: {horizontal: 123, vertical: 123}},
beamShapeIdentity: {intensityFilePath: '<string>'}
},
receiver: {
lensSystem: {
apertureArea: 123,
fieldOfView: {horizontal: 123, vertical: 123},
lensDistortion: {
radialDistortion: {k1: 123, k2: 123, k3: 123},
tangentialDistortion: {p1: 123, p2: 123},
lensDistortionPath: '<string>'
}
},
lidarResolutionInPixels: {horizontal: 123, vertical: 123},
photodetector: {responsivity: 123, maxCurrent: 123, noiseStandardDeviation: 123},
processor: {
analogToDigitalConverter: {samplingFrequency: 123, bitResolution: 123},
maxReturns: 123,
maxRange: 123
}
}
}
},
radarModel: {
txAntennas: [
{
item1: 123,
item2: {
antenna: {
beam: {halfPowerHorizontalWidth: 123, halfPowerVerticalWidth: 123},
patternIdentity: {antennaPatternFilePath: '<string>'},
realizedPeakGain: 123
},
position: {x: 123, y: 123, z: 123},
orientation: {x: 123, y: 123, z: 123}
}
}
],
rxAntennas: [
{
item1: 123,
item2: {
antenna: {
beam: {halfPowerHorizontalWidth: 123, halfPowerVerticalWidth: 123},
patternIdentity: {antennaPatternFilePath: '<string>'},
realizedPeakGain: 123
},
position: {x: 123, y: 123, z: 123},
orientation: {x: 123, y: 123, z: 123}
}
}
],
protectedTxAntennas: [{item1: 123, item2: '<string>'}],
protectedRxAntennas: [{item1: 123, item2: '<string>'}],
modes: [
{
item1: 123,
item2: {
txAntennas: [123],
rxAntennas: [123],
startDelay: 123,
waveform: {
pulseDopplerWaveform: {
systemPulseDopplerWaveform: {
centerFrequency: 123,
bandwidth: 123,
numberOfFrequencySamples: 123,
pulseInterval: 123,
numberOfPulsesInCoherentProcessingInterval: 123
},
performancePulseDopplerWaveform: {
centerFrequency: 123,
performance: {
rangeResolution: 123,
velocityResolution: 123,
rangeAmbiguity: 123,
velocityAmbiguity: 123
}
},
arbitraryPulseDopplerWaveform: {pulseFile: '<string>', pulseFileId: '<string>'}
},
frequencyModulatedContinuousWaveform: {
systemFrequencyModulatedContinuousWaveform: {
centerFrequency: 123,
bandwidth: 123,
samplingRate: 123,
numberOfSamplesPerChirp: 123,
chirpInterval: 123,
numberOfChirpsInCoherentProcessingInterval: 123
},
performanceFrequencyModulatedContinuousWaveform: {
centerFrequency: 123,
samplingRate: 123,
performance: {
rangeResolution: 123,
velocityResolution: 123,
rangeAmbiguity: 123,
velocityAmbiguity: 123
}
},
arbitraryFrequencyModulatedContinuousWaveform: {chirpFile: '<string>', chirpFileId: '<string>'}
}
},
transmissionPower: 123,
gain: 123,
noiseStandardDeviation: 123,
rangeDopplerProcessor: {
rangePixels: 123,
velocityPixels: 123,
rangeWindow: {
flatWindow: {},
hammingWindow: {},
hannWindow: {},
taylorWindow: {sideLobeLevel: {value: 123}}
},
velocityWindow: {
flatWindow: {},
hammingWindow: {},
hannWindow: {},
taylorWindow: {sideLobeLevel: {value: 123}}
},
centerVelocity: 123
},
transmitterWeightingSequenceFile: '<string>',
propagation: {coherentProcessingInterval: 123}
}
}
],
protectedModes: [
{
item1: 123,
item2: {
rangeDopplerProcessor: {
rangePixels: 123,
velocityPixels: 123,
rangeWindow: {
flatWindow: {},
hammingWindow: {},
hannWindow: {},
taylorWindow: {sideLobeLevel: {value: 123}}
},
velocityWindow: {
flatWindow: {},
hammingWindow: {},
hannWindow: {},
taylorWindow: {sideLobeLevel: {value: 123}}
},
centerVelocity: 123
},
protectModel: '<string>'
}
}
],
antennaCopyParameters: {sourceAntenna: 123, destinationAntenna: 123}
}
})
};
fetch('https://api.example.com/avx-sensorlabs/v6/sensors/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/avx-sensorlabs/v6/sensors/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'metadata' => [
'modelName' => '<string>',
'manufacturer' => '<string>',
'version' => '<string>',
'comment' => '<string>'
],
'name' => '<string>',
'cameraModel' => [
'thermalCameraModel' => [
],
'physicsBasedCameraModel' => [
'description' => '<string>',
'lensPhysicsBased' => [
'coatingTransmissionDistribution' => [
[
'item1' => 123,
'item2' => 123
]
],
'simpleChromaticAberration' => [
'focalLength' => 123,
'wavelengthOfFocalLength' => 123,
'focalShift' => 123
],
'advancedChromaticAberration' => [
'spectralFocalLengthDistribution' => [
[
'wavelength' => 123,
'focalLength' => 123
]
]
],
'circularAperture' => [
'apertureArea' => 123
],
'regularConvexPolygonAperture' => [
'apertureArea' => 123,
'offsetAngle' => 123,
'edgeNumber' => 123
]
],
'lensCommon' => [
'fisheyeDistortion' => [
'a1' => 123,
'a2' => 123,
'a3' => 123,
'a4' => 123,
'a5' => 123
],
'brownDistortion' => [
'k1' => 123,
'k2' => 123,
'k3' => 123,
'p1' => 123,
'p2' => 123
],
'lensTransmission' => '<string>',
'lensDistortionPath' => '<string>',
'windshield' => [
'upDownCurvature' => 123,
'rightLeftCurvature' => 123,
'distanceFromCamera' => 123,
'thickness' => 123,
'inclination' => 123,
'spectralTransmissionDistribution' => [
[
'item1' => 123,
'item2' => 123
]
],
'refractiveIndexDistribution' => [
[
'item1' => 123,
'item2' => 123
]
]
]
],
'imagerPhysicsBased' => [
'quantumEfficiencyDistribution' => '<string>',
'bits' => 123,
'exposureTime' => 123,
'fullWellCapacity' => 123,
'capacitance' => 123,
'antiBloomingEfficiency' => 123,
'cfaTransmittance' => [
'redPixelTransmission' => '<string>',
'greenPixelTransmission' => '<string>',
'bluePixelTransmission' => '<string>'
],
'readoutNoise' => [
'readoutNoiseAverage' => 123,
'readoutNoiseStandard' => 123
],
'overallPixelFillFactor' => 123,
'thermalNoiseSimple' => [
'darkCurrentAverageValue' => 123
],
'thermalNoiseAdvanced' => [
'darkCurrentReferenceValue' => 123,
'darkCurrentReferenceTemperature' => 123,
'imagerTemperature' => 123,
'darkCurrentCoefficient' => 123
]
],
'protectedImagerPhysicsBased' => '<string>',
'imagerCommon' => [
'size' => [
'width' => 123,
'height' => 123
],
'resolution' => [
'width' => 123,
'height' => 123
],
'protectedSize' => '<string>'
],
'customPostProcessing' => [
'fragmentShader' => '<string>'
]
]
],
'lidarModel' => [
'rotatingLidar' => [
'rotationSpeed' => 123,
'emitter' => [
'frequency' => 123,
'wavelength' => 123,
'extinctionCoefficient' => 123,
'beamShape' => [
'divergence' => [
'horizontal' => 123,
'vertical' => 123
]
],
'firingSequenceFilePath' => '<string>'
],
'receiver' => [
'apertureArea' => 123,
'photodetector' => [
'responsivity' => 123,
'maxCurrent' => 123,
'noiseStandardDeviation' => 123
],
'processor' => [
'analogToDigitalConverter' => [
'samplingFrequency' => 123,
'bitResolution' => 123
],
'maxReturns' => 123,
'maxRange' => 123
],
'lensDistortionPath' => '<string>'
]
],
'flashLidar' => [
'emitter' => [
'frequency' => 123,
'laserPulse' => [
'peakPower' => 123,
'duration' => 123
],
'wavelength' => 123,
'extinctionCoefficient' => 123,
'gaussianBeamShape' => [
'divergence' => [
'horizontal' => 123,
'vertical' => 123
]
],
'beamShapeIdentity' => [
'intensityFilePath' => '<string>'
]
],
'receiver' => [
'lensSystem' => [
'apertureArea' => 123,
'fieldOfView' => [
'horizontal' => 123,
'vertical' => 123
],
'lensDistortion' => [
'radialDistortion' => [
'k1' => 123,
'k2' => 123,
'k3' => 123
],
'tangentialDistortion' => [
'p1' => 123,
'p2' => 123
],
'lensDistortionPath' => '<string>'
]
],
'lidarResolutionInPixels' => [
'horizontal' => 123,
'vertical' => 123
],
'photodetector' => [
'responsivity' => 123,
'maxCurrent' => 123,
'noiseStandardDeviation' => 123
],
'processor' => [
'analogToDigitalConverter' => [
'samplingFrequency' => 123,
'bitResolution' => 123
],
'maxReturns' => 123,
'maxRange' => 123
]
]
]
],
'radarModel' => [
'txAntennas' => [
[
'item1' => 123,
'item2' => [
'antenna' => [
'beam' => [
'halfPowerHorizontalWidth' => 123,
'halfPowerVerticalWidth' => 123
],
'patternIdentity' => [
'antennaPatternFilePath' => '<string>'
],
'realizedPeakGain' => 123
],
'position' => [
'x' => 123,
'y' => 123,
'z' => 123
],
'orientation' => [
'x' => 123,
'y' => 123,
'z' => 123
]
]
]
],
'rxAntennas' => [
[
'item1' => 123,
'item2' => [
'antenna' => [
'beam' => [
'halfPowerHorizontalWidth' => 123,
'halfPowerVerticalWidth' => 123
],
'patternIdentity' => [
'antennaPatternFilePath' => '<string>'
],
'realizedPeakGain' => 123
],
'position' => [
'x' => 123,
'y' => 123,
'z' => 123
],
'orientation' => [
'x' => 123,
'y' => 123,
'z' => 123
]
]
]
],
'protectedTxAntennas' => [
[
'item1' => 123,
'item2' => '<string>'
]
],
'protectedRxAntennas' => [
[
'item1' => 123,
'item2' => '<string>'
]
],
'modes' => [
[
'item1' => 123,
'item2' => [
'txAntennas' => [
123
],
'rxAntennas' => [
123
],
'startDelay' => 123,
'waveform' => [
'pulseDopplerWaveform' => [
'systemPulseDopplerWaveform' => [
'centerFrequency' => 123,
'bandwidth' => 123,
'numberOfFrequencySamples' => 123,
'pulseInterval' => 123,
'numberOfPulsesInCoherentProcessingInterval' => 123
],
'performancePulseDopplerWaveform' => [
'centerFrequency' => 123,
'performance' => [
'rangeResolution' => 123,
'velocityResolution' => 123,
'rangeAmbiguity' => 123,
'velocityAmbiguity' => 123
]
],
'arbitraryPulseDopplerWaveform' => [
'pulseFile' => '<string>',
'pulseFileId' => '<string>'
]
],
'frequencyModulatedContinuousWaveform' => [
'systemFrequencyModulatedContinuousWaveform' => [
'centerFrequency' => 123,
'bandwidth' => 123,
'samplingRate' => 123,
'numberOfSamplesPerChirp' => 123,
'chirpInterval' => 123,
'numberOfChirpsInCoherentProcessingInterval' => 123
],
'performanceFrequencyModulatedContinuousWaveform' => [
'centerFrequency' => 123,
'samplingRate' => 123,
'performance' => [
'rangeResolution' => 123,
'velocityResolution' => 123,
'rangeAmbiguity' => 123,
'velocityAmbiguity' => 123
]
],
'arbitraryFrequencyModulatedContinuousWaveform' => [
'chirpFile' => '<string>',
'chirpFileId' => '<string>'
]
]
],
'transmissionPower' => 123,
'gain' => 123,
'noiseStandardDeviation' => 123,
'rangeDopplerProcessor' => [
'rangePixels' => 123,
'velocityPixels' => 123,
'rangeWindow' => [
'flatWindow' => [
],
'hammingWindow' => [
],
'hannWindow' => [
],
'taylorWindow' => [
'sideLobeLevel' => [
'value' => 123
]
]
],
'velocityWindow' => [
'flatWindow' => [
],
'hammingWindow' => [
],
'hannWindow' => [
],
'taylorWindow' => [
'sideLobeLevel' => [
'value' => 123
]
]
],
'centerVelocity' => 123
],
'transmitterWeightingSequenceFile' => '<string>',
'propagation' => [
'coherentProcessingInterval' => 123
]
]
]
],
'protectedModes' => [
[
'item1' => 123,
'item2' => [
'rangeDopplerProcessor' => [
'rangePixels' => 123,
'velocityPixels' => 123,
'rangeWindow' => [
'flatWindow' => [
],
'hammingWindow' => [
],
'hannWindow' => [
],
'taylorWindow' => [
'sideLobeLevel' => [
'value' => 123
]
]
],
'velocityWindow' => [
'flatWindow' => [
],
'hammingWindow' => [
],
'hannWindow' => [
],
'taylorWindow' => [
'sideLobeLevel' => [
'value' => 123
]
]
],
'centerVelocity' => 123
],
'protectModel' => '<string>'
]
]
],
'antennaCopyParameters' => [
'sourceAntenna' => 123,
'destinationAntenna' => 123
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/avx-sensorlabs/v6/sensors/{id}"
payload := strings.NewReader("{\n \"metadata\": {\n \"modelName\": \"<string>\",\n \"manufacturer\": \"<string>\",\n \"version\": \"<string>\",\n \"comment\": \"<string>\"\n },\n \"name\": \"<string>\",\n \"cameraModel\": {\n \"thermalCameraModel\": {},\n \"physicsBasedCameraModel\": {\n \"description\": \"<string>\",\n \"lensPhysicsBased\": {\n \"coatingTransmissionDistribution\": [\n {\n \"item1\": 123,\n \"item2\": 123\n }\n ],\n \"simpleChromaticAberration\": {\n \"focalLength\": 123,\n \"wavelengthOfFocalLength\": 123,\n \"focalShift\": 123\n },\n \"advancedChromaticAberration\": {\n \"spectralFocalLengthDistribution\": [\n {\n \"wavelength\": 123,\n \"focalLength\": 123\n }\n ]\n },\n \"circularAperture\": {\n \"apertureArea\": 123\n },\n \"regularConvexPolygonAperture\": {\n \"apertureArea\": 123,\n \"offsetAngle\": 123,\n \"edgeNumber\": 123\n }\n },\n \"lensCommon\": {\n \"fisheyeDistortion\": {\n \"a1\": 123,\n \"a2\": 123,\n \"a3\": 123,\n \"a4\": 123,\n \"a5\": 123\n },\n \"brownDistortion\": {\n \"k1\": 123,\n \"k2\": 123,\n \"k3\": 123,\n \"p1\": 123,\n \"p2\": 123\n },\n \"lensTransmission\": \"<string>\",\n \"lensDistortionPath\": \"<string>\",\n \"windshield\": {\n \"upDownCurvature\": 123,\n \"rightLeftCurvature\": 123,\n \"distanceFromCamera\": 123,\n \"thickness\": 123,\n \"inclination\": 123,\n \"spectralTransmissionDistribution\": [\n {\n \"item1\": 123,\n \"item2\": 123\n }\n ],\n \"refractiveIndexDistribution\": [\n {\n \"item1\": 123,\n \"item2\": 123\n }\n ]\n }\n },\n \"imagerPhysicsBased\": {\n \"quantumEfficiencyDistribution\": \"<string>\",\n \"bits\": 123,\n \"exposureTime\": 123,\n \"fullWellCapacity\": 123,\n \"capacitance\": 123,\n \"antiBloomingEfficiency\": 123,\n \"cfaTransmittance\": {\n \"redPixelTransmission\": \"<string>\",\n \"greenPixelTransmission\": \"<string>\",\n \"bluePixelTransmission\": \"<string>\"\n },\n \"readoutNoise\": {\n \"readoutNoiseAverage\": 123,\n \"readoutNoiseStandard\": 123\n },\n \"overallPixelFillFactor\": 123,\n \"thermalNoiseSimple\": {\n \"darkCurrentAverageValue\": 123\n },\n \"thermalNoiseAdvanced\": {\n \"darkCurrentReferenceValue\": 123,\n \"darkCurrentReferenceTemperature\": 123,\n \"imagerTemperature\": 123,\n \"darkCurrentCoefficient\": 123\n }\n },\n \"protectedImagerPhysicsBased\": \"<string>\",\n \"imagerCommon\": {\n \"size\": {\n \"width\": 123,\n \"height\": 123\n },\n \"resolution\": {\n \"width\": 123,\n \"height\": 123\n },\n \"protectedSize\": \"<string>\"\n },\n \"customPostProcessing\": {\n \"fragmentShader\": \"<string>\"\n }\n }\n },\n \"lidarModel\": {\n \"rotatingLidar\": {\n \"rotationSpeed\": 123,\n \"emitter\": {\n \"frequency\": 123,\n \"wavelength\": 123,\n \"extinctionCoefficient\": 123,\n \"beamShape\": {\n \"divergence\": {\n \"horizontal\": 123,\n \"vertical\": 123\n }\n },\n \"firingSequenceFilePath\": \"<string>\"\n },\n \"receiver\": {\n \"apertureArea\": 123,\n \"photodetector\": {\n \"responsivity\": 123,\n \"maxCurrent\": 123,\n \"noiseStandardDeviation\": 123\n },\n \"processor\": {\n \"analogToDigitalConverter\": {\n \"samplingFrequency\": 123,\n \"bitResolution\": 123\n },\n \"maxReturns\": 123,\n \"maxRange\": 123\n },\n \"lensDistortionPath\": \"<string>\"\n }\n },\n \"flashLidar\": {\n \"emitter\": {\n \"frequency\": 123,\n \"laserPulse\": {\n \"peakPower\": 123,\n \"duration\": 123\n },\n \"wavelength\": 123,\n \"extinctionCoefficient\": 123,\n \"gaussianBeamShape\": {\n \"divergence\": {\n \"horizontal\": 123,\n \"vertical\": 123\n }\n },\n \"beamShapeIdentity\": {\n \"intensityFilePath\": \"<string>\"\n }\n },\n \"receiver\": {\n \"lensSystem\": {\n \"apertureArea\": 123,\n \"fieldOfView\": {\n \"horizontal\": 123,\n \"vertical\": 123\n },\n \"lensDistortion\": {\n \"radialDistortion\": {\n \"k1\": 123,\n \"k2\": 123,\n \"k3\": 123\n },\n \"tangentialDistortion\": {\n \"p1\": 123,\n \"p2\": 123\n },\n \"lensDistortionPath\": \"<string>\"\n }\n },\n \"lidarResolutionInPixels\": {\n \"horizontal\": 123,\n \"vertical\": 123\n },\n \"photodetector\": {\n \"responsivity\": 123,\n \"maxCurrent\": 123,\n \"noiseStandardDeviation\": 123\n },\n \"processor\": {\n \"analogToDigitalConverter\": {\n \"samplingFrequency\": 123,\n \"bitResolution\": 123\n },\n \"maxReturns\": 123,\n \"maxRange\": 123\n }\n }\n }\n },\n \"radarModel\": {\n \"txAntennas\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"antenna\": {\n \"beam\": {\n \"halfPowerHorizontalWidth\": 123,\n \"halfPowerVerticalWidth\": 123\n },\n \"patternIdentity\": {\n \"antennaPatternFilePath\": \"<string>\"\n },\n \"realizedPeakGain\": 123\n },\n \"position\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n },\n \"orientation\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n }\n }\n }\n ],\n \"rxAntennas\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"antenna\": {\n \"beam\": {\n \"halfPowerHorizontalWidth\": 123,\n \"halfPowerVerticalWidth\": 123\n },\n \"patternIdentity\": {\n \"antennaPatternFilePath\": \"<string>\"\n },\n \"realizedPeakGain\": 123\n },\n \"position\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n },\n \"orientation\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n }\n }\n }\n ],\n \"protectedTxAntennas\": [\n {\n \"item1\": 123,\n \"item2\": \"<string>\"\n }\n ],\n \"protectedRxAntennas\": [\n {\n \"item1\": 123,\n \"item2\": \"<string>\"\n }\n ],\n \"modes\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"txAntennas\": [\n 123\n ],\n \"rxAntennas\": [\n 123\n ],\n \"startDelay\": 123,\n \"waveform\": {\n \"pulseDopplerWaveform\": {\n \"systemPulseDopplerWaveform\": {\n \"centerFrequency\": 123,\n \"bandwidth\": 123,\n \"numberOfFrequencySamples\": 123,\n \"pulseInterval\": 123,\n \"numberOfPulsesInCoherentProcessingInterval\": 123\n },\n \"performancePulseDopplerWaveform\": {\n \"centerFrequency\": 123,\n \"performance\": {\n \"rangeResolution\": 123,\n \"velocityResolution\": 123,\n \"rangeAmbiguity\": 123,\n \"velocityAmbiguity\": 123\n }\n },\n \"arbitraryPulseDopplerWaveform\": {\n \"pulseFile\": \"<string>\",\n \"pulseFileId\": \"<string>\"\n }\n },\n \"frequencyModulatedContinuousWaveform\": {\n \"systemFrequencyModulatedContinuousWaveform\": {\n \"centerFrequency\": 123,\n \"bandwidth\": 123,\n \"samplingRate\": 123,\n \"numberOfSamplesPerChirp\": 123,\n \"chirpInterval\": 123,\n \"numberOfChirpsInCoherentProcessingInterval\": 123\n },\n \"performanceFrequencyModulatedContinuousWaveform\": {\n \"centerFrequency\": 123,\n \"samplingRate\": 123,\n \"performance\": {\n \"rangeResolution\": 123,\n \"velocityResolution\": 123,\n \"rangeAmbiguity\": 123,\n \"velocityAmbiguity\": 123\n }\n },\n \"arbitraryFrequencyModulatedContinuousWaveform\": {\n \"chirpFile\": \"<string>\",\n \"chirpFileId\": \"<string>\"\n }\n }\n },\n \"transmissionPower\": 123,\n \"gain\": 123,\n \"noiseStandardDeviation\": 123,\n \"rangeDopplerProcessor\": {\n \"rangePixels\": 123,\n \"velocityPixels\": 123,\n \"rangeWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"velocityWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"centerVelocity\": 123\n },\n \"transmitterWeightingSequenceFile\": \"<string>\",\n \"propagation\": {\n \"coherentProcessingInterval\": 123\n }\n }\n }\n ],\n \"protectedModes\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"rangeDopplerProcessor\": {\n \"rangePixels\": 123,\n \"velocityPixels\": 123,\n \"rangeWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"velocityWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"centerVelocity\": 123\n },\n \"protectModel\": \"<string>\"\n }\n }\n ],\n \"antennaCopyParameters\": {\n \"sourceAntenna\": 123,\n \"destinationAntenna\": 123\n }\n }\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api.example.com/avx-sensorlabs/v6/sensors/{id}")
.header("Content-Type", "application/json")
.body("{\n \"metadata\": {\n \"modelName\": \"<string>\",\n \"manufacturer\": \"<string>\",\n \"version\": \"<string>\",\n \"comment\": \"<string>\"\n },\n \"name\": \"<string>\",\n \"cameraModel\": {\n \"thermalCameraModel\": {},\n \"physicsBasedCameraModel\": {\n \"description\": \"<string>\",\n \"lensPhysicsBased\": {\n \"coatingTransmissionDistribution\": [\n {\n \"item1\": 123,\n \"item2\": 123\n }\n ],\n \"simpleChromaticAberration\": {\n \"focalLength\": 123,\n \"wavelengthOfFocalLength\": 123,\n \"focalShift\": 123\n },\n \"advancedChromaticAberration\": {\n \"spectralFocalLengthDistribution\": [\n {\n \"wavelength\": 123,\n \"focalLength\": 123\n }\n ]\n },\n \"circularAperture\": {\n \"apertureArea\": 123\n },\n \"regularConvexPolygonAperture\": {\n \"apertureArea\": 123,\n \"offsetAngle\": 123,\n \"edgeNumber\": 123\n }\n },\n \"lensCommon\": {\n \"fisheyeDistortion\": {\n \"a1\": 123,\n \"a2\": 123,\n \"a3\": 123,\n \"a4\": 123,\n \"a5\": 123\n },\n \"brownDistortion\": {\n \"k1\": 123,\n \"k2\": 123,\n \"k3\": 123,\n \"p1\": 123,\n \"p2\": 123\n },\n \"lensTransmission\": \"<string>\",\n \"lensDistortionPath\": \"<string>\",\n \"windshield\": {\n \"upDownCurvature\": 123,\n \"rightLeftCurvature\": 123,\n \"distanceFromCamera\": 123,\n \"thickness\": 123,\n \"inclination\": 123,\n \"spectralTransmissionDistribution\": [\n {\n \"item1\": 123,\n \"item2\": 123\n }\n ],\n \"refractiveIndexDistribution\": [\n {\n \"item1\": 123,\n \"item2\": 123\n }\n ]\n }\n },\n \"imagerPhysicsBased\": {\n \"quantumEfficiencyDistribution\": \"<string>\",\n \"bits\": 123,\n \"exposureTime\": 123,\n \"fullWellCapacity\": 123,\n \"capacitance\": 123,\n \"antiBloomingEfficiency\": 123,\n \"cfaTransmittance\": {\n \"redPixelTransmission\": \"<string>\",\n \"greenPixelTransmission\": \"<string>\",\n \"bluePixelTransmission\": \"<string>\"\n },\n \"readoutNoise\": {\n \"readoutNoiseAverage\": 123,\n \"readoutNoiseStandard\": 123\n },\n \"overallPixelFillFactor\": 123,\n \"thermalNoiseSimple\": {\n \"darkCurrentAverageValue\": 123\n },\n \"thermalNoiseAdvanced\": {\n \"darkCurrentReferenceValue\": 123,\n \"darkCurrentReferenceTemperature\": 123,\n \"imagerTemperature\": 123,\n \"darkCurrentCoefficient\": 123\n }\n },\n \"protectedImagerPhysicsBased\": \"<string>\",\n \"imagerCommon\": {\n \"size\": {\n \"width\": 123,\n \"height\": 123\n },\n \"resolution\": {\n \"width\": 123,\n \"height\": 123\n },\n \"protectedSize\": \"<string>\"\n },\n \"customPostProcessing\": {\n \"fragmentShader\": \"<string>\"\n }\n }\n },\n \"lidarModel\": {\n \"rotatingLidar\": {\n \"rotationSpeed\": 123,\n \"emitter\": {\n \"frequency\": 123,\n \"wavelength\": 123,\n \"extinctionCoefficient\": 123,\n \"beamShape\": {\n \"divergence\": {\n \"horizontal\": 123,\n \"vertical\": 123\n }\n },\n \"firingSequenceFilePath\": \"<string>\"\n },\n \"receiver\": {\n \"apertureArea\": 123,\n \"photodetector\": {\n \"responsivity\": 123,\n \"maxCurrent\": 123,\n \"noiseStandardDeviation\": 123\n },\n \"processor\": {\n \"analogToDigitalConverter\": {\n \"samplingFrequency\": 123,\n \"bitResolution\": 123\n },\n \"maxReturns\": 123,\n \"maxRange\": 123\n },\n \"lensDistortionPath\": \"<string>\"\n }\n },\n \"flashLidar\": {\n \"emitter\": {\n \"frequency\": 123,\n \"laserPulse\": {\n \"peakPower\": 123,\n \"duration\": 123\n },\n \"wavelength\": 123,\n \"extinctionCoefficient\": 123,\n \"gaussianBeamShape\": {\n \"divergence\": {\n \"horizontal\": 123,\n \"vertical\": 123\n }\n },\n \"beamShapeIdentity\": {\n \"intensityFilePath\": \"<string>\"\n }\n },\n \"receiver\": {\n \"lensSystem\": {\n \"apertureArea\": 123,\n \"fieldOfView\": {\n \"horizontal\": 123,\n \"vertical\": 123\n },\n \"lensDistortion\": {\n \"radialDistortion\": {\n \"k1\": 123,\n \"k2\": 123,\n \"k3\": 123\n },\n \"tangentialDistortion\": {\n \"p1\": 123,\n \"p2\": 123\n },\n \"lensDistortionPath\": \"<string>\"\n }\n },\n \"lidarResolutionInPixels\": {\n \"horizontal\": 123,\n \"vertical\": 123\n },\n \"photodetector\": {\n \"responsivity\": 123,\n \"maxCurrent\": 123,\n \"noiseStandardDeviation\": 123\n },\n \"processor\": {\n \"analogToDigitalConverter\": {\n \"samplingFrequency\": 123,\n \"bitResolution\": 123\n },\n \"maxReturns\": 123,\n \"maxRange\": 123\n }\n }\n }\n },\n \"radarModel\": {\n \"txAntennas\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"antenna\": {\n \"beam\": {\n \"halfPowerHorizontalWidth\": 123,\n \"halfPowerVerticalWidth\": 123\n },\n \"patternIdentity\": {\n \"antennaPatternFilePath\": \"<string>\"\n },\n \"realizedPeakGain\": 123\n },\n \"position\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n },\n \"orientation\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n }\n }\n }\n ],\n \"rxAntennas\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"antenna\": {\n \"beam\": {\n \"halfPowerHorizontalWidth\": 123,\n \"halfPowerVerticalWidth\": 123\n },\n \"patternIdentity\": {\n \"antennaPatternFilePath\": \"<string>\"\n },\n \"realizedPeakGain\": 123\n },\n \"position\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n },\n \"orientation\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n }\n }\n }\n ],\n \"protectedTxAntennas\": [\n {\n \"item1\": 123,\n \"item2\": \"<string>\"\n }\n ],\n \"protectedRxAntennas\": [\n {\n \"item1\": 123,\n \"item2\": \"<string>\"\n }\n ],\n \"modes\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"txAntennas\": [\n 123\n ],\n \"rxAntennas\": [\n 123\n ],\n \"startDelay\": 123,\n \"waveform\": {\n \"pulseDopplerWaveform\": {\n \"systemPulseDopplerWaveform\": {\n \"centerFrequency\": 123,\n \"bandwidth\": 123,\n \"numberOfFrequencySamples\": 123,\n \"pulseInterval\": 123,\n \"numberOfPulsesInCoherentProcessingInterval\": 123\n },\n \"performancePulseDopplerWaveform\": {\n \"centerFrequency\": 123,\n \"performance\": {\n \"rangeResolution\": 123,\n \"velocityResolution\": 123,\n \"rangeAmbiguity\": 123,\n \"velocityAmbiguity\": 123\n }\n },\n \"arbitraryPulseDopplerWaveform\": {\n \"pulseFile\": \"<string>\",\n \"pulseFileId\": \"<string>\"\n }\n },\n \"frequencyModulatedContinuousWaveform\": {\n \"systemFrequencyModulatedContinuousWaveform\": {\n \"centerFrequency\": 123,\n \"bandwidth\": 123,\n \"samplingRate\": 123,\n \"numberOfSamplesPerChirp\": 123,\n \"chirpInterval\": 123,\n \"numberOfChirpsInCoherentProcessingInterval\": 123\n },\n \"performanceFrequencyModulatedContinuousWaveform\": {\n \"centerFrequency\": 123,\n \"samplingRate\": 123,\n \"performance\": {\n \"rangeResolution\": 123,\n \"velocityResolution\": 123,\n \"rangeAmbiguity\": 123,\n \"velocityAmbiguity\": 123\n }\n },\n \"arbitraryFrequencyModulatedContinuousWaveform\": {\n \"chirpFile\": \"<string>\",\n \"chirpFileId\": \"<string>\"\n }\n }\n },\n \"transmissionPower\": 123,\n \"gain\": 123,\n \"noiseStandardDeviation\": 123,\n \"rangeDopplerProcessor\": {\n \"rangePixels\": 123,\n \"velocityPixels\": 123,\n \"rangeWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"velocityWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"centerVelocity\": 123\n },\n \"transmitterWeightingSequenceFile\": \"<string>\",\n \"propagation\": {\n \"coherentProcessingInterval\": 123\n }\n }\n }\n ],\n \"protectedModes\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"rangeDopplerProcessor\": {\n \"rangePixels\": 123,\n \"velocityPixels\": 123,\n \"rangeWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"velocityWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"centerVelocity\": 123\n },\n \"protectModel\": \"<string>\"\n }\n }\n ],\n \"antennaCopyParameters\": {\n \"sourceAntenna\": 123,\n \"destinationAntenna\": 123\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/avx-sensorlabs/v6/sensors/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"metadata\": {\n \"modelName\": \"<string>\",\n \"manufacturer\": \"<string>\",\n \"version\": \"<string>\",\n \"comment\": \"<string>\"\n },\n \"name\": \"<string>\",\n \"cameraModel\": {\n \"thermalCameraModel\": {},\n \"physicsBasedCameraModel\": {\n \"description\": \"<string>\",\n \"lensPhysicsBased\": {\n \"coatingTransmissionDistribution\": [\n {\n \"item1\": 123,\n \"item2\": 123\n }\n ],\n \"simpleChromaticAberration\": {\n \"focalLength\": 123,\n \"wavelengthOfFocalLength\": 123,\n \"focalShift\": 123\n },\n \"advancedChromaticAberration\": {\n \"spectralFocalLengthDistribution\": [\n {\n \"wavelength\": 123,\n \"focalLength\": 123\n }\n ]\n },\n \"circularAperture\": {\n \"apertureArea\": 123\n },\n \"regularConvexPolygonAperture\": {\n \"apertureArea\": 123,\n \"offsetAngle\": 123,\n \"edgeNumber\": 123\n }\n },\n \"lensCommon\": {\n \"fisheyeDistortion\": {\n \"a1\": 123,\n \"a2\": 123,\n \"a3\": 123,\n \"a4\": 123,\n \"a5\": 123\n },\n \"brownDistortion\": {\n \"k1\": 123,\n \"k2\": 123,\n \"k3\": 123,\n \"p1\": 123,\n \"p2\": 123\n },\n \"lensTransmission\": \"<string>\",\n \"lensDistortionPath\": \"<string>\",\n \"windshield\": {\n \"upDownCurvature\": 123,\n \"rightLeftCurvature\": 123,\n \"distanceFromCamera\": 123,\n \"thickness\": 123,\n \"inclination\": 123,\n \"spectralTransmissionDistribution\": [\n {\n \"item1\": 123,\n \"item2\": 123\n }\n ],\n \"refractiveIndexDistribution\": [\n {\n \"item1\": 123,\n \"item2\": 123\n }\n ]\n }\n },\n \"imagerPhysicsBased\": {\n \"quantumEfficiencyDistribution\": \"<string>\",\n \"bits\": 123,\n \"exposureTime\": 123,\n \"fullWellCapacity\": 123,\n \"capacitance\": 123,\n \"antiBloomingEfficiency\": 123,\n \"cfaTransmittance\": {\n \"redPixelTransmission\": \"<string>\",\n \"greenPixelTransmission\": \"<string>\",\n \"bluePixelTransmission\": \"<string>\"\n },\n \"readoutNoise\": {\n \"readoutNoiseAverage\": 123,\n \"readoutNoiseStandard\": 123\n },\n \"overallPixelFillFactor\": 123,\n \"thermalNoiseSimple\": {\n \"darkCurrentAverageValue\": 123\n },\n \"thermalNoiseAdvanced\": {\n \"darkCurrentReferenceValue\": 123,\n \"darkCurrentReferenceTemperature\": 123,\n \"imagerTemperature\": 123,\n \"darkCurrentCoefficient\": 123\n }\n },\n \"protectedImagerPhysicsBased\": \"<string>\",\n \"imagerCommon\": {\n \"size\": {\n \"width\": 123,\n \"height\": 123\n },\n \"resolution\": {\n \"width\": 123,\n \"height\": 123\n },\n \"protectedSize\": \"<string>\"\n },\n \"customPostProcessing\": {\n \"fragmentShader\": \"<string>\"\n }\n }\n },\n \"lidarModel\": {\n \"rotatingLidar\": {\n \"rotationSpeed\": 123,\n \"emitter\": {\n \"frequency\": 123,\n \"wavelength\": 123,\n \"extinctionCoefficient\": 123,\n \"beamShape\": {\n \"divergence\": {\n \"horizontal\": 123,\n \"vertical\": 123\n }\n },\n \"firingSequenceFilePath\": \"<string>\"\n },\n \"receiver\": {\n \"apertureArea\": 123,\n \"photodetector\": {\n \"responsivity\": 123,\n \"maxCurrent\": 123,\n \"noiseStandardDeviation\": 123\n },\n \"processor\": {\n \"analogToDigitalConverter\": {\n \"samplingFrequency\": 123,\n \"bitResolution\": 123\n },\n \"maxReturns\": 123,\n \"maxRange\": 123\n },\n \"lensDistortionPath\": \"<string>\"\n }\n },\n \"flashLidar\": {\n \"emitter\": {\n \"frequency\": 123,\n \"laserPulse\": {\n \"peakPower\": 123,\n \"duration\": 123\n },\n \"wavelength\": 123,\n \"extinctionCoefficient\": 123,\n \"gaussianBeamShape\": {\n \"divergence\": {\n \"horizontal\": 123,\n \"vertical\": 123\n }\n },\n \"beamShapeIdentity\": {\n \"intensityFilePath\": \"<string>\"\n }\n },\n \"receiver\": {\n \"lensSystem\": {\n \"apertureArea\": 123,\n \"fieldOfView\": {\n \"horizontal\": 123,\n \"vertical\": 123\n },\n \"lensDistortion\": {\n \"radialDistortion\": {\n \"k1\": 123,\n \"k2\": 123,\n \"k3\": 123\n },\n \"tangentialDistortion\": {\n \"p1\": 123,\n \"p2\": 123\n },\n \"lensDistortionPath\": \"<string>\"\n }\n },\n \"lidarResolutionInPixels\": {\n \"horizontal\": 123,\n \"vertical\": 123\n },\n \"photodetector\": {\n \"responsivity\": 123,\n \"maxCurrent\": 123,\n \"noiseStandardDeviation\": 123\n },\n \"processor\": {\n \"analogToDigitalConverter\": {\n \"samplingFrequency\": 123,\n \"bitResolution\": 123\n },\n \"maxReturns\": 123,\n \"maxRange\": 123\n }\n }\n }\n },\n \"radarModel\": {\n \"txAntennas\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"antenna\": {\n \"beam\": {\n \"halfPowerHorizontalWidth\": 123,\n \"halfPowerVerticalWidth\": 123\n },\n \"patternIdentity\": {\n \"antennaPatternFilePath\": \"<string>\"\n },\n \"realizedPeakGain\": 123\n },\n \"position\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n },\n \"orientation\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n }\n }\n }\n ],\n \"rxAntennas\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"antenna\": {\n \"beam\": {\n \"halfPowerHorizontalWidth\": 123,\n \"halfPowerVerticalWidth\": 123\n },\n \"patternIdentity\": {\n \"antennaPatternFilePath\": \"<string>\"\n },\n \"realizedPeakGain\": 123\n },\n \"position\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n },\n \"orientation\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n }\n }\n }\n ],\n \"protectedTxAntennas\": [\n {\n \"item1\": 123,\n \"item2\": \"<string>\"\n }\n ],\n \"protectedRxAntennas\": [\n {\n \"item1\": 123,\n \"item2\": \"<string>\"\n }\n ],\n \"modes\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"txAntennas\": [\n 123\n ],\n \"rxAntennas\": [\n 123\n ],\n \"startDelay\": 123,\n \"waveform\": {\n \"pulseDopplerWaveform\": {\n \"systemPulseDopplerWaveform\": {\n \"centerFrequency\": 123,\n \"bandwidth\": 123,\n \"numberOfFrequencySamples\": 123,\n \"pulseInterval\": 123,\n \"numberOfPulsesInCoherentProcessingInterval\": 123\n },\n \"performancePulseDopplerWaveform\": {\n \"centerFrequency\": 123,\n \"performance\": {\n \"rangeResolution\": 123,\n \"velocityResolution\": 123,\n \"rangeAmbiguity\": 123,\n \"velocityAmbiguity\": 123\n }\n },\n \"arbitraryPulseDopplerWaveform\": {\n \"pulseFile\": \"<string>\",\n \"pulseFileId\": \"<string>\"\n }\n },\n \"frequencyModulatedContinuousWaveform\": {\n \"systemFrequencyModulatedContinuousWaveform\": {\n \"centerFrequency\": 123,\n \"bandwidth\": 123,\n \"samplingRate\": 123,\n \"numberOfSamplesPerChirp\": 123,\n \"chirpInterval\": 123,\n \"numberOfChirpsInCoherentProcessingInterval\": 123\n },\n \"performanceFrequencyModulatedContinuousWaveform\": {\n \"centerFrequency\": 123,\n \"samplingRate\": 123,\n \"performance\": {\n \"rangeResolution\": 123,\n \"velocityResolution\": 123,\n \"rangeAmbiguity\": 123,\n \"velocityAmbiguity\": 123\n }\n },\n \"arbitraryFrequencyModulatedContinuousWaveform\": {\n \"chirpFile\": \"<string>\",\n \"chirpFileId\": \"<string>\"\n }\n }\n },\n \"transmissionPower\": 123,\n \"gain\": 123,\n \"noiseStandardDeviation\": 123,\n \"rangeDopplerProcessor\": {\n \"rangePixels\": 123,\n \"velocityPixels\": 123,\n \"rangeWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"velocityWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"centerVelocity\": 123\n },\n \"transmitterWeightingSequenceFile\": \"<string>\",\n \"propagation\": {\n \"coherentProcessingInterval\": 123\n }\n }\n }\n ],\n \"protectedModes\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"rangeDopplerProcessor\": {\n \"rangePixels\": 123,\n \"velocityPixels\": 123,\n \"rangeWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"velocityWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"centerVelocity\": 123\n },\n \"protectModel\": \"<string>\"\n }\n }\n ],\n \"antennaCopyParameters\": {\n \"sourceAntenna\": 123,\n \"destinationAntenna\": 123\n }\n }\n}"
response = http.request(request)
puts response.read_bodyusing RestSharp;
var options = new RestClientOptions("https://api.example.com/avx-sensorlabs/v6/sensors/{id}");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddJsonBody("{\n \"metadata\": {\n \"modelName\": \"<string>\",\n \"manufacturer\": \"<string>\",\n \"version\": \"<string>\",\n \"comment\": \"<string>\"\n },\n \"name\": \"<string>\",\n \"cameraModel\": {\n \"thermalCameraModel\": {},\n \"physicsBasedCameraModel\": {\n \"description\": \"<string>\",\n \"lensPhysicsBased\": {\n \"coatingTransmissionDistribution\": [\n {\n \"item1\": 123,\n \"item2\": 123\n }\n ],\n \"simpleChromaticAberration\": {\n \"focalLength\": 123,\n \"wavelengthOfFocalLength\": 123,\n \"focalShift\": 123\n },\n \"advancedChromaticAberration\": {\n \"spectralFocalLengthDistribution\": [\n {\n \"wavelength\": 123,\n \"focalLength\": 123\n }\n ]\n },\n \"circularAperture\": {\n \"apertureArea\": 123\n },\n \"regularConvexPolygonAperture\": {\n \"apertureArea\": 123,\n \"offsetAngle\": 123,\n \"edgeNumber\": 123\n }\n },\n \"lensCommon\": {\n \"fisheyeDistortion\": {\n \"a1\": 123,\n \"a2\": 123,\n \"a3\": 123,\n \"a4\": 123,\n \"a5\": 123\n },\n \"brownDistortion\": {\n \"k1\": 123,\n \"k2\": 123,\n \"k3\": 123,\n \"p1\": 123,\n \"p2\": 123\n },\n \"lensTransmission\": \"<string>\",\n \"lensDistortionPath\": \"<string>\",\n \"windshield\": {\n \"upDownCurvature\": 123,\n \"rightLeftCurvature\": 123,\n \"distanceFromCamera\": 123,\n \"thickness\": 123,\n \"inclination\": 123,\n \"spectralTransmissionDistribution\": [\n {\n \"item1\": 123,\n \"item2\": 123\n }\n ],\n \"refractiveIndexDistribution\": [\n {\n \"item1\": 123,\n \"item2\": 123\n }\n ]\n }\n },\n \"imagerPhysicsBased\": {\n \"quantumEfficiencyDistribution\": \"<string>\",\n \"bits\": 123,\n \"exposureTime\": 123,\n \"fullWellCapacity\": 123,\n \"capacitance\": 123,\n \"antiBloomingEfficiency\": 123,\n \"cfaTransmittance\": {\n \"redPixelTransmission\": \"<string>\",\n \"greenPixelTransmission\": \"<string>\",\n \"bluePixelTransmission\": \"<string>\"\n },\n \"readoutNoise\": {\n \"readoutNoiseAverage\": 123,\n \"readoutNoiseStandard\": 123\n },\n \"overallPixelFillFactor\": 123,\n \"thermalNoiseSimple\": {\n \"darkCurrentAverageValue\": 123\n },\n \"thermalNoiseAdvanced\": {\n \"darkCurrentReferenceValue\": 123,\n \"darkCurrentReferenceTemperature\": 123,\n \"imagerTemperature\": 123,\n \"darkCurrentCoefficient\": 123\n }\n },\n \"protectedImagerPhysicsBased\": \"<string>\",\n \"imagerCommon\": {\n \"size\": {\n \"width\": 123,\n \"height\": 123\n },\n \"resolution\": {\n \"width\": 123,\n \"height\": 123\n },\n \"protectedSize\": \"<string>\"\n },\n \"customPostProcessing\": {\n \"fragmentShader\": \"<string>\"\n }\n }\n },\n \"lidarModel\": {\n \"rotatingLidar\": {\n \"rotationSpeed\": 123,\n \"emitter\": {\n \"frequency\": 123,\n \"wavelength\": 123,\n \"extinctionCoefficient\": 123,\n \"beamShape\": {\n \"divergence\": {\n \"horizontal\": 123,\n \"vertical\": 123\n }\n },\n \"firingSequenceFilePath\": \"<string>\"\n },\n \"receiver\": {\n \"apertureArea\": 123,\n \"photodetector\": {\n \"responsivity\": 123,\n \"maxCurrent\": 123,\n \"noiseStandardDeviation\": 123\n },\n \"processor\": {\n \"analogToDigitalConverter\": {\n \"samplingFrequency\": 123,\n \"bitResolution\": 123\n },\n \"maxReturns\": 123,\n \"maxRange\": 123\n },\n \"lensDistortionPath\": \"<string>\"\n }\n },\n \"flashLidar\": {\n \"emitter\": {\n \"frequency\": 123,\n \"laserPulse\": {\n \"peakPower\": 123,\n \"duration\": 123\n },\n \"wavelength\": 123,\n \"extinctionCoefficient\": 123,\n \"gaussianBeamShape\": {\n \"divergence\": {\n \"horizontal\": 123,\n \"vertical\": 123\n }\n },\n \"beamShapeIdentity\": {\n \"intensityFilePath\": \"<string>\"\n }\n },\n \"receiver\": {\n \"lensSystem\": {\n \"apertureArea\": 123,\n \"fieldOfView\": {\n \"horizontal\": 123,\n \"vertical\": 123\n },\n \"lensDistortion\": {\n \"radialDistortion\": {\n \"k1\": 123,\n \"k2\": 123,\n \"k3\": 123\n },\n \"tangentialDistortion\": {\n \"p1\": 123,\n \"p2\": 123\n },\n \"lensDistortionPath\": \"<string>\"\n }\n },\n \"lidarResolutionInPixels\": {\n \"horizontal\": 123,\n \"vertical\": 123\n },\n \"photodetector\": {\n \"responsivity\": 123,\n \"maxCurrent\": 123,\n \"noiseStandardDeviation\": 123\n },\n \"processor\": {\n \"analogToDigitalConverter\": {\n \"samplingFrequency\": 123,\n \"bitResolution\": 123\n },\n \"maxReturns\": 123,\n \"maxRange\": 123\n }\n }\n }\n },\n \"radarModel\": {\n \"txAntennas\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"antenna\": {\n \"beam\": {\n \"halfPowerHorizontalWidth\": 123,\n \"halfPowerVerticalWidth\": 123\n },\n \"patternIdentity\": {\n \"antennaPatternFilePath\": \"<string>\"\n },\n \"realizedPeakGain\": 123\n },\n \"position\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n },\n \"orientation\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n }\n }\n }\n ],\n \"rxAntennas\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"antenna\": {\n \"beam\": {\n \"halfPowerHorizontalWidth\": 123,\n \"halfPowerVerticalWidth\": 123\n },\n \"patternIdentity\": {\n \"antennaPatternFilePath\": \"<string>\"\n },\n \"realizedPeakGain\": 123\n },\n \"position\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n },\n \"orientation\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n }\n }\n }\n ],\n \"protectedTxAntennas\": [\n {\n \"item1\": 123,\n \"item2\": \"<string>\"\n }\n ],\n \"protectedRxAntennas\": [\n {\n \"item1\": 123,\n \"item2\": \"<string>\"\n }\n ],\n \"modes\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"txAntennas\": [\n 123\n ],\n \"rxAntennas\": [\n 123\n ],\n \"startDelay\": 123,\n \"waveform\": {\n \"pulseDopplerWaveform\": {\n \"systemPulseDopplerWaveform\": {\n \"centerFrequency\": 123,\n \"bandwidth\": 123,\n \"numberOfFrequencySamples\": 123,\n \"pulseInterval\": 123,\n \"numberOfPulsesInCoherentProcessingInterval\": 123\n },\n \"performancePulseDopplerWaveform\": {\n \"centerFrequency\": 123,\n \"performance\": {\n \"rangeResolution\": 123,\n \"velocityResolution\": 123,\n \"rangeAmbiguity\": 123,\n \"velocityAmbiguity\": 123\n }\n },\n \"arbitraryPulseDopplerWaveform\": {\n \"pulseFile\": \"<string>\",\n \"pulseFileId\": \"<string>\"\n }\n },\n \"frequencyModulatedContinuousWaveform\": {\n \"systemFrequencyModulatedContinuousWaveform\": {\n \"centerFrequency\": 123,\n \"bandwidth\": 123,\n \"samplingRate\": 123,\n \"numberOfSamplesPerChirp\": 123,\n \"chirpInterval\": 123,\n \"numberOfChirpsInCoherentProcessingInterval\": 123\n },\n \"performanceFrequencyModulatedContinuousWaveform\": {\n \"centerFrequency\": 123,\n \"samplingRate\": 123,\n \"performance\": {\n \"rangeResolution\": 123,\n \"velocityResolution\": 123,\n \"rangeAmbiguity\": 123,\n \"velocityAmbiguity\": 123\n }\n },\n \"arbitraryFrequencyModulatedContinuousWaveform\": {\n \"chirpFile\": \"<string>\",\n \"chirpFileId\": \"<string>\"\n }\n }\n },\n \"transmissionPower\": 123,\n \"gain\": 123,\n \"noiseStandardDeviation\": 123,\n \"rangeDopplerProcessor\": {\n \"rangePixels\": 123,\n \"velocityPixels\": 123,\n \"rangeWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"velocityWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"centerVelocity\": 123\n },\n \"transmitterWeightingSequenceFile\": \"<string>\",\n \"propagation\": {\n \"coherentProcessingInterval\": 123\n }\n }\n }\n ],\n \"protectedModes\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"rangeDopplerProcessor\": {\n \"rangePixels\": 123,\n \"velocityPixels\": 123,\n \"rangeWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"velocityWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"centerVelocity\": 123\n },\n \"protectModel\": \"<string>\"\n }\n }\n ],\n \"antennaCopyParameters\": {\n \"sourceAntenna\": 123,\n \"destinationAntenna\": 123\n }\n }\n}", false);
var response = await client.PutAsync(request);
Console.WriteLine("{0}", response.Content);
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "PUT");
curl_easy_setopt(hnd, CURLOPT_WRITEDATA, stdout);
curl_easy_setopt(hnd, CURLOPT_URL, "https://api.example.com/avx-sensorlabs/v6/sensors/{id}");
struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "Content-Type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);
curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n \"metadata\": {\n \"modelName\": \"<string>\",\n \"manufacturer\": \"<string>\",\n \"version\": \"<string>\",\n \"comment\": \"<string>\"\n },\n \"name\": \"<string>\",\n \"cameraModel\": {\n \"thermalCameraModel\": {},\n \"physicsBasedCameraModel\": {\n \"description\": \"<string>\",\n \"lensPhysicsBased\": {\n \"coatingTransmissionDistribution\": [\n {\n \"item1\": 123,\n \"item2\": 123\n }\n ],\n \"simpleChromaticAberration\": {\n \"focalLength\": 123,\n \"wavelengthOfFocalLength\": 123,\n \"focalShift\": 123\n },\n \"advancedChromaticAberration\": {\n \"spectralFocalLengthDistribution\": [\n {\n \"wavelength\": 123,\n \"focalLength\": 123\n }\n ]\n },\n \"circularAperture\": {\n \"apertureArea\": 123\n },\n \"regularConvexPolygonAperture\": {\n \"apertureArea\": 123,\n \"offsetAngle\": 123,\n \"edgeNumber\": 123\n }\n },\n \"lensCommon\": {\n \"fisheyeDistortion\": {\n \"a1\": 123,\n \"a2\": 123,\n \"a3\": 123,\n \"a4\": 123,\n \"a5\": 123\n },\n \"brownDistortion\": {\n \"k1\": 123,\n \"k2\": 123,\n \"k3\": 123,\n \"p1\": 123,\n \"p2\": 123\n },\n \"lensTransmission\": \"<string>\",\n \"lensDistortionPath\": \"<string>\",\n \"windshield\": {\n \"upDownCurvature\": 123,\n \"rightLeftCurvature\": 123,\n \"distanceFromCamera\": 123,\n \"thickness\": 123,\n \"inclination\": 123,\n \"spectralTransmissionDistribution\": [\n {\n \"item1\": 123,\n \"item2\": 123\n }\n ],\n \"refractiveIndexDistribution\": [\n {\n \"item1\": 123,\n \"item2\": 123\n }\n ]\n }\n },\n \"imagerPhysicsBased\": {\n \"quantumEfficiencyDistribution\": \"<string>\",\n \"bits\": 123,\n \"exposureTime\": 123,\n \"fullWellCapacity\": 123,\n \"capacitance\": 123,\n \"antiBloomingEfficiency\": 123,\n \"cfaTransmittance\": {\n \"redPixelTransmission\": \"<string>\",\n \"greenPixelTransmission\": \"<string>\",\n \"bluePixelTransmission\": \"<string>\"\n },\n \"readoutNoise\": {\n \"readoutNoiseAverage\": 123,\n \"readoutNoiseStandard\": 123\n },\n \"overallPixelFillFactor\": 123,\n \"thermalNoiseSimple\": {\n \"darkCurrentAverageValue\": 123\n },\n \"thermalNoiseAdvanced\": {\n \"darkCurrentReferenceValue\": 123,\n \"darkCurrentReferenceTemperature\": 123,\n \"imagerTemperature\": 123,\n \"darkCurrentCoefficient\": 123\n }\n },\n \"protectedImagerPhysicsBased\": \"<string>\",\n \"imagerCommon\": {\n \"size\": {\n \"width\": 123,\n \"height\": 123\n },\n \"resolution\": {\n \"width\": 123,\n \"height\": 123\n },\n \"protectedSize\": \"<string>\"\n },\n \"customPostProcessing\": {\n \"fragmentShader\": \"<string>\"\n }\n }\n },\n \"lidarModel\": {\n \"rotatingLidar\": {\n \"rotationSpeed\": 123,\n \"emitter\": {\n \"frequency\": 123,\n \"wavelength\": 123,\n \"extinctionCoefficient\": 123,\n \"beamShape\": {\n \"divergence\": {\n \"horizontal\": 123,\n \"vertical\": 123\n }\n },\n \"firingSequenceFilePath\": \"<string>\"\n },\n \"receiver\": {\n \"apertureArea\": 123,\n \"photodetector\": {\n \"responsivity\": 123,\n \"maxCurrent\": 123,\n \"noiseStandardDeviation\": 123\n },\n \"processor\": {\n \"analogToDigitalConverter\": {\n \"samplingFrequency\": 123,\n \"bitResolution\": 123\n },\n \"maxReturns\": 123,\n \"maxRange\": 123\n },\n \"lensDistortionPath\": \"<string>\"\n }\n },\n \"flashLidar\": {\n \"emitter\": {\n \"frequency\": 123,\n \"laserPulse\": {\n \"peakPower\": 123,\n \"duration\": 123\n },\n \"wavelength\": 123,\n \"extinctionCoefficient\": 123,\n \"gaussianBeamShape\": {\n \"divergence\": {\n \"horizontal\": 123,\n \"vertical\": 123\n }\n },\n \"beamShapeIdentity\": {\n \"intensityFilePath\": \"<string>\"\n }\n },\n \"receiver\": {\n \"lensSystem\": {\n \"apertureArea\": 123,\n \"fieldOfView\": {\n \"horizontal\": 123,\n \"vertical\": 123\n },\n \"lensDistortion\": {\n \"radialDistortion\": {\n \"k1\": 123,\n \"k2\": 123,\n \"k3\": 123\n },\n \"tangentialDistortion\": {\n \"p1\": 123,\n \"p2\": 123\n },\n \"lensDistortionPath\": \"<string>\"\n }\n },\n \"lidarResolutionInPixels\": {\n \"horizontal\": 123,\n \"vertical\": 123\n },\n \"photodetector\": {\n \"responsivity\": 123,\n \"maxCurrent\": 123,\n \"noiseStandardDeviation\": 123\n },\n \"processor\": {\n \"analogToDigitalConverter\": {\n \"samplingFrequency\": 123,\n \"bitResolution\": 123\n },\n \"maxReturns\": 123,\n \"maxRange\": 123\n }\n }\n }\n },\n \"radarModel\": {\n \"txAntennas\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"antenna\": {\n \"beam\": {\n \"halfPowerHorizontalWidth\": 123,\n \"halfPowerVerticalWidth\": 123\n },\n \"patternIdentity\": {\n \"antennaPatternFilePath\": \"<string>\"\n },\n \"realizedPeakGain\": 123\n },\n \"position\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n },\n \"orientation\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n }\n }\n }\n ],\n \"rxAntennas\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"antenna\": {\n \"beam\": {\n \"halfPowerHorizontalWidth\": 123,\n \"halfPowerVerticalWidth\": 123\n },\n \"patternIdentity\": {\n \"antennaPatternFilePath\": \"<string>\"\n },\n \"realizedPeakGain\": 123\n },\n \"position\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n },\n \"orientation\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n }\n }\n }\n ],\n \"protectedTxAntennas\": [\n {\n \"item1\": 123,\n \"item2\": \"<string>\"\n }\n ],\n \"protectedRxAntennas\": [\n {\n \"item1\": 123,\n \"item2\": \"<string>\"\n }\n ],\n \"modes\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"txAntennas\": [\n 123\n ],\n \"rxAntennas\": [\n 123\n ],\n \"startDelay\": 123,\n \"waveform\": {\n \"pulseDopplerWaveform\": {\n \"systemPulseDopplerWaveform\": {\n \"centerFrequency\": 123,\n \"bandwidth\": 123,\n \"numberOfFrequencySamples\": 123,\n \"pulseInterval\": 123,\n \"numberOfPulsesInCoherentProcessingInterval\": 123\n },\n \"performancePulseDopplerWaveform\": {\n \"centerFrequency\": 123,\n \"performance\": {\n \"rangeResolution\": 123,\n \"velocityResolution\": 123,\n \"rangeAmbiguity\": 123,\n \"velocityAmbiguity\": 123\n }\n },\n \"arbitraryPulseDopplerWaveform\": {\n \"pulseFile\": \"<string>\",\n \"pulseFileId\": \"<string>\"\n }\n },\n \"frequencyModulatedContinuousWaveform\": {\n \"systemFrequencyModulatedContinuousWaveform\": {\n \"centerFrequency\": 123,\n \"bandwidth\": 123,\n \"samplingRate\": 123,\n \"numberOfSamplesPerChirp\": 123,\n \"chirpInterval\": 123,\n \"numberOfChirpsInCoherentProcessingInterval\": 123\n },\n \"performanceFrequencyModulatedContinuousWaveform\": {\n \"centerFrequency\": 123,\n \"samplingRate\": 123,\n \"performance\": {\n \"rangeResolution\": 123,\n \"velocityResolution\": 123,\n \"rangeAmbiguity\": 123,\n \"velocityAmbiguity\": 123\n }\n },\n \"arbitraryFrequencyModulatedContinuousWaveform\": {\n \"chirpFile\": \"<string>\",\n \"chirpFileId\": \"<string>\"\n }\n }\n },\n \"transmissionPower\": 123,\n \"gain\": 123,\n \"noiseStandardDeviation\": 123,\n \"rangeDopplerProcessor\": {\n \"rangePixels\": 123,\n \"velocityPixels\": 123,\n \"rangeWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"velocityWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"centerVelocity\": 123\n },\n \"transmitterWeightingSequenceFile\": \"<string>\",\n \"propagation\": {\n \"coherentProcessingInterval\": 123\n }\n }\n }\n ],\n \"protectedModes\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"rangeDopplerProcessor\": {\n \"rangePixels\": 123,\n \"velocityPixels\": 123,\n \"rangeWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"velocityWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"centerVelocity\": 123\n },\n \"protectModel\": \"<string>\"\n }\n }\n ],\n \"antennaCopyParameters\": {\n \"sourceAntenna\": 123,\n \"destinationAntenna\": 123\n }\n }\n}");
CURLcode ret = curl_easy_perform(hnd);{
"sensorData": {
"metadata": {
"modelName": "<string>",
"manufacturer": "<string>",
"version": "<string>",
"comment": "<string>",
"sensorType": "Camera",
"compatibility": "None"
},
"name": "<string>",
"cameraModel": {
"thermalCameraModel": {},
"physicsBasedCameraModel": {
"description": "<string>",
"lensPhysicsBased": {
"coatingTransmissionDistribution": [
{
"item1": 123,
"item2": 123
}
],
"simpleChromaticAberration": {
"focalLength": 123,
"wavelengthOfFocalLength": 123,
"chromaticDispersion": "None",
"focalShift": 123
},
"advancedChromaticAberration": {
"spectralFocalLengthDistribution": [
{
"wavelength": 123,
"focalLength": 123
}
]
},
"circularAperture": {
"apertureArea": 123
},
"regularConvexPolygonAperture": {
"apertureArea": 123,
"offsetAngle": 123,
"edgeNumber": 123
}
},
"lensCommon": {
"fisheyeDistortion": {
"a1": 123,
"a2": 123,
"a3": 123,
"a4": 123,
"a5": 123
},
"brownDistortion": {
"k1": 123,
"k2": 123,
"k3": 123,
"p1": 123,
"p2": 123
},
"lensTransmission": "<string>",
"lensDistortionPath": "<string>",
"windshield": {
"upDownCurvature": 123,
"rightLeftCurvature": 123,
"distanceFromCamera": 123,
"thickness": 123,
"inclination": 123,
"spectralTransmissionDistribution": [
{
"item1": 123,
"item2": 123
}
],
"refractiveIndexDistribution": [
{
"item1": 123,
"item2": 123
}
]
}
},
"imagerPhysicsBased": {
"quantumEfficiencyDistribution": "<string>",
"bits": 123,
"exposureTime": 123,
"fullWellCapacity": 123,
"capacitance": 123,
"antiBloomingEfficiency": 123,
"cfaTransmittance": {
"redPixelTransmission": "<string>",
"greenPixelTransmission": "<string>",
"bluePixelTransmission": "<string>"
},
"readoutNoise": {
"readoutNoiseAverage": 123,
"readoutNoiseStandard": 123
},
"overallPixelFillFactor": 123,
"thermalNoiseSimple": {
"darkCurrentAverageValue": 123
},
"thermalNoiseAdvanced": {
"darkCurrentReferenceValue": 123,
"darkCurrentReferenceTemperature": 123,
"imagerTemperature": 123,
"darkCurrentCoefficient": 123
}
},
"protectedImagerPhysicsBased": "<string>",
"imagerCommon": {
"size": {
"width": 123,
"height": 123
},
"resolution": {
"width": 123,
"height": 123
},
"protectedSize": "<string>"
},
"electronics": {
"demosaicingConversion": {
"bitDepthReduction": 123,
"gammaCorrection": 123
},
"gain": 123,
"frameRate": 123,
"diffractionSpike": true,
"injectionConversion": {
"timeEncoding": {
"row": 123,
"column": 123,
"injectionTime": 123
}
}
},
"sensorOutput": "CameraOutput",
"customPostProcessing": {
"fragmentShader": "<string>",
"outputEncodingFormat": "Gray8"
}
}
},
"lidarModel": {
"rotatingLidar": {
"rotationSpeed": 123,
"emitter": {
"frequency": 123,
"wavelength": 123,
"extinctionCoefficient": 123,
"beamShape": {
"divergence": {
"horizontal": 123,
"vertical": 123
}
},
"firingSequenceFilePath": "<string>"
},
"receiver": {
"apertureArea": 123,
"photodetector": {
"responsivity": 123,
"maxCurrent": 123,
"noiseStandardDeviation": 123
},
"processor": {
"analogToDigitalConverter": {
"samplingFrequency": 123,
"bitResolution": 123
},
"maxReturns": 123,
"maxRange": 123
},
"lensDistortionPath": "<string>"
},
"sensorOutput": "LidarOutput"
},
"flashLidar": {
"emitter": {
"frequency": 123,
"laserPulse": {
"shape": "Gaussian",
"peakPower": 123,
"duration": 123
},
"wavelength": 123,
"extinctionCoefficient": 123,
"gaussianBeamShape": {
"divergence": {
"horizontal": 123,
"vertical": 123
}
},
"beamShapeIdentity": {
"intensityFilePath": "<string>"
}
},
"receiver": {
"lensSystem": {
"apertureArea": 123,
"fieldOfView": {
"horizontal": 123,
"vertical": 123
},
"lensDistortion": {
"radialDistortion": {
"k1": 123,
"k2": 123,
"k3": 123
},
"tangentialDistortion": {
"p1": 123,
"p2": 123
},
"lensDistortionPath": "<string>"
}
},
"lidarResolutionInPixels": {
"horizontal": 123,
"vertical": 123
},
"photodetector": {
"responsivity": 123,
"maxCurrent": 123,
"noiseStandardDeviation": 123
},
"processor": {
"analogToDigitalConverter": {
"samplingFrequency": 123,
"bitResolution": 123
},
"maxReturns": 123,
"maxRange": 123
}
},
"sensorOutput": "LidarOutput"
}
},
"radarModel": {
"txAntennas": [
{
"item1": 123,
"item2": {
"antenna": {
"beam": {
"polarization": "Vertical",
"halfPowerHorizontalWidth": 123,
"halfPowerVerticalWidth": 123
},
"patternIdentity": {
"antennaPatternFilePath": "<string>"
},
"realizedPeakGain": 123
},
"position": {
"x": 123,
"y": 123,
"z": 123
},
"orientation": {
"x": 123,
"y": 123,
"z": 123
}
}
}
],
"rxAntennas": [
{
"item1": 123,
"item2": {
"antenna": {
"beam": {
"polarization": "Vertical",
"halfPowerHorizontalWidth": 123,
"halfPowerVerticalWidth": 123
},
"patternIdentity": {
"antennaPatternFilePath": "<string>"
},
"realizedPeakGain": 123
},
"position": {
"x": 123,
"y": 123,
"z": 123
},
"orientation": {
"x": 123,
"y": 123,
"z": 123
}
}
}
],
"protectedTxAntennas": [
{
"item1": 123,
"item2": "<string>"
}
],
"protectedRxAntennas": [
{
"item1": 123,
"item2": "<string>"
}
],
"modes": [
{
"item1": 123,
"item2": {
"txAntennas": [
123
],
"rxAntennas": [
123
],
"startDelay": 123,
"waveform": {
"pulseDopplerWaveform": {
"systemPulseDopplerWaveform": {
"centerFrequency": 123,
"bandwidth": 123,
"numberOfFrequencySamples": 123,
"pulseInterval": 123,
"numberOfPulsesInCoherentProcessingInterval": 123
},
"performancePulseDopplerWaveform": {
"centerFrequency": 123,
"performance": {
"rangeResolution": 123,
"velocityResolution": 123,
"rangeAmbiguity": 123,
"velocityAmbiguity": 123
}
},
"arbitraryPulseDopplerWaveform": {
"pulseFile": "<string>",
"pulseFileId": "<string>"
}
},
"frequencyModulatedContinuousWaveform": {
"systemFrequencyModulatedContinuousWaveform": {
"centerFrequency": 123,
"bandwidth": 123,
"samplingRate": 123,
"frequencySlope": "Positive",
"numberOfSamplesPerChirp": 123,
"chirpInterval": 123,
"numberOfChirpsInCoherentProcessingInterval": 123,
"rxComponents": "InPhase"
},
"performanceFrequencyModulatedContinuousWaveform": {
"centerFrequency": 123,
"samplingRate": 123,
"frequencySlope": "Positive",
"performance": {
"rangeResolution": 123,
"velocityResolution": 123,
"rangeAmbiguity": 123,
"velocityAmbiguity": 123
},
"rxComponents": "InPhase"
},
"arbitraryFrequencyModulatedContinuousWaveform": {
"chirpFile": "<string>",
"chirpFileId": "<string>"
}
}
},
"transmissionPower": 123,
"gainType": "Auto",
"gain": 123,
"noiseStandardDeviation": 123,
"rangeDopplerProcessor": {
"rangePixels": 123,
"velocityPixels": 123,
"rangeWindow": {
"flatWindow": {},
"hammingWindow": {},
"hannWindow": {},
"taylorWindow": {
"sideLobeLevel": {
"value": 123
}
}
},
"velocityWindow": {
"flatWindow": {},
"hammingWindow": {},
"hannWindow": {},
"taylorWindow": {
"sideLobeLevel": {
"value": 123
}
}
},
"centerVelocity": 123
},
"multiplexingType": "Interleaved",
"transmitterWeightingSequenceFile": "<string>",
"propagation": {
"coherentProcessingInterval": 123
}
}
}
],
"protectedModes": [
{
"item1": 123,
"item2": {
"rangeDopplerProcessor": {
"rangePixels": 123,
"velocityPixels": 123,
"rangeWindow": {
"flatWindow": {},
"hammingWindow": {},
"hannWindow": {},
"taylorWindow": {
"sideLobeLevel": {
"value": 123
}
}
},
"velocityWindow": {
"flatWindow": {},
"hammingWindow": {},
"hannWindow": {},
"taylorWindow": {
"sideLobeLevel": {
"value": 123
}
}
},
"centerVelocity": 123
},
"protectModel": "<string>"
}
}
],
"antennaCopyParameters": {
"antennaType": "Rx",
"sourceAntenna": 123,
"destinationAntenna": 123
}
}
},
"additionalInfo": {
"waveformWarnings": [
{
"modeId": 123,
"waveformStatus": "Correct",
"message": "<string>",
"warningCode": [
123
]
}
]
}
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}Update the sensor given by its id with the information in the body
<br>
Some properties of the sensor are mutually exclusive, so they should be set to null and only set the desired one.
<br>To get the correct json structure, use the <code>GET: /sensoreditor/{id}</code> service.
<br>Example: At the highest level of the json, there can be either a camera or a lidar or a radar, so if a camera is updated, lidar and radar should be set to null.
PUT
/
avx-sensorlabs
/
v6
/
sensors
/
{id}
Update the sensor given by its id with the information in the body
curl --request PUT \
--url https://api.example.com/avx-sensorlabs/v6/sensors/{id} \
--header 'Content-Type: application/json' \
--data '
{
"metadata": {
"modelName": "<string>",
"manufacturer": "<string>",
"version": "<string>",
"comment": "<string>"
},
"name": "<string>",
"cameraModel": {
"thermalCameraModel": {},
"physicsBasedCameraModel": {
"description": "<string>",
"lensPhysicsBased": {
"coatingTransmissionDistribution": [
{
"item1": 123,
"item2": 123
}
],
"simpleChromaticAberration": {
"focalLength": 123,
"wavelengthOfFocalLength": 123,
"focalShift": 123
},
"advancedChromaticAberration": {
"spectralFocalLengthDistribution": [
{
"wavelength": 123,
"focalLength": 123
}
]
},
"circularAperture": {
"apertureArea": 123
},
"regularConvexPolygonAperture": {
"apertureArea": 123,
"offsetAngle": 123,
"edgeNumber": 123
}
},
"lensCommon": {
"fisheyeDistortion": {
"a1": 123,
"a2": 123,
"a3": 123,
"a4": 123,
"a5": 123
},
"brownDistortion": {
"k1": 123,
"k2": 123,
"k3": 123,
"p1": 123,
"p2": 123
},
"lensTransmission": "<string>",
"lensDistortionPath": "<string>",
"windshield": {
"upDownCurvature": 123,
"rightLeftCurvature": 123,
"distanceFromCamera": 123,
"thickness": 123,
"inclination": 123,
"spectralTransmissionDistribution": [
{
"item1": 123,
"item2": 123
}
],
"refractiveIndexDistribution": [
{
"item1": 123,
"item2": 123
}
]
}
},
"imagerPhysicsBased": {
"quantumEfficiencyDistribution": "<string>",
"bits": 123,
"exposureTime": 123,
"fullWellCapacity": 123,
"capacitance": 123,
"antiBloomingEfficiency": 123,
"cfaTransmittance": {
"redPixelTransmission": "<string>",
"greenPixelTransmission": "<string>",
"bluePixelTransmission": "<string>"
},
"readoutNoise": {
"readoutNoiseAverage": 123,
"readoutNoiseStandard": 123
},
"overallPixelFillFactor": 123,
"thermalNoiseSimple": {
"darkCurrentAverageValue": 123
},
"thermalNoiseAdvanced": {
"darkCurrentReferenceValue": 123,
"darkCurrentReferenceTemperature": 123,
"imagerTemperature": 123,
"darkCurrentCoefficient": 123
}
},
"protectedImagerPhysicsBased": "<string>",
"imagerCommon": {
"size": {
"width": 123,
"height": 123
},
"resolution": {
"width": 123,
"height": 123
},
"protectedSize": "<string>"
},
"customPostProcessing": {
"fragmentShader": "<string>"
}
}
},
"lidarModel": {
"rotatingLidar": {
"rotationSpeed": 123,
"emitter": {
"frequency": 123,
"wavelength": 123,
"extinctionCoefficient": 123,
"beamShape": {
"divergence": {
"horizontal": 123,
"vertical": 123
}
},
"firingSequenceFilePath": "<string>"
},
"receiver": {
"apertureArea": 123,
"photodetector": {
"responsivity": 123,
"maxCurrent": 123,
"noiseStandardDeviation": 123
},
"processor": {
"analogToDigitalConverter": {
"samplingFrequency": 123,
"bitResolution": 123
},
"maxReturns": 123,
"maxRange": 123
},
"lensDistortionPath": "<string>"
}
},
"flashLidar": {
"emitter": {
"frequency": 123,
"laserPulse": {
"peakPower": 123,
"duration": 123
},
"wavelength": 123,
"extinctionCoefficient": 123,
"gaussianBeamShape": {
"divergence": {
"horizontal": 123,
"vertical": 123
}
},
"beamShapeIdentity": {
"intensityFilePath": "<string>"
}
},
"receiver": {
"lensSystem": {
"apertureArea": 123,
"fieldOfView": {
"horizontal": 123,
"vertical": 123
},
"lensDistortion": {
"radialDistortion": {
"k1": 123,
"k2": 123,
"k3": 123
},
"tangentialDistortion": {
"p1": 123,
"p2": 123
},
"lensDistortionPath": "<string>"
}
},
"lidarResolutionInPixels": {
"horizontal": 123,
"vertical": 123
},
"photodetector": {
"responsivity": 123,
"maxCurrent": 123,
"noiseStandardDeviation": 123
},
"processor": {
"analogToDigitalConverter": {
"samplingFrequency": 123,
"bitResolution": 123
},
"maxReturns": 123,
"maxRange": 123
}
}
}
},
"radarModel": {
"txAntennas": [
{
"item1": 123,
"item2": {
"antenna": {
"beam": {
"halfPowerHorizontalWidth": 123,
"halfPowerVerticalWidth": 123
},
"patternIdentity": {
"antennaPatternFilePath": "<string>"
},
"realizedPeakGain": 123
},
"position": {
"x": 123,
"y": 123,
"z": 123
},
"orientation": {
"x": 123,
"y": 123,
"z": 123
}
}
}
],
"rxAntennas": [
{
"item1": 123,
"item2": {
"antenna": {
"beam": {
"halfPowerHorizontalWidth": 123,
"halfPowerVerticalWidth": 123
},
"patternIdentity": {
"antennaPatternFilePath": "<string>"
},
"realizedPeakGain": 123
},
"position": {
"x": 123,
"y": 123,
"z": 123
},
"orientation": {
"x": 123,
"y": 123,
"z": 123
}
}
}
],
"protectedTxAntennas": [
{
"item1": 123,
"item2": "<string>"
}
],
"protectedRxAntennas": [
{
"item1": 123,
"item2": "<string>"
}
],
"modes": [
{
"item1": 123,
"item2": {
"txAntennas": [
123
],
"rxAntennas": [
123
],
"startDelay": 123,
"waveform": {
"pulseDopplerWaveform": {
"systemPulseDopplerWaveform": {
"centerFrequency": 123,
"bandwidth": 123,
"numberOfFrequencySamples": 123,
"pulseInterval": 123,
"numberOfPulsesInCoherentProcessingInterval": 123
},
"performancePulseDopplerWaveform": {
"centerFrequency": 123,
"performance": {
"rangeResolution": 123,
"velocityResolution": 123,
"rangeAmbiguity": 123,
"velocityAmbiguity": 123
}
},
"arbitraryPulseDopplerWaveform": {
"pulseFile": "<string>",
"pulseFileId": "<string>"
}
},
"frequencyModulatedContinuousWaveform": {
"systemFrequencyModulatedContinuousWaveform": {
"centerFrequency": 123,
"bandwidth": 123,
"samplingRate": 123,
"numberOfSamplesPerChirp": 123,
"chirpInterval": 123,
"numberOfChirpsInCoherentProcessingInterval": 123
},
"performanceFrequencyModulatedContinuousWaveform": {
"centerFrequency": 123,
"samplingRate": 123,
"performance": {
"rangeResolution": 123,
"velocityResolution": 123,
"rangeAmbiguity": 123,
"velocityAmbiguity": 123
}
},
"arbitraryFrequencyModulatedContinuousWaveform": {
"chirpFile": "<string>",
"chirpFileId": "<string>"
}
}
},
"transmissionPower": 123,
"gain": 123,
"noiseStandardDeviation": 123,
"rangeDopplerProcessor": {
"rangePixels": 123,
"velocityPixels": 123,
"rangeWindow": {
"flatWindow": {},
"hammingWindow": {},
"hannWindow": {},
"taylorWindow": {
"sideLobeLevel": {
"value": 123
}
}
},
"velocityWindow": {
"flatWindow": {},
"hammingWindow": {},
"hannWindow": {},
"taylorWindow": {
"sideLobeLevel": {
"value": 123
}
}
},
"centerVelocity": 123
},
"transmitterWeightingSequenceFile": "<string>",
"propagation": {
"coherentProcessingInterval": 123
}
}
}
],
"protectedModes": [
{
"item1": 123,
"item2": {
"rangeDopplerProcessor": {
"rangePixels": 123,
"velocityPixels": 123,
"rangeWindow": {
"flatWindow": {},
"hammingWindow": {},
"hannWindow": {},
"taylorWindow": {
"sideLobeLevel": {
"value": 123
}
}
},
"velocityWindow": {
"flatWindow": {},
"hammingWindow": {},
"hannWindow": {},
"taylorWindow": {
"sideLobeLevel": {
"value": 123
}
}
},
"centerVelocity": 123
},
"protectModel": "<string>"
}
}
],
"antennaCopyParameters": {
"sourceAntenna": 123,
"destinationAntenna": 123
}
}
}
'import requests
url = "https://api.example.com/avx-sensorlabs/v6/sensors/{id}"
payload = {
"metadata": {
"modelName": "<string>",
"manufacturer": "<string>",
"version": "<string>",
"comment": "<string>"
},
"name": "<string>",
"cameraModel": {
"thermalCameraModel": {},
"physicsBasedCameraModel": {
"description": "<string>",
"lensPhysicsBased": {
"coatingTransmissionDistribution": [
{
"item1": 123,
"item2": 123
}
],
"simpleChromaticAberration": {
"focalLength": 123,
"wavelengthOfFocalLength": 123,
"focalShift": 123
},
"advancedChromaticAberration": { "spectralFocalLengthDistribution": [
{
"wavelength": 123,
"focalLength": 123
}
] },
"circularAperture": { "apertureArea": 123 },
"regularConvexPolygonAperture": {
"apertureArea": 123,
"offsetAngle": 123,
"edgeNumber": 123
}
},
"lensCommon": {
"fisheyeDistortion": {
"a1": 123,
"a2": 123,
"a3": 123,
"a4": 123,
"a5": 123
},
"brownDistortion": {
"k1": 123,
"k2": 123,
"k3": 123,
"p1": 123,
"p2": 123
},
"lensTransmission": "<string>",
"lensDistortionPath": "<string>",
"windshield": {
"upDownCurvature": 123,
"rightLeftCurvature": 123,
"distanceFromCamera": 123,
"thickness": 123,
"inclination": 123,
"spectralTransmissionDistribution": [
{
"item1": 123,
"item2": 123
}
],
"refractiveIndexDistribution": [
{
"item1": 123,
"item2": 123
}
]
}
},
"imagerPhysicsBased": {
"quantumEfficiencyDistribution": "<string>",
"bits": 123,
"exposureTime": 123,
"fullWellCapacity": 123,
"capacitance": 123,
"antiBloomingEfficiency": 123,
"cfaTransmittance": {
"redPixelTransmission": "<string>",
"greenPixelTransmission": "<string>",
"bluePixelTransmission": "<string>"
},
"readoutNoise": {
"readoutNoiseAverage": 123,
"readoutNoiseStandard": 123
},
"overallPixelFillFactor": 123,
"thermalNoiseSimple": { "darkCurrentAverageValue": 123 },
"thermalNoiseAdvanced": {
"darkCurrentReferenceValue": 123,
"darkCurrentReferenceTemperature": 123,
"imagerTemperature": 123,
"darkCurrentCoefficient": 123
}
},
"protectedImagerPhysicsBased": "<string>",
"imagerCommon": {
"size": {
"width": 123,
"height": 123
},
"resolution": {
"width": 123,
"height": 123
},
"protectedSize": "<string>"
},
"customPostProcessing": { "fragmentShader": "<string>" }
}
},
"lidarModel": {
"rotatingLidar": {
"rotationSpeed": 123,
"emitter": {
"frequency": 123,
"wavelength": 123,
"extinctionCoefficient": 123,
"beamShape": { "divergence": {
"horizontal": 123,
"vertical": 123
} },
"firingSequenceFilePath": "<string>"
},
"receiver": {
"apertureArea": 123,
"photodetector": {
"responsivity": 123,
"maxCurrent": 123,
"noiseStandardDeviation": 123
},
"processor": {
"analogToDigitalConverter": {
"samplingFrequency": 123,
"bitResolution": 123
},
"maxReturns": 123,
"maxRange": 123
},
"lensDistortionPath": "<string>"
}
},
"flashLidar": {
"emitter": {
"frequency": 123,
"laserPulse": {
"peakPower": 123,
"duration": 123
},
"wavelength": 123,
"extinctionCoefficient": 123,
"gaussianBeamShape": { "divergence": {
"horizontal": 123,
"vertical": 123
} },
"beamShapeIdentity": { "intensityFilePath": "<string>" }
},
"receiver": {
"lensSystem": {
"apertureArea": 123,
"fieldOfView": {
"horizontal": 123,
"vertical": 123
},
"lensDistortion": {
"radialDistortion": {
"k1": 123,
"k2": 123,
"k3": 123
},
"tangentialDistortion": {
"p1": 123,
"p2": 123
},
"lensDistortionPath": "<string>"
}
},
"lidarResolutionInPixels": {
"horizontal": 123,
"vertical": 123
},
"photodetector": {
"responsivity": 123,
"maxCurrent": 123,
"noiseStandardDeviation": 123
},
"processor": {
"analogToDigitalConverter": {
"samplingFrequency": 123,
"bitResolution": 123
},
"maxReturns": 123,
"maxRange": 123
}
}
}
},
"radarModel": {
"txAntennas": [
{
"item1": 123,
"item2": {
"antenna": {
"beam": {
"halfPowerHorizontalWidth": 123,
"halfPowerVerticalWidth": 123
},
"patternIdentity": { "antennaPatternFilePath": "<string>" },
"realizedPeakGain": 123
},
"position": {
"x": 123,
"y": 123,
"z": 123
},
"orientation": {
"x": 123,
"y": 123,
"z": 123
}
}
}
],
"rxAntennas": [
{
"item1": 123,
"item2": {
"antenna": {
"beam": {
"halfPowerHorizontalWidth": 123,
"halfPowerVerticalWidth": 123
},
"patternIdentity": { "antennaPatternFilePath": "<string>" },
"realizedPeakGain": 123
},
"position": {
"x": 123,
"y": 123,
"z": 123
},
"orientation": {
"x": 123,
"y": 123,
"z": 123
}
}
}
],
"protectedTxAntennas": [
{
"item1": 123,
"item2": "<string>"
}
],
"protectedRxAntennas": [
{
"item1": 123,
"item2": "<string>"
}
],
"modes": [
{
"item1": 123,
"item2": {
"txAntennas": [123],
"rxAntennas": [123],
"startDelay": 123,
"waveform": {
"pulseDopplerWaveform": {
"systemPulseDopplerWaveform": {
"centerFrequency": 123,
"bandwidth": 123,
"numberOfFrequencySamples": 123,
"pulseInterval": 123,
"numberOfPulsesInCoherentProcessingInterval": 123
},
"performancePulseDopplerWaveform": {
"centerFrequency": 123,
"performance": {
"rangeResolution": 123,
"velocityResolution": 123,
"rangeAmbiguity": 123,
"velocityAmbiguity": 123
}
},
"arbitraryPulseDopplerWaveform": {
"pulseFile": "<string>",
"pulseFileId": "<string>"
}
},
"frequencyModulatedContinuousWaveform": {
"systemFrequencyModulatedContinuousWaveform": {
"centerFrequency": 123,
"bandwidth": 123,
"samplingRate": 123,
"numberOfSamplesPerChirp": 123,
"chirpInterval": 123,
"numberOfChirpsInCoherentProcessingInterval": 123
},
"performanceFrequencyModulatedContinuousWaveform": {
"centerFrequency": 123,
"samplingRate": 123,
"performance": {
"rangeResolution": 123,
"velocityResolution": 123,
"rangeAmbiguity": 123,
"velocityAmbiguity": 123
}
},
"arbitraryFrequencyModulatedContinuousWaveform": {
"chirpFile": "<string>",
"chirpFileId": "<string>"
}
}
},
"transmissionPower": 123,
"gain": 123,
"noiseStandardDeviation": 123,
"rangeDopplerProcessor": {
"rangePixels": 123,
"velocityPixels": 123,
"rangeWindow": {
"flatWindow": {},
"hammingWindow": {},
"hannWindow": {},
"taylorWindow": { "sideLobeLevel": { "value": 123 } }
},
"velocityWindow": {
"flatWindow": {},
"hammingWindow": {},
"hannWindow": {},
"taylorWindow": { "sideLobeLevel": { "value": 123 } }
},
"centerVelocity": 123
},
"transmitterWeightingSequenceFile": "<string>",
"propagation": { "coherentProcessingInterval": 123 }
}
}
],
"protectedModes": [
{
"item1": 123,
"item2": {
"rangeDopplerProcessor": {
"rangePixels": 123,
"velocityPixels": 123,
"rangeWindow": {
"flatWindow": {},
"hammingWindow": {},
"hannWindow": {},
"taylorWindow": { "sideLobeLevel": { "value": 123 } }
},
"velocityWindow": {
"flatWindow": {},
"hammingWindow": {},
"hannWindow": {},
"taylorWindow": { "sideLobeLevel": { "value": 123 } }
},
"centerVelocity": 123
},
"protectModel": "<string>"
}
}
],
"antennaCopyParameters": {
"sourceAntenna": 123,
"destinationAntenna": 123
}
}
}
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
metadata: {
modelName: '<string>',
manufacturer: '<string>',
version: '<string>',
comment: '<string>'
},
name: '<string>',
cameraModel: {
thermalCameraModel: {},
physicsBasedCameraModel: {
description: '<string>',
lensPhysicsBased: {
coatingTransmissionDistribution: [{item1: 123, item2: 123}],
simpleChromaticAberration: {focalLength: 123, wavelengthOfFocalLength: 123, focalShift: 123},
advancedChromaticAberration: {spectralFocalLengthDistribution: [{wavelength: 123, focalLength: 123}]},
circularAperture: {apertureArea: 123},
regularConvexPolygonAperture: {apertureArea: 123, offsetAngle: 123, edgeNumber: 123}
},
lensCommon: {
fisheyeDistortion: {a1: 123, a2: 123, a3: 123, a4: 123, a5: 123},
brownDistortion: {k1: 123, k2: 123, k3: 123, p1: 123, p2: 123},
lensTransmission: '<string>',
lensDistortionPath: '<string>',
windshield: {
upDownCurvature: 123,
rightLeftCurvature: 123,
distanceFromCamera: 123,
thickness: 123,
inclination: 123,
spectralTransmissionDistribution: [{item1: 123, item2: 123}],
refractiveIndexDistribution: [{item1: 123, item2: 123}]
}
},
imagerPhysicsBased: {
quantumEfficiencyDistribution: '<string>',
bits: 123,
exposureTime: 123,
fullWellCapacity: 123,
capacitance: 123,
antiBloomingEfficiency: 123,
cfaTransmittance: {
redPixelTransmission: '<string>',
greenPixelTransmission: '<string>',
bluePixelTransmission: '<string>'
},
readoutNoise: {readoutNoiseAverage: 123, readoutNoiseStandard: 123},
overallPixelFillFactor: 123,
thermalNoiseSimple: {darkCurrentAverageValue: 123},
thermalNoiseAdvanced: {
darkCurrentReferenceValue: 123,
darkCurrentReferenceTemperature: 123,
imagerTemperature: 123,
darkCurrentCoefficient: 123
}
},
protectedImagerPhysicsBased: '<string>',
imagerCommon: {
size: {width: 123, height: 123},
resolution: {width: 123, height: 123},
protectedSize: '<string>'
},
customPostProcessing: {fragmentShader: '<string>'}
}
},
lidarModel: {
rotatingLidar: {
rotationSpeed: 123,
emitter: {
frequency: 123,
wavelength: 123,
extinctionCoefficient: 123,
beamShape: {divergence: {horizontal: 123, vertical: 123}},
firingSequenceFilePath: '<string>'
},
receiver: {
apertureArea: 123,
photodetector: {responsivity: 123, maxCurrent: 123, noiseStandardDeviation: 123},
processor: {
analogToDigitalConverter: {samplingFrequency: 123, bitResolution: 123},
maxReturns: 123,
maxRange: 123
},
lensDistortionPath: '<string>'
}
},
flashLidar: {
emitter: {
frequency: 123,
laserPulse: {peakPower: 123, duration: 123},
wavelength: 123,
extinctionCoefficient: 123,
gaussianBeamShape: {divergence: {horizontal: 123, vertical: 123}},
beamShapeIdentity: {intensityFilePath: '<string>'}
},
receiver: {
lensSystem: {
apertureArea: 123,
fieldOfView: {horizontal: 123, vertical: 123},
lensDistortion: {
radialDistortion: {k1: 123, k2: 123, k3: 123},
tangentialDistortion: {p1: 123, p2: 123},
lensDistortionPath: '<string>'
}
},
lidarResolutionInPixels: {horizontal: 123, vertical: 123},
photodetector: {responsivity: 123, maxCurrent: 123, noiseStandardDeviation: 123},
processor: {
analogToDigitalConverter: {samplingFrequency: 123, bitResolution: 123},
maxReturns: 123,
maxRange: 123
}
}
}
},
radarModel: {
txAntennas: [
{
item1: 123,
item2: {
antenna: {
beam: {halfPowerHorizontalWidth: 123, halfPowerVerticalWidth: 123},
patternIdentity: {antennaPatternFilePath: '<string>'},
realizedPeakGain: 123
},
position: {x: 123, y: 123, z: 123},
orientation: {x: 123, y: 123, z: 123}
}
}
],
rxAntennas: [
{
item1: 123,
item2: {
antenna: {
beam: {halfPowerHorizontalWidth: 123, halfPowerVerticalWidth: 123},
patternIdentity: {antennaPatternFilePath: '<string>'},
realizedPeakGain: 123
},
position: {x: 123, y: 123, z: 123},
orientation: {x: 123, y: 123, z: 123}
}
}
],
protectedTxAntennas: [{item1: 123, item2: '<string>'}],
protectedRxAntennas: [{item1: 123, item2: '<string>'}],
modes: [
{
item1: 123,
item2: {
txAntennas: [123],
rxAntennas: [123],
startDelay: 123,
waveform: {
pulseDopplerWaveform: {
systemPulseDopplerWaveform: {
centerFrequency: 123,
bandwidth: 123,
numberOfFrequencySamples: 123,
pulseInterval: 123,
numberOfPulsesInCoherentProcessingInterval: 123
},
performancePulseDopplerWaveform: {
centerFrequency: 123,
performance: {
rangeResolution: 123,
velocityResolution: 123,
rangeAmbiguity: 123,
velocityAmbiguity: 123
}
},
arbitraryPulseDopplerWaveform: {pulseFile: '<string>', pulseFileId: '<string>'}
},
frequencyModulatedContinuousWaveform: {
systemFrequencyModulatedContinuousWaveform: {
centerFrequency: 123,
bandwidth: 123,
samplingRate: 123,
numberOfSamplesPerChirp: 123,
chirpInterval: 123,
numberOfChirpsInCoherentProcessingInterval: 123
},
performanceFrequencyModulatedContinuousWaveform: {
centerFrequency: 123,
samplingRate: 123,
performance: {
rangeResolution: 123,
velocityResolution: 123,
rangeAmbiguity: 123,
velocityAmbiguity: 123
}
},
arbitraryFrequencyModulatedContinuousWaveform: {chirpFile: '<string>', chirpFileId: '<string>'}
}
},
transmissionPower: 123,
gain: 123,
noiseStandardDeviation: 123,
rangeDopplerProcessor: {
rangePixels: 123,
velocityPixels: 123,
rangeWindow: {
flatWindow: {},
hammingWindow: {},
hannWindow: {},
taylorWindow: {sideLobeLevel: {value: 123}}
},
velocityWindow: {
flatWindow: {},
hammingWindow: {},
hannWindow: {},
taylorWindow: {sideLobeLevel: {value: 123}}
},
centerVelocity: 123
},
transmitterWeightingSequenceFile: '<string>',
propagation: {coherentProcessingInterval: 123}
}
}
],
protectedModes: [
{
item1: 123,
item2: {
rangeDopplerProcessor: {
rangePixels: 123,
velocityPixels: 123,
rangeWindow: {
flatWindow: {},
hammingWindow: {},
hannWindow: {},
taylorWindow: {sideLobeLevel: {value: 123}}
},
velocityWindow: {
flatWindow: {},
hammingWindow: {},
hannWindow: {},
taylorWindow: {sideLobeLevel: {value: 123}}
},
centerVelocity: 123
},
protectModel: '<string>'
}
}
],
antennaCopyParameters: {sourceAntenna: 123, destinationAntenna: 123}
}
})
};
fetch('https://api.example.com/avx-sensorlabs/v6/sensors/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/avx-sensorlabs/v6/sensors/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'metadata' => [
'modelName' => '<string>',
'manufacturer' => '<string>',
'version' => '<string>',
'comment' => '<string>'
],
'name' => '<string>',
'cameraModel' => [
'thermalCameraModel' => [
],
'physicsBasedCameraModel' => [
'description' => '<string>',
'lensPhysicsBased' => [
'coatingTransmissionDistribution' => [
[
'item1' => 123,
'item2' => 123
]
],
'simpleChromaticAberration' => [
'focalLength' => 123,
'wavelengthOfFocalLength' => 123,
'focalShift' => 123
],
'advancedChromaticAberration' => [
'spectralFocalLengthDistribution' => [
[
'wavelength' => 123,
'focalLength' => 123
]
]
],
'circularAperture' => [
'apertureArea' => 123
],
'regularConvexPolygonAperture' => [
'apertureArea' => 123,
'offsetAngle' => 123,
'edgeNumber' => 123
]
],
'lensCommon' => [
'fisheyeDistortion' => [
'a1' => 123,
'a2' => 123,
'a3' => 123,
'a4' => 123,
'a5' => 123
],
'brownDistortion' => [
'k1' => 123,
'k2' => 123,
'k3' => 123,
'p1' => 123,
'p2' => 123
],
'lensTransmission' => '<string>',
'lensDistortionPath' => '<string>',
'windshield' => [
'upDownCurvature' => 123,
'rightLeftCurvature' => 123,
'distanceFromCamera' => 123,
'thickness' => 123,
'inclination' => 123,
'spectralTransmissionDistribution' => [
[
'item1' => 123,
'item2' => 123
]
],
'refractiveIndexDistribution' => [
[
'item1' => 123,
'item2' => 123
]
]
]
],
'imagerPhysicsBased' => [
'quantumEfficiencyDistribution' => '<string>',
'bits' => 123,
'exposureTime' => 123,
'fullWellCapacity' => 123,
'capacitance' => 123,
'antiBloomingEfficiency' => 123,
'cfaTransmittance' => [
'redPixelTransmission' => '<string>',
'greenPixelTransmission' => '<string>',
'bluePixelTransmission' => '<string>'
],
'readoutNoise' => [
'readoutNoiseAverage' => 123,
'readoutNoiseStandard' => 123
],
'overallPixelFillFactor' => 123,
'thermalNoiseSimple' => [
'darkCurrentAverageValue' => 123
],
'thermalNoiseAdvanced' => [
'darkCurrentReferenceValue' => 123,
'darkCurrentReferenceTemperature' => 123,
'imagerTemperature' => 123,
'darkCurrentCoefficient' => 123
]
],
'protectedImagerPhysicsBased' => '<string>',
'imagerCommon' => [
'size' => [
'width' => 123,
'height' => 123
],
'resolution' => [
'width' => 123,
'height' => 123
],
'protectedSize' => '<string>'
],
'customPostProcessing' => [
'fragmentShader' => '<string>'
]
]
],
'lidarModel' => [
'rotatingLidar' => [
'rotationSpeed' => 123,
'emitter' => [
'frequency' => 123,
'wavelength' => 123,
'extinctionCoefficient' => 123,
'beamShape' => [
'divergence' => [
'horizontal' => 123,
'vertical' => 123
]
],
'firingSequenceFilePath' => '<string>'
],
'receiver' => [
'apertureArea' => 123,
'photodetector' => [
'responsivity' => 123,
'maxCurrent' => 123,
'noiseStandardDeviation' => 123
],
'processor' => [
'analogToDigitalConverter' => [
'samplingFrequency' => 123,
'bitResolution' => 123
],
'maxReturns' => 123,
'maxRange' => 123
],
'lensDistortionPath' => '<string>'
]
],
'flashLidar' => [
'emitter' => [
'frequency' => 123,
'laserPulse' => [
'peakPower' => 123,
'duration' => 123
],
'wavelength' => 123,
'extinctionCoefficient' => 123,
'gaussianBeamShape' => [
'divergence' => [
'horizontal' => 123,
'vertical' => 123
]
],
'beamShapeIdentity' => [
'intensityFilePath' => '<string>'
]
],
'receiver' => [
'lensSystem' => [
'apertureArea' => 123,
'fieldOfView' => [
'horizontal' => 123,
'vertical' => 123
],
'lensDistortion' => [
'radialDistortion' => [
'k1' => 123,
'k2' => 123,
'k3' => 123
],
'tangentialDistortion' => [
'p1' => 123,
'p2' => 123
],
'lensDistortionPath' => '<string>'
]
],
'lidarResolutionInPixels' => [
'horizontal' => 123,
'vertical' => 123
],
'photodetector' => [
'responsivity' => 123,
'maxCurrent' => 123,
'noiseStandardDeviation' => 123
],
'processor' => [
'analogToDigitalConverter' => [
'samplingFrequency' => 123,
'bitResolution' => 123
],
'maxReturns' => 123,
'maxRange' => 123
]
]
]
],
'radarModel' => [
'txAntennas' => [
[
'item1' => 123,
'item2' => [
'antenna' => [
'beam' => [
'halfPowerHorizontalWidth' => 123,
'halfPowerVerticalWidth' => 123
],
'patternIdentity' => [
'antennaPatternFilePath' => '<string>'
],
'realizedPeakGain' => 123
],
'position' => [
'x' => 123,
'y' => 123,
'z' => 123
],
'orientation' => [
'x' => 123,
'y' => 123,
'z' => 123
]
]
]
],
'rxAntennas' => [
[
'item1' => 123,
'item2' => [
'antenna' => [
'beam' => [
'halfPowerHorizontalWidth' => 123,
'halfPowerVerticalWidth' => 123
],
'patternIdentity' => [
'antennaPatternFilePath' => '<string>'
],
'realizedPeakGain' => 123
],
'position' => [
'x' => 123,
'y' => 123,
'z' => 123
],
'orientation' => [
'x' => 123,
'y' => 123,
'z' => 123
]
]
]
],
'protectedTxAntennas' => [
[
'item1' => 123,
'item2' => '<string>'
]
],
'protectedRxAntennas' => [
[
'item1' => 123,
'item2' => '<string>'
]
],
'modes' => [
[
'item1' => 123,
'item2' => [
'txAntennas' => [
123
],
'rxAntennas' => [
123
],
'startDelay' => 123,
'waveform' => [
'pulseDopplerWaveform' => [
'systemPulseDopplerWaveform' => [
'centerFrequency' => 123,
'bandwidth' => 123,
'numberOfFrequencySamples' => 123,
'pulseInterval' => 123,
'numberOfPulsesInCoherentProcessingInterval' => 123
],
'performancePulseDopplerWaveform' => [
'centerFrequency' => 123,
'performance' => [
'rangeResolution' => 123,
'velocityResolution' => 123,
'rangeAmbiguity' => 123,
'velocityAmbiguity' => 123
]
],
'arbitraryPulseDopplerWaveform' => [
'pulseFile' => '<string>',
'pulseFileId' => '<string>'
]
],
'frequencyModulatedContinuousWaveform' => [
'systemFrequencyModulatedContinuousWaveform' => [
'centerFrequency' => 123,
'bandwidth' => 123,
'samplingRate' => 123,
'numberOfSamplesPerChirp' => 123,
'chirpInterval' => 123,
'numberOfChirpsInCoherentProcessingInterval' => 123
],
'performanceFrequencyModulatedContinuousWaveform' => [
'centerFrequency' => 123,
'samplingRate' => 123,
'performance' => [
'rangeResolution' => 123,
'velocityResolution' => 123,
'rangeAmbiguity' => 123,
'velocityAmbiguity' => 123
]
],
'arbitraryFrequencyModulatedContinuousWaveform' => [
'chirpFile' => '<string>',
'chirpFileId' => '<string>'
]
]
],
'transmissionPower' => 123,
'gain' => 123,
'noiseStandardDeviation' => 123,
'rangeDopplerProcessor' => [
'rangePixels' => 123,
'velocityPixels' => 123,
'rangeWindow' => [
'flatWindow' => [
],
'hammingWindow' => [
],
'hannWindow' => [
],
'taylorWindow' => [
'sideLobeLevel' => [
'value' => 123
]
]
],
'velocityWindow' => [
'flatWindow' => [
],
'hammingWindow' => [
],
'hannWindow' => [
],
'taylorWindow' => [
'sideLobeLevel' => [
'value' => 123
]
]
],
'centerVelocity' => 123
],
'transmitterWeightingSequenceFile' => '<string>',
'propagation' => [
'coherentProcessingInterval' => 123
]
]
]
],
'protectedModes' => [
[
'item1' => 123,
'item2' => [
'rangeDopplerProcessor' => [
'rangePixels' => 123,
'velocityPixels' => 123,
'rangeWindow' => [
'flatWindow' => [
],
'hammingWindow' => [
],
'hannWindow' => [
],
'taylorWindow' => [
'sideLobeLevel' => [
'value' => 123
]
]
],
'velocityWindow' => [
'flatWindow' => [
],
'hammingWindow' => [
],
'hannWindow' => [
],
'taylorWindow' => [
'sideLobeLevel' => [
'value' => 123
]
]
],
'centerVelocity' => 123
],
'protectModel' => '<string>'
]
]
],
'antennaCopyParameters' => [
'sourceAntenna' => 123,
'destinationAntenna' => 123
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/avx-sensorlabs/v6/sensors/{id}"
payload := strings.NewReader("{\n \"metadata\": {\n \"modelName\": \"<string>\",\n \"manufacturer\": \"<string>\",\n \"version\": \"<string>\",\n \"comment\": \"<string>\"\n },\n \"name\": \"<string>\",\n \"cameraModel\": {\n \"thermalCameraModel\": {},\n \"physicsBasedCameraModel\": {\n \"description\": \"<string>\",\n \"lensPhysicsBased\": {\n \"coatingTransmissionDistribution\": [\n {\n \"item1\": 123,\n \"item2\": 123\n }\n ],\n \"simpleChromaticAberration\": {\n \"focalLength\": 123,\n \"wavelengthOfFocalLength\": 123,\n \"focalShift\": 123\n },\n \"advancedChromaticAberration\": {\n \"spectralFocalLengthDistribution\": [\n {\n \"wavelength\": 123,\n \"focalLength\": 123\n }\n ]\n },\n \"circularAperture\": {\n \"apertureArea\": 123\n },\n \"regularConvexPolygonAperture\": {\n \"apertureArea\": 123,\n \"offsetAngle\": 123,\n \"edgeNumber\": 123\n }\n },\n \"lensCommon\": {\n \"fisheyeDistortion\": {\n \"a1\": 123,\n \"a2\": 123,\n \"a3\": 123,\n \"a4\": 123,\n \"a5\": 123\n },\n \"brownDistortion\": {\n \"k1\": 123,\n \"k2\": 123,\n \"k3\": 123,\n \"p1\": 123,\n \"p2\": 123\n },\n \"lensTransmission\": \"<string>\",\n \"lensDistortionPath\": \"<string>\",\n \"windshield\": {\n \"upDownCurvature\": 123,\n \"rightLeftCurvature\": 123,\n \"distanceFromCamera\": 123,\n \"thickness\": 123,\n \"inclination\": 123,\n \"spectralTransmissionDistribution\": [\n {\n \"item1\": 123,\n \"item2\": 123\n }\n ],\n \"refractiveIndexDistribution\": [\n {\n \"item1\": 123,\n \"item2\": 123\n }\n ]\n }\n },\n \"imagerPhysicsBased\": {\n \"quantumEfficiencyDistribution\": \"<string>\",\n \"bits\": 123,\n \"exposureTime\": 123,\n \"fullWellCapacity\": 123,\n \"capacitance\": 123,\n \"antiBloomingEfficiency\": 123,\n \"cfaTransmittance\": {\n \"redPixelTransmission\": \"<string>\",\n \"greenPixelTransmission\": \"<string>\",\n \"bluePixelTransmission\": \"<string>\"\n },\n \"readoutNoise\": {\n \"readoutNoiseAverage\": 123,\n \"readoutNoiseStandard\": 123\n },\n \"overallPixelFillFactor\": 123,\n \"thermalNoiseSimple\": {\n \"darkCurrentAverageValue\": 123\n },\n \"thermalNoiseAdvanced\": {\n \"darkCurrentReferenceValue\": 123,\n \"darkCurrentReferenceTemperature\": 123,\n \"imagerTemperature\": 123,\n \"darkCurrentCoefficient\": 123\n }\n },\n \"protectedImagerPhysicsBased\": \"<string>\",\n \"imagerCommon\": {\n \"size\": {\n \"width\": 123,\n \"height\": 123\n },\n \"resolution\": {\n \"width\": 123,\n \"height\": 123\n },\n \"protectedSize\": \"<string>\"\n },\n \"customPostProcessing\": {\n \"fragmentShader\": \"<string>\"\n }\n }\n },\n \"lidarModel\": {\n \"rotatingLidar\": {\n \"rotationSpeed\": 123,\n \"emitter\": {\n \"frequency\": 123,\n \"wavelength\": 123,\n \"extinctionCoefficient\": 123,\n \"beamShape\": {\n \"divergence\": {\n \"horizontal\": 123,\n \"vertical\": 123\n }\n },\n \"firingSequenceFilePath\": \"<string>\"\n },\n \"receiver\": {\n \"apertureArea\": 123,\n \"photodetector\": {\n \"responsivity\": 123,\n \"maxCurrent\": 123,\n \"noiseStandardDeviation\": 123\n },\n \"processor\": {\n \"analogToDigitalConverter\": {\n \"samplingFrequency\": 123,\n \"bitResolution\": 123\n },\n \"maxReturns\": 123,\n \"maxRange\": 123\n },\n \"lensDistortionPath\": \"<string>\"\n }\n },\n \"flashLidar\": {\n \"emitter\": {\n \"frequency\": 123,\n \"laserPulse\": {\n \"peakPower\": 123,\n \"duration\": 123\n },\n \"wavelength\": 123,\n \"extinctionCoefficient\": 123,\n \"gaussianBeamShape\": {\n \"divergence\": {\n \"horizontal\": 123,\n \"vertical\": 123\n }\n },\n \"beamShapeIdentity\": {\n \"intensityFilePath\": \"<string>\"\n }\n },\n \"receiver\": {\n \"lensSystem\": {\n \"apertureArea\": 123,\n \"fieldOfView\": {\n \"horizontal\": 123,\n \"vertical\": 123\n },\n \"lensDistortion\": {\n \"radialDistortion\": {\n \"k1\": 123,\n \"k2\": 123,\n \"k3\": 123\n },\n \"tangentialDistortion\": {\n \"p1\": 123,\n \"p2\": 123\n },\n \"lensDistortionPath\": \"<string>\"\n }\n },\n \"lidarResolutionInPixels\": {\n \"horizontal\": 123,\n \"vertical\": 123\n },\n \"photodetector\": {\n \"responsivity\": 123,\n \"maxCurrent\": 123,\n \"noiseStandardDeviation\": 123\n },\n \"processor\": {\n \"analogToDigitalConverter\": {\n \"samplingFrequency\": 123,\n \"bitResolution\": 123\n },\n \"maxReturns\": 123,\n \"maxRange\": 123\n }\n }\n }\n },\n \"radarModel\": {\n \"txAntennas\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"antenna\": {\n \"beam\": {\n \"halfPowerHorizontalWidth\": 123,\n \"halfPowerVerticalWidth\": 123\n },\n \"patternIdentity\": {\n \"antennaPatternFilePath\": \"<string>\"\n },\n \"realizedPeakGain\": 123\n },\n \"position\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n },\n \"orientation\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n }\n }\n }\n ],\n \"rxAntennas\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"antenna\": {\n \"beam\": {\n \"halfPowerHorizontalWidth\": 123,\n \"halfPowerVerticalWidth\": 123\n },\n \"patternIdentity\": {\n \"antennaPatternFilePath\": \"<string>\"\n },\n \"realizedPeakGain\": 123\n },\n \"position\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n },\n \"orientation\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n }\n }\n }\n ],\n \"protectedTxAntennas\": [\n {\n \"item1\": 123,\n \"item2\": \"<string>\"\n }\n ],\n \"protectedRxAntennas\": [\n {\n \"item1\": 123,\n \"item2\": \"<string>\"\n }\n ],\n \"modes\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"txAntennas\": [\n 123\n ],\n \"rxAntennas\": [\n 123\n ],\n \"startDelay\": 123,\n \"waveform\": {\n \"pulseDopplerWaveform\": {\n \"systemPulseDopplerWaveform\": {\n \"centerFrequency\": 123,\n \"bandwidth\": 123,\n \"numberOfFrequencySamples\": 123,\n \"pulseInterval\": 123,\n \"numberOfPulsesInCoherentProcessingInterval\": 123\n },\n \"performancePulseDopplerWaveform\": {\n \"centerFrequency\": 123,\n \"performance\": {\n \"rangeResolution\": 123,\n \"velocityResolution\": 123,\n \"rangeAmbiguity\": 123,\n \"velocityAmbiguity\": 123\n }\n },\n \"arbitraryPulseDopplerWaveform\": {\n \"pulseFile\": \"<string>\",\n \"pulseFileId\": \"<string>\"\n }\n },\n \"frequencyModulatedContinuousWaveform\": {\n \"systemFrequencyModulatedContinuousWaveform\": {\n \"centerFrequency\": 123,\n \"bandwidth\": 123,\n \"samplingRate\": 123,\n \"numberOfSamplesPerChirp\": 123,\n \"chirpInterval\": 123,\n \"numberOfChirpsInCoherentProcessingInterval\": 123\n },\n \"performanceFrequencyModulatedContinuousWaveform\": {\n \"centerFrequency\": 123,\n \"samplingRate\": 123,\n \"performance\": {\n \"rangeResolution\": 123,\n \"velocityResolution\": 123,\n \"rangeAmbiguity\": 123,\n \"velocityAmbiguity\": 123\n }\n },\n \"arbitraryFrequencyModulatedContinuousWaveform\": {\n \"chirpFile\": \"<string>\",\n \"chirpFileId\": \"<string>\"\n }\n }\n },\n \"transmissionPower\": 123,\n \"gain\": 123,\n \"noiseStandardDeviation\": 123,\n \"rangeDopplerProcessor\": {\n \"rangePixels\": 123,\n \"velocityPixels\": 123,\n \"rangeWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"velocityWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"centerVelocity\": 123\n },\n \"transmitterWeightingSequenceFile\": \"<string>\",\n \"propagation\": {\n \"coherentProcessingInterval\": 123\n }\n }\n }\n ],\n \"protectedModes\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"rangeDopplerProcessor\": {\n \"rangePixels\": 123,\n \"velocityPixels\": 123,\n \"rangeWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"velocityWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"centerVelocity\": 123\n },\n \"protectModel\": \"<string>\"\n }\n }\n ],\n \"antennaCopyParameters\": {\n \"sourceAntenna\": 123,\n \"destinationAntenna\": 123\n }\n }\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api.example.com/avx-sensorlabs/v6/sensors/{id}")
.header("Content-Type", "application/json")
.body("{\n \"metadata\": {\n \"modelName\": \"<string>\",\n \"manufacturer\": \"<string>\",\n \"version\": \"<string>\",\n \"comment\": \"<string>\"\n },\n \"name\": \"<string>\",\n \"cameraModel\": {\n \"thermalCameraModel\": {},\n \"physicsBasedCameraModel\": {\n \"description\": \"<string>\",\n \"lensPhysicsBased\": {\n \"coatingTransmissionDistribution\": [\n {\n \"item1\": 123,\n \"item2\": 123\n }\n ],\n \"simpleChromaticAberration\": {\n \"focalLength\": 123,\n \"wavelengthOfFocalLength\": 123,\n \"focalShift\": 123\n },\n \"advancedChromaticAberration\": {\n \"spectralFocalLengthDistribution\": [\n {\n \"wavelength\": 123,\n \"focalLength\": 123\n }\n ]\n },\n \"circularAperture\": {\n \"apertureArea\": 123\n },\n \"regularConvexPolygonAperture\": {\n \"apertureArea\": 123,\n \"offsetAngle\": 123,\n \"edgeNumber\": 123\n }\n },\n \"lensCommon\": {\n \"fisheyeDistortion\": {\n \"a1\": 123,\n \"a2\": 123,\n \"a3\": 123,\n \"a4\": 123,\n \"a5\": 123\n },\n \"brownDistortion\": {\n \"k1\": 123,\n \"k2\": 123,\n \"k3\": 123,\n \"p1\": 123,\n \"p2\": 123\n },\n \"lensTransmission\": \"<string>\",\n \"lensDistortionPath\": \"<string>\",\n \"windshield\": {\n \"upDownCurvature\": 123,\n \"rightLeftCurvature\": 123,\n \"distanceFromCamera\": 123,\n \"thickness\": 123,\n \"inclination\": 123,\n \"spectralTransmissionDistribution\": [\n {\n \"item1\": 123,\n \"item2\": 123\n }\n ],\n \"refractiveIndexDistribution\": [\n {\n \"item1\": 123,\n \"item2\": 123\n }\n ]\n }\n },\n \"imagerPhysicsBased\": {\n \"quantumEfficiencyDistribution\": \"<string>\",\n \"bits\": 123,\n \"exposureTime\": 123,\n \"fullWellCapacity\": 123,\n \"capacitance\": 123,\n \"antiBloomingEfficiency\": 123,\n \"cfaTransmittance\": {\n \"redPixelTransmission\": \"<string>\",\n \"greenPixelTransmission\": \"<string>\",\n \"bluePixelTransmission\": \"<string>\"\n },\n \"readoutNoise\": {\n \"readoutNoiseAverage\": 123,\n \"readoutNoiseStandard\": 123\n },\n \"overallPixelFillFactor\": 123,\n \"thermalNoiseSimple\": {\n \"darkCurrentAverageValue\": 123\n },\n \"thermalNoiseAdvanced\": {\n \"darkCurrentReferenceValue\": 123,\n \"darkCurrentReferenceTemperature\": 123,\n \"imagerTemperature\": 123,\n \"darkCurrentCoefficient\": 123\n }\n },\n \"protectedImagerPhysicsBased\": \"<string>\",\n \"imagerCommon\": {\n \"size\": {\n \"width\": 123,\n \"height\": 123\n },\n \"resolution\": {\n \"width\": 123,\n \"height\": 123\n },\n \"protectedSize\": \"<string>\"\n },\n \"customPostProcessing\": {\n \"fragmentShader\": \"<string>\"\n }\n }\n },\n \"lidarModel\": {\n \"rotatingLidar\": {\n \"rotationSpeed\": 123,\n \"emitter\": {\n \"frequency\": 123,\n \"wavelength\": 123,\n \"extinctionCoefficient\": 123,\n \"beamShape\": {\n \"divergence\": {\n \"horizontal\": 123,\n \"vertical\": 123\n }\n },\n \"firingSequenceFilePath\": \"<string>\"\n },\n \"receiver\": {\n \"apertureArea\": 123,\n \"photodetector\": {\n \"responsivity\": 123,\n \"maxCurrent\": 123,\n \"noiseStandardDeviation\": 123\n },\n \"processor\": {\n \"analogToDigitalConverter\": {\n \"samplingFrequency\": 123,\n \"bitResolution\": 123\n },\n \"maxReturns\": 123,\n \"maxRange\": 123\n },\n \"lensDistortionPath\": \"<string>\"\n }\n },\n \"flashLidar\": {\n \"emitter\": {\n \"frequency\": 123,\n \"laserPulse\": {\n \"peakPower\": 123,\n \"duration\": 123\n },\n \"wavelength\": 123,\n \"extinctionCoefficient\": 123,\n \"gaussianBeamShape\": {\n \"divergence\": {\n \"horizontal\": 123,\n \"vertical\": 123\n }\n },\n \"beamShapeIdentity\": {\n \"intensityFilePath\": \"<string>\"\n }\n },\n \"receiver\": {\n \"lensSystem\": {\n \"apertureArea\": 123,\n \"fieldOfView\": {\n \"horizontal\": 123,\n \"vertical\": 123\n },\n \"lensDistortion\": {\n \"radialDistortion\": {\n \"k1\": 123,\n \"k2\": 123,\n \"k3\": 123\n },\n \"tangentialDistortion\": {\n \"p1\": 123,\n \"p2\": 123\n },\n \"lensDistortionPath\": \"<string>\"\n }\n },\n \"lidarResolutionInPixels\": {\n \"horizontal\": 123,\n \"vertical\": 123\n },\n \"photodetector\": {\n \"responsivity\": 123,\n \"maxCurrent\": 123,\n \"noiseStandardDeviation\": 123\n },\n \"processor\": {\n \"analogToDigitalConverter\": {\n \"samplingFrequency\": 123,\n \"bitResolution\": 123\n },\n \"maxReturns\": 123,\n \"maxRange\": 123\n }\n }\n }\n },\n \"radarModel\": {\n \"txAntennas\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"antenna\": {\n \"beam\": {\n \"halfPowerHorizontalWidth\": 123,\n \"halfPowerVerticalWidth\": 123\n },\n \"patternIdentity\": {\n \"antennaPatternFilePath\": \"<string>\"\n },\n \"realizedPeakGain\": 123\n },\n \"position\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n },\n \"orientation\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n }\n }\n }\n ],\n \"rxAntennas\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"antenna\": {\n \"beam\": {\n \"halfPowerHorizontalWidth\": 123,\n \"halfPowerVerticalWidth\": 123\n },\n \"patternIdentity\": {\n \"antennaPatternFilePath\": \"<string>\"\n },\n \"realizedPeakGain\": 123\n },\n \"position\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n },\n \"orientation\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n }\n }\n }\n ],\n \"protectedTxAntennas\": [\n {\n \"item1\": 123,\n \"item2\": \"<string>\"\n }\n ],\n \"protectedRxAntennas\": [\n {\n \"item1\": 123,\n \"item2\": \"<string>\"\n }\n ],\n \"modes\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"txAntennas\": [\n 123\n ],\n \"rxAntennas\": [\n 123\n ],\n \"startDelay\": 123,\n \"waveform\": {\n \"pulseDopplerWaveform\": {\n \"systemPulseDopplerWaveform\": {\n \"centerFrequency\": 123,\n \"bandwidth\": 123,\n \"numberOfFrequencySamples\": 123,\n \"pulseInterval\": 123,\n \"numberOfPulsesInCoherentProcessingInterval\": 123\n },\n \"performancePulseDopplerWaveform\": {\n \"centerFrequency\": 123,\n \"performance\": {\n \"rangeResolution\": 123,\n \"velocityResolution\": 123,\n \"rangeAmbiguity\": 123,\n \"velocityAmbiguity\": 123\n }\n },\n \"arbitraryPulseDopplerWaveform\": {\n \"pulseFile\": \"<string>\",\n \"pulseFileId\": \"<string>\"\n }\n },\n \"frequencyModulatedContinuousWaveform\": {\n \"systemFrequencyModulatedContinuousWaveform\": {\n \"centerFrequency\": 123,\n \"bandwidth\": 123,\n \"samplingRate\": 123,\n \"numberOfSamplesPerChirp\": 123,\n \"chirpInterval\": 123,\n \"numberOfChirpsInCoherentProcessingInterval\": 123\n },\n \"performanceFrequencyModulatedContinuousWaveform\": {\n \"centerFrequency\": 123,\n \"samplingRate\": 123,\n \"performance\": {\n \"rangeResolution\": 123,\n \"velocityResolution\": 123,\n \"rangeAmbiguity\": 123,\n \"velocityAmbiguity\": 123\n }\n },\n \"arbitraryFrequencyModulatedContinuousWaveform\": {\n \"chirpFile\": \"<string>\",\n \"chirpFileId\": \"<string>\"\n }\n }\n },\n \"transmissionPower\": 123,\n \"gain\": 123,\n \"noiseStandardDeviation\": 123,\n \"rangeDopplerProcessor\": {\n \"rangePixels\": 123,\n \"velocityPixels\": 123,\n \"rangeWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"velocityWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"centerVelocity\": 123\n },\n \"transmitterWeightingSequenceFile\": \"<string>\",\n \"propagation\": {\n \"coherentProcessingInterval\": 123\n }\n }\n }\n ],\n \"protectedModes\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"rangeDopplerProcessor\": {\n \"rangePixels\": 123,\n \"velocityPixels\": 123,\n \"rangeWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"velocityWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"centerVelocity\": 123\n },\n \"protectModel\": \"<string>\"\n }\n }\n ],\n \"antennaCopyParameters\": {\n \"sourceAntenna\": 123,\n \"destinationAntenna\": 123\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/avx-sensorlabs/v6/sensors/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"metadata\": {\n \"modelName\": \"<string>\",\n \"manufacturer\": \"<string>\",\n \"version\": \"<string>\",\n \"comment\": \"<string>\"\n },\n \"name\": \"<string>\",\n \"cameraModel\": {\n \"thermalCameraModel\": {},\n \"physicsBasedCameraModel\": {\n \"description\": \"<string>\",\n \"lensPhysicsBased\": {\n \"coatingTransmissionDistribution\": [\n {\n \"item1\": 123,\n \"item2\": 123\n }\n ],\n \"simpleChromaticAberration\": {\n \"focalLength\": 123,\n \"wavelengthOfFocalLength\": 123,\n \"focalShift\": 123\n },\n \"advancedChromaticAberration\": {\n \"spectralFocalLengthDistribution\": [\n {\n \"wavelength\": 123,\n \"focalLength\": 123\n }\n ]\n },\n \"circularAperture\": {\n \"apertureArea\": 123\n },\n \"regularConvexPolygonAperture\": {\n \"apertureArea\": 123,\n \"offsetAngle\": 123,\n \"edgeNumber\": 123\n }\n },\n \"lensCommon\": {\n \"fisheyeDistortion\": {\n \"a1\": 123,\n \"a2\": 123,\n \"a3\": 123,\n \"a4\": 123,\n \"a5\": 123\n },\n \"brownDistortion\": {\n \"k1\": 123,\n \"k2\": 123,\n \"k3\": 123,\n \"p1\": 123,\n \"p2\": 123\n },\n \"lensTransmission\": \"<string>\",\n \"lensDistortionPath\": \"<string>\",\n \"windshield\": {\n \"upDownCurvature\": 123,\n \"rightLeftCurvature\": 123,\n \"distanceFromCamera\": 123,\n \"thickness\": 123,\n \"inclination\": 123,\n \"spectralTransmissionDistribution\": [\n {\n \"item1\": 123,\n \"item2\": 123\n }\n ],\n \"refractiveIndexDistribution\": [\n {\n \"item1\": 123,\n \"item2\": 123\n }\n ]\n }\n },\n \"imagerPhysicsBased\": {\n \"quantumEfficiencyDistribution\": \"<string>\",\n \"bits\": 123,\n \"exposureTime\": 123,\n \"fullWellCapacity\": 123,\n \"capacitance\": 123,\n \"antiBloomingEfficiency\": 123,\n \"cfaTransmittance\": {\n \"redPixelTransmission\": \"<string>\",\n \"greenPixelTransmission\": \"<string>\",\n \"bluePixelTransmission\": \"<string>\"\n },\n \"readoutNoise\": {\n \"readoutNoiseAverage\": 123,\n \"readoutNoiseStandard\": 123\n },\n \"overallPixelFillFactor\": 123,\n \"thermalNoiseSimple\": {\n \"darkCurrentAverageValue\": 123\n },\n \"thermalNoiseAdvanced\": {\n \"darkCurrentReferenceValue\": 123,\n \"darkCurrentReferenceTemperature\": 123,\n \"imagerTemperature\": 123,\n \"darkCurrentCoefficient\": 123\n }\n },\n \"protectedImagerPhysicsBased\": \"<string>\",\n \"imagerCommon\": {\n \"size\": {\n \"width\": 123,\n \"height\": 123\n },\n \"resolution\": {\n \"width\": 123,\n \"height\": 123\n },\n \"protectedSize\": \"<string>\"\n },\n \"customPostProcessing\": {\n \"fragmentShader\": \"<string>\"\n }\n }\n },\n \"lidarModel\": {\n \"rotatingLidar\": {\n \"rotationSpeed\": 123,\n \"emitter\": {\n \"frequency\": 123,\n \"wavelength\": 123,\n \"extinctionCoefficient\": 123,\n \"beamShape\": {\n \"divergence\": {\n \"horizontal\": 123,\n \"vertical\": 123\n }\n },\n \"firingSequenceFilePath\": \"<string>\"\n },\n \"receiver\": {\n \"apertureArea\": 123,\n \"photodetector\": {\n \"responsivity\": 123,\n \"maxCurrent\": 123,\n \"noiseStandardDeviation\": 123\n },\n \"processor\": {\n \"analogToDigitalConverter\": {\n \"samplingFrequency\": 123,\n \"bitResolution\": 123\n },\n \"maxReturns\": 123,\n \"maxRange\": 123\n },\n \"lensDistortionPath\": \"<string>\"\n }\n },\n \"flashLidar\": {\n \"emitter\": {\n \"frequency\": 123,\n \"laserPulse\": {\n \"peakPower\": 123,\n \"duration\": 123\n },\n \"wavelength\": 123,\n \"extinctionCoefficient\": 123,\n \"gaussianBeamShape\": {\n \"divergence\": {\n \"horizontal\": 123,\n \"vertical\": 123\n }\n },\n \"beamShapeIdentity\": {\n \"intensityFilePath\": \"<string>\"\n }\n },\n \"receiver\": {\n \"lensSystem\": {\n \"apertureArea\": 123,\n \"fieldOfView\": {\n \"horizontal\": 123,\n \"vertical\": 123\n },\n \"lensDistortion\": {\n \"radialDistortion\": {\n \"k1\": 123,\n \"k2\": 123,\n \"k3\": 123\n },\n \"tangentialDistortion\": {\n \"p1\": 123,\n \"p2\": 123\n },\n \"lensDistortionPath\": \"<string>\"\n }\n },\n \"lidarResolutionInPixels\": {\n \"horizontal\": 123,\n \"vertical\": 123\n },\n \"photodetector\": {\n \"responsivity\": 123,\n \"maxCurrent\": 123,\n \"noiseStandardDeviation\": 123\n },\n \"processor\": {\n \"analogToDigitalConverter\": {\n \"samplingFrequency\": 123,\n \"bitResolution\": 123\n },\n \"maxReturns\": 123,\n \"maxRange\": 123\n }\n }\n }\n },\n \"radarModel\": {\n \"txAntennas\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"antenna\": {\n \"beam\": {\n \"halfPowerHorizontalWidth\": 123,\n \"halfPowerVerticalWidth\": 123\n },\n \"patternIdentity\": {\n \"antennaPatternFilePath\": \"<string>\"\n },\n \"realizedPeakGain\": 123\n },\n \"position\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n },\n \"orientation\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n }\n }\n }\n ],\n \"rxAntennas\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"antenna\": {\n \"beam\": {\n \"halfPowerHorizontalWidth\": 123,\n \"halfPowerVerticalWidth\": 123\n },\n \"patternIdentity\": {\n \"antennaPatternFilePath\": \"<string>\"\n },\n \"realizedPeakGain\": 123\n },\n \"position\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n },\n \"orientation\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n }\n }\n }\n ],\n \"protectedTxAntennas\": [\n {\n \"item1\": 123,\n \"item2\": \"<string>\"\n }\n ],\n \"protectedRxAntennas\": [\n {\n \"item1\": 123,\n \"item2\": \"<string>\"\n }\n ],\n \"modes\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"txAntennas\": [\n 123\n ],\n \"rxAntennas\": [\n 123\n ],\n \"startDelay\": 123,\n \"waveform\": {\n \"pulseDopplerWaveform\": {\n \"systemPulseDopplerWaveform\": {\n \"centerFrequency\": 123,\n \"bandwidth\": 123,\n \"numberOfFrequencySamples\": 123,\n \"pulseInterval\": 123,\n \"numberOfPulsesInCoherentProcessingInterval\": 123\n },\n \"performancePulseDopplerWaveform\": {\n \"centerFrequency\": 123,\n \"performance\": {\n \"rangeResolution\": 123,\n \"velocityResolution\": 123,\n \"rangeAmbiguity\": 123,\n \"velocityAmbiguity\": 123\n }\n },\n \"arbitraryPulseDopplerWaveform\": {\n \"pulseFile\": \"<string>\",\n \"pulseFileId\": \"<string>\"\n }\n },\n \"frequencyModulatedContinuousWaveform\": {\n \"systemFrequencyModulatedContinuousWaveform\": {\n \"centerFrequency\": 123,\n \"bandwidth\": 123,\n \"samplingRate\": 123,\n \"numberOfSamplesPerChirp\": 123,\n \"chirpInterval\": 123,\n \"numberOfChirpsInCoherentProcessingInterval\": 123\n },\n \"performanceFrequencyModulatedContinuousWaveform\": {\n \"centerFrequency\": 123,\n \"samplingRate\": 123,\n \"performance\": {\n \"rangeResolution\": 123,\n \"velocityResolution\": 123,\n \"rangeAmbiguity\": 123,\n \"velocityAmbiguity\": 123\n }\n },\n \"arbitraryFrequencyModulatedContinuousWaveform\": {\n \"chirpFile\": \"<string>\",\n \"chirpFileId\": \"<string>\"\n }\n }\n },\n \"transmissionPower\": 123,\n \"gain\": 123,\n \"noiseStandardDeviation\": 123,\n \"rangeDopplerProcessor\": {\n \"rangePixels\": 123,\n \"velocityPixels\": 123,\n \"rangeWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"velocityWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"centerVelocity\": 123\n },\n \"transmitterWeightingSequenceFile\": \"<string>\",\n \"propagation\": {\n \"coherentProcessingInterval\": 123\n }\n }\n }\n ],\n \"protectedModes\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"rangeDopplerProcessor\": {\n \"rangePixels\": 123,\n \"velocityPixels\": 123,\n \"rangeWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"velocityWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"centerVelocity\": 123\n },\n \"protectModel\": \"<string>\"\n }\n }\n ],\n \"antennaCopyParameters\": {\n \"sourceAntenna\": 123,\n \"destinationAntenna\": 123\n }\n }\n}"
response = http.request(request)
puts response.read_bodyusing RestSharp;
var options = new RestClientOptions("https://api.example.com/avx-sensorlabs/v6/sensors/{id}");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddJsonBody("{\n \"metadata\": {\n \"modelName\": \"<string>\",\n \"manufacturer\": \"<string>\",\n \"version\": \"<string>\",\n \"comment\": \"<string>\"\n },\n \"name\": \"<string>\",\n \"cameraModel\": {\n \"thermalCameraModel\": {},\n \"physicsBasedCameraModel\": {\n \"description\": \"<string>\",\n \"lensPhysicsBased\": {\n \"coatingTransmissionDistribution\": [\n {\n \"item1\": 123,\n \"item2\": 123\n }\n ],\n \"simpleChromaticAberration\": {\n \"focalLength\": 123,\n \"wavelengthOfFocalLength\": 123,\n \"focalShift\": 123\n },\n \"advancedChromaticAberration\": {\n \"spectralFocalLengthDistribution\": [\n {\n \"wavelength\": 123,\n \"focalLength\": 123\n }\n ]\n },\n \"circularAperture\": {\n \"apertureArea\": 123\n },\n \"regularConvexPolygonAperture\": {\n \"apertureArea\": 123,\n \"offsetAngle\": 123,\n \"edgeNumber\": 123\n }\n },\n \"lensCommon\": {\n \"fisheyeDistortion\": {\n \"a1\": 123,\n \"a2\": 123,\n \"a3\": 123,\n \"a4\": 123,\n \"a5\": 123\n },\n \"brownDistortion\": {\n \"k1\": 123,\n \"k2\": 123,\n \"k3\": 123,\n \"p1\": 123,\n \"p2\": 123\n },\n \"lensTransmission\": \"<string>\",\n \"lensDistortionPath\": \"<string>\",\n \"windshield\": {\n \"upDownCurvature\": 123,\n \"rightLeftCurvature\": 123,\n \"distanceFromCamera\": 123,\n \"thickness\": 123,\n \"inclination\": 123,\n \"spectralTransmissionDistribution\": [\n {\n \"item1\": 123,\n \"item2\": 123\n }\n ],\n \"refractiveIndexDistribution\": [\n {\n \"item1\": 123,\n \"item2\": 123\n }\n ]\n }\n },\n \"imagerPhysicsBased\": {\n \"quantumEfficiencyDistribution\": \"<string>\",\n \"bits\": 123,\n \"exposureTime\": 123,\n \"fullWellCapacity\": 123,\n \"capacitance\": 123,\n \"antiBloomingEfficiency\": 123,\n \"cfaTransmittance\": {\n \"redPixelTransmission\": \"<string>\",\n \"greenPixelTransmission\": \"<string>\",\n \"bluePixelTransmission\": \"<string>\"\n },\n \"readoutNoise\": {\n \"readoutNoiseAverage\": 123,\n \"readoutNoiseStandard\": 123\n },\n \"overallPixelFillFactor\": 123,\n \"thermalNoiseSimple\": {\n \"darkCurrentAverageValue\": 123\n },\n \"thermalNoiseAdvanced\": {\n \"darkCurrentReferenceValue\": 123,\n \"darkCurrentReferenceTemperature\": 123,\n \"imagerTemperature\": 123,\n \"darkCurrentCoefficient\": 123\n }\n },\n \"protectedImagerPhysicsBased\": \"<string>\",\n \"imagerCommon\": {\n \"size\": {\n \"width\": 123,\n \"height\": 123\n },\n \"resolution\": {\n \"width\": 123,\n \"height\": 123\n },\n \"protectedSize\": \"<string>\"\n },\n \"customPostProcessing\": {\n \"fragmentShader\": \"<string>\"\n }\n }\n },\n \"lidarModel\": {\n \"rotatingLidar\": {\n \"rotationSpeed\": 123,\n \"emitter\": {\n \"frequency\": 123,\n \"wavelength\": 123,\n \"extinctionCoefficient\": 123,\n \"beamShape\": {\n \"divergence\": {\n \"horizontal\": 123,\n \"vertical\": 123\n }\n },\n \"firingSequenceFilePath\": \"<string>\"\n },\n \"receiver\": {\n \"apertureArea\": 123,\n \"photodetector\": {\n \"responsivity\": 123,\n \"maxCurrent\": 123,\n \"noiseStandardDeviation\": 123\n },\n \"processor\": {\n \"analogToDigitalConverter\": {\n \"samplingFrequency\": 123,\n \"bitResolution\": 123\n },\n \"maxReturns\": 123,\n \"maxRange\": 123\n },\n \"lensDistortionPath\": \"<string>\"\n }\n },\n \"flashLidar\": {\n \"emitter\": {\n \"frequency\": 123,\n \"laserPulse\": {\n \"peakPower\": 123,\n \"duration\": 123\n },\n \"wavelength\": 123,\n \"extinctionCoefficient\": 123,\n \"gaussianBeamShape\": {\n \"divergence\": {\n \"horizontal\": 123,\n \"vertical\": 123\n }\n },\n \"beamShapeIdentity\": {\n \"intensityFilePath\": \"<string>\"\n }\n },\n \"receiver\": {\n \"lensSystem\": {\n \"apertureArea\": 123,\n \"fieldOfView\": {\n \"horizontal\": 123,\n \"vertical\": 123\n },\n \"lensDistortion\": {\n \"radialDistortion\": {\n \"k1\": 123,\n \"k2\": 123,\n \"k3\": 123\n },\n \"tangentialDistortion\": {\n \"p1\": 123,\n \"p2\": 123\n },\n \"lensDistortionPath\": \"<string>\"\n }\n },\n \"lidarResolutionInPixels\": {\n \"horizontal\": 123,\n \"vertical\": 123\n },\n \"photodetector\": {\n \"responsivity\": 123,\n \"maxCurrent\": 123,\n \"noiseStandardDeviation\": 123\n },\n \"processor\": {\n \"analogToDigitalConverter\": {\n \"samplingFrequency\": 123,\n \"bitResolution\": 123\n },\n \"maxReturns\": 123,\n \"maxRange\": 123\n }\n }\n }\n },\n \"radarModel\": {\n \"txAntennas\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"antenna\": {\n \"beam\": {\n \"halfPowerHorizontalWidth\": 123,\n \"halfPowerVerticalWidth\": 123\n },\n \"patternIdentity\": {\n \"antennaPatternFilePath\": \"<string>\"\n },\n \"realizedPeakGain\": 123\n },\n \"position\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n },\n \"orientation\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n }\n }\n }\n ],\n \"rxAntennas\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"antenna\": {\n \"beam\": {\n \"halfPowerHorizontalWidth\": 123,\n \"halfPowerVerticalWidth\": 123\n },\n \"patternIdentity\": {\n \"antennaPatternFilePath\": \"<string>\"\n },\n \"realizedPeakGain\": 123\n },\n \"position\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n },\n \"orientation\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n }\n }\n }\n ],\n \"protectedTxAntennas\": [\n {\n \"item1\": 123,\n \"item2\": \"<string>\"\n }\n ],\n \"protectedRxAntennas\": [\n {\n \"item1\": 123,\n \"item2\": \"<string>\"\n }\n ],\n \"modes\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"txAntennas\": [\n 123\n ],\n \"rxAntennas\": [\n 123\n ],\n \"startDelay\": 123,\n \"waveform\": {\n \"pulseDopplerWaveform\": {\n \"systemPulseDopplerWaveform\": {\n \"centerFrequency\": 123,\n \"bandwidth\": 123,\n \"numberOfFrequencySamples\": 123,\n \"pulseInterval\": 123,\n \"numberOfPulsesInCoherentProcessingInterval\": 123\n },\n \"performancePulseDopplerWaveform\": {\n \"centerFrequency\": 123,\n \"performance\": {\n \"rangeResolution\": 123,\n \"velocityResolution\": 123,\n \"rangeAmbiguity\": 123,\n \"velocityAmbiguity\": 123\n }\n },\n \"arbitraryPulseDopplerWaveform\": {\n \"pulseFile\": \"<string>\",\n \"pulseFileId\": \"<string>\"\n }\n },\n \"frequencyModulatedContinuousWaveform\": {\n \"systemFrequencyModulatedContinuousWaveform\": {\n \"centerFrequency\": 123,\n \"bandwidth\": 123,\n \"samplingRate\": 123,\n \"numberOfSamplesPerChirp\": 123,\n \"chirpInterval\": 123,\n \"numberOfChirpsInCoherentProcessingInterval\": 123\n },\n \"performanceFrequencyModulatedContinuousWaveform\": {\n \"centerFrequency\": 123,\n \"samplingRate\": 123,\n \"performance\": {\n \"rangeResolution\": 123,\n \"velocityResolution\": 123,\n \"rangeAmbiguity\": 123,\n \"velocityAmbiguity\": 123\n }\n },\n \"arbitraryFrequencyModulatedContinuousWaveform\": {\n \"chirpFile\": \"<string>\",\n \"chirpFileId\": \"<string>\"\n }\n }\n },\n \"transmissionPower\": 123,\n \"gain\": 123,\n \"noiseStandardDeviation\": 123,\n \"rangeDopplerProcessor\": {\n \"rangePixels\": 123,\n \"velocityPixels\": 123,\n \"rangeWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"velocityWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"centerVelocity\": 123\n },\n \"transmitterWeightingSequenceFile\": \"<string>\",\n \"propagation\": {\n \"coherentProcessingInterval\": 123\n }\n }\n }\n ],\n \"protectedModes\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"rangeDopplerProcessor\": {\n \"rangePixels\": 123,\n \"velocityPixels\": 123,\n \"rangeWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"velocityWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"centerVelocity\": 123\n },\n \"protectModel\": \"<string>\"\n }\n }\n ],\n \"antennaCopyParameters\": {\n \"sourceAntenna\": 123,\n \"destinationAntenna\": 123\n }\n }\n}", false);
var response = await client.PutAsync(request);
Console.WriteLine("{0}", response.Content);
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "PUT");
curl_easy_setopt(hnd, CURLOPT_WRITEDATA, stdout);
curl_easy_setopt(hnd, CURLOPT_URL, "https://api.example.com/avx-sensorlabs/v6/sensors/{id}");
struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "Content-Type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);
curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n \"metadata\": {\n \"modelName\": \"<string>\",\n \"manufacturer\": \"<string>\",\n \"version\": \"<string>\",\n \"comment\": \"<string>\"\n },\n \"name\": \"<string>\",\n \"cameraModel\": {\n \"thermalCameraModel\": {},\n \"physicsBasedCameraModel\": {\n \"description\": \"<string>\",\n \"lensPhysicsBased\": {\n \"coatingTransmissionDistribution\": [\n {\n \"item1\": 123,\n \"item2\": 123\n }\n ],\n \"simpleChromaticAberration\": {\n \"focalLength\": 123,\n \"wavelengthOfFocalLength\": 123,\n \"focalShift\": 123\n },\n \"advancedChromaticAberration\": {\n \"spectralFocalLengthDistribution\": [\n {\n \"wavelength\": 123,\n \"focalLength\": 123\n }\n ]\n },\n \"circularAperture\": {\n \"apertureArea\": 123\n },\n \"regularConvexPolygonAperture\": {\n \"apertureArea\": 123,\n \"offsetAngle\": 123,\n \"edgeNumber\": 123\n }\n },\n \"lensCommon\": {\n \"fisheyeDistortion\": {\n \"a1\": 123,\n \"a2\": 123,\n \"a3\": 123,\n \"a4\": 123,\n \"a5\": 123\n },\n \"brownDistortion\": {\n \"k1\": 123,\n \"k2\": 123,\n \"k3\": 123,\n \"p1\": 123,\n \"p2\": 123\n },\n \"lensTransmission\": \"<string>\",\n \"lensDistortionPath\": \"<string>\",\n \"windshield\": {\n \"upDownCurvature\": 123,\n \"rightLeftCurvature\": 123,\n \"distanceFromCamera\": 123,\n \"thickness\": 123,\n \"inclination\": 123,\n \"spectralTransmissionDistribution\": [\n {\n \"item1\": 123,\n \"item2\": 123\n }\n ],\n \"refractiveIndexDistribution\": [\n {\n \"item1\": 123,\n \"item2\": 123\n }\n ]\n }\n },\n \"imagerPhysicsBased\": {\n \"quantumEfficiencyDistribution\": \"<string>\",\n \"bits\": 123,\n \"exposureTime\": 123,\n \"fullWellCapacity\": 123,\n \"capacitance\": 123,\n \"antiBloomingEfficiency\": 123,\n \"cfaTransmittance\": {\n \"redPixelTransmission\": \"<string>\",\n \"greenPixelTransmission\": \"<string>\",\n \"bluePixelTransmission\": \"<string>\"\n },\n \"readoutNoise\": {\n \"readoutNoiseAverage\": 123,\n \"readoutNoiseStandard\": 123\n },\n \"overallPixelFillFactor\": 123,\n \"thermalNoiseSimple\": {\n \"darkCurrentAverageValue\": 123\n },\n \"thermalNoiseAdvanced\": {\n \"darkCurrentReferenceValue\": 123,\n \"darkCurrentReferenceTemperature\": 123,\n \"imagerTemperature\": 123,\n \"darkCurrentCoefficient\": 123\n }\n },\n \"protectedImagerPhysicsBased\": \"<string>\",\n \"imagerCommon\": {\n \"size\": {\n \"width\": 123,\n \"height\": 123\n },\n \"resolution\": {\n \"width\": 123,\n \"height\": 123\n },\n \"protectedSize\": \"<string>\"\n },\n \"customPostProcessing\": {\n \"fragmentShader\": \"<string>\"\n }\n }\n },\n \"lidarModel\": {\n \"rotatingLidar\": {\n \"rotationSpeed\": 123,\n \"emitter\": {\n \"frequency\": 123,\n \"wavelength\": 123,\n \"extinctionCoefficient\": 123,\n \"beamShape\": {\n \"divergence\": {\n \"horizontal\": 123,\n \"vertical\": 123\n }\n },\n \"firingSequenceFilePath\": \"<string>\"\n },\n \"receiver\": {\n \"apertureArea\": 123,\n \"photodetector\": {\n \"responsivity\": 123,\n \"maxCurrent\": 123,\n \"noiseStandardDeviation\": 123\n },\n \"processor\": {\n \"analogToDigitalConverter\": {\n \"samplingFrequency\": 123,\n \"bitResolution\": 123\n },\n \"maxReturns\": 123,\n \"maxRange\": 123\n },\n \"lensDistortionPath\": \"<string>\"\n }\n },\n \"flashLidar\": {\n \"emitter\": {\n \"frequency\": 123,\n \"laserPulse\": {\n \"peakPower\": 123,\n \"duration\": 123\n },\n \"wavelength\": 123,\n \"extinctionCoefficient\": 123,\n \"gaussianBeamShape\": {\n \"divergence\": {\n \"horizontal\": 123,\n \"vertical\": 123\n }\n },\n \"beamShapeIdentity\": {\n \"intensityFilePath\": \"<string>\"\n }\n },\n \"receiver\": {\n \"lensSystem\": {\n \"apertureArea\": 123,\n \"fieldOfView\": {\n \"horizontal\": 123,\n \"vertical\": 123\n },\n \"lensDistortion\": {\n \"radialDistortion\": {\n \"k1\": 123,\n \"k2\": 123,\n \"k3\": 123\n },\n \"tangentialDistortion\": {\n \"p1\": 123,\n \"p2\": 123\n },\n \"lensDistortionPath\": \"<string>\"\n }\n },\n \"lidarResolutionInPixels\": {\n \"horizontal\": 123,\n \"vertical\": 123\n },\n \"photodetector\": {\n \"responsivity\": 123,\n \"maxCurrent\": 123,\n \"noiseStandardDeviation\": 123\n },\n \"processor\": {\n \"analogToDigitalConverter\": {\n \"samplingFrequency\": 123,\n \"bitResolution\": 123\n },\n \"maxReturns\": 123,\n \"maxRange\": 123\n }\n }\n }\n },\n \"radarModel\": {\n \"txAntennas\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"antenna\": {\n \"beam\": {\n \"halfPowerHorizontalWidth\": 123,\n \"halfPowerVerticalWidth\": 123\n },\n \"patternIdentity\": {\n \"antennaPatternFilePath\": \"<string>\"\n },\n \"realizedPeakGain\": 123\n },\n \"position\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n },\n \"orientation\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n }\n }\n }\n ],\n \"rxAntennas\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"antenna\": {\n \"beam\": {\n \"halfPowerHorizontalWidth\": 123,\n \"halfPowerVerticalWidth\": 123\n },\n \"patternIdentity\": {\n \"antennaPatternFilePath\": \"<string>\"\n },\n \"realizedPeakGain\": 123\n },\n \"position\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n },\n \"orientation\": {\n \"x\": 123,\n \"y\": 123,\n \"z\": 123\n }\n }\n }\n ],\n \"protectedTxAntennas\": [\n {\n \"item1\": 123,\n \"item2\": \"<string>\"\n }\n ],\n \"protectedRxAntennas\": [\n {\n \"item1\": 123,\n \"item2\": \"<string>\"\n }\n ],\n \"modes\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"txAntennas\": [\n 123\n ],\n \"rxAntennas\": [\n 123\n ],\n \"startDelay\": 123,\n \"waveform\": {\n \"pulseDopplerWaveform\": {\n \"systemPulseDopplerWaveform\": {\n \"centerFrequency\": 123,\n \"bandwidth\": 123,\n \"numberOfFrequencySamples\": 123,\n \"pulseInterval\": 123,\n \"numberOfPulsesInCoherentProcessingInterval\": 123\n },\n \"performancePulseDopplerWaveform\": {\n \"centerFrequency\": 123,\n \"performance\": {\n \"rangeResolution\": 123,\n \"velocityResolution\": 123,\n \"rangeAmbiguity\": 123,\n \"velocityAmbiguity\": 123\n }\n },\n \"arbitraryPulseDopplerWaveform\": {\n \"pulseFile\": \"<string>\",\n \"pulseFileId\": \"<string>\"\n }\n },\n \"frequencyModulatedContinuousWaveform\": {\n \"systemFrequencyModulatedContinuousWaveform\": {\n \"centerFrequency\": 123,\n \"bandwidth\": 123,\n \"samplingRate\": 123,\n \"numberOfSamplesPerChirp\": 123,\n \"chirpInterval\": 123,\n \"numberOfChirpsInCoherentProcessingInterval\": 123\n },\n \"performanceFrequencyModulatedContinuousWaveform\": {\n \"centerFrequency\": 123,\n \"samplingRate\": 123,\n \"performance\": {\n \"rangeResolution\": 123,\n \"velocityResolution\": 123,\n \"rangeAmbiguity\": 123,\n \"velocityAmbiguity\": 123\n }\n },\n \"arbitraryFrequencyModulatedContinuousWaveform\": {\n \"chirpFile\": \"<string>\",\n \"chirpFileId\": \"<string>\"\n }\n }\n },\n \"transmissionPower\": 123,\n \"gain\": 123,\n \"noiseStandardDeviation\": 123,\n \"rangeDopplerProcessor\": {\n \"rangePixels\": 123,\n \"velocityPixels\": 123,\n \"rangeWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"velocityWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"centerVelocity\": 123\n },\n \"transmitterWeightingSequenceFile\": \"<string>\",\n \"propagation\": {\n \"coherentProcessingInterval\": 123\n }\n }\n }\n ],\n \"protectedModes\": [\n {\n \"item1\": 123,\n \"item2\": {\n \"rangeDopplerProcessor\": {\n \"rangePixels\": 123,\n \"velocityPixels\": 123,\n \"rangeWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"velocityWindow\": {\n \"flatWindow\": {},\n \"hammingWindow\": {},\n \"hannWindow\": {},\n \"taylorWindow\": {\n \"sideLobeLevel\": {\n \"value\": 123\n }\n }\n },\n \"centerVelocity\": 123\n },\n \"protectModel\": \"<string>\"\n }\n }\n ],\n \"antennaCopyParameters\": {\n \"sourceAntenna\": 123,\n \"destinationAntenna\": 123\n }\n }\n}");
CURLcode ret = curl_easy_perform(hnd);{
"sensorData": {
"metadata": {
"modelName": "<string>",
"manufacturer": "<string>",
"version": "<string>",
"comment": "<string>",
"sensorType": "Camera",
"compatibility": "None"
},
"name": "<string>",
"cameraModel": {
"thermalCameraModel": {},
"physicsBasedCameraModel": {
"description": "<string>",
"lensPhysicsBased": {
"coatingTransmissionDistribution": [
{
"item1": 123,
"item2": 123
}
],
"simpleChromaticAberration": {
"focalLength": 123,
"wavelengthOfFocalLength": 123,
"chromaticDispersion": "None",
"focalShift": 123
},
"advancedChromaticAberration": {
"spectralFocalLengthDistribution": [
{
"wavelength": 123,
"focalLength": 123
}
]
},
"circularAperture": {
"apertureArea": 123
},
"regularConvexPolygonAperture": {
"apertureArea": 123,
"offsetAngle": 123,
"edgeNumber": 123
}
},
"lensCommon": {
"fisheyeDistortion": {
"a1": 123,
"a2": 123,
"a3": 123,
"a4": 123,
"a5": 123
},
"brownDistortion": {
"k1": 123,
"k2": 123,
"k3": 123,
"p1": 123,
"p2": 123
},
"lensTransmission": "<string>",
"lensDistortionPath": "<string>",
"windshield": {
"upDownCurvature": 123,
"rightLeftCurvature": 123,
"distanceFromCamera": 123,
"thickness": 123,
"inclination": 123,
"spectralTransmissionDistribution": [
{
"item1": 123,
"item2": 123
}
],
"refractiveIndexDistribution": [
{
"item1": 123,
"item2": 123
}
]
}
},
"imagerPhysicsBased": {
"quantumEfficiencyDistribution": "<string>",
"bits": 123,
"exposureTime": 123,
"fullWellCapacity": 123,
"capacitance": 123,
"antiBloomingEfficiency": 123,
"cfaTransmittance": {
"redPixelTransmission": "<string>",
"greenPixelTransmission": "<string>",
"bluePixelTransmission": "<string>"
},
"readoutNoise": {
"readoutNoiseAverage": 123,
"readoutNoiseStandard": 123
},
"overallPixelFillFactor": 123,
"thermalNoiseSimple": {
"darkCurrentAverageValue": 123
},
"thermalNoiseAdvanced": {
"darkCurrentReferenceValue": 123,
"darkCurrentReferenceTemperature": 123,
"imagerTemperature": 123,
"darkCurrentCoefficient": 123
}
},
"protectedImagerPhysicsBased": "<string>",
"imagerCommon": {
"size": {
"width": 123,
"height": 123
},
"resolution": {
"width": 123,
"height": 123
},
"protectedSize": "<string>"
},
"electronics": {
"demosaicingConversion": {
"bitDepthReduction": 123,
"gammaCorrection": 123
},
"gain": 123,
"frameRate": 123,
"diffractionSpike": true,
"injectionConversion": {
"timeEncoding": {
"row": 123,
"column": 123,
"injectionTime": 123
}
}
},
"sensorOutput": "CameraOutput",
"customPostProcessing": {
"fragmentShader": "<string>",
"outputEncodingFormat": "Gray8"
}
}
},
"lidarModel": {
"rotatingLidar": {
"rotationSpeed": 123,
"emitter": {
"frequency": 123,
"wavelength": 123,
"extinctionCoefficient": 123,
"beamShape": {
"divergence": {
"horizontal": 123,
"vertical": 123
}
},
"firingSequenceFilePath": "<string>"
},
"receiver": {
"apertureArea": 123,
"photodetector": {
"responsivity": 123,
"maxCurrent": 123,
"noiseStandardDeviation": 123
},
"processor": {
"analogToDigitalConverter": {
"samplingFrequency": 123,
"bitResolution": 123
},
"maxReturns": 123,
"maxRange": 123
},
"lensDistortionPath": "<string>"
},
"sensorOutput": "LidarOutput"
},
"flashLidar": {
"emitter": {
"frequency": 123,
"laserPulse": {
"shape": "Gaussian",
"peakPower": 123,
"duration": 123
},
"wavelength": 123,
"extinctionCoefficient": 123,
"gaussianBeamShape": {
"divergence": {
"horizontal": 123,
"vertical": 123
}
},
"beamShapeIdentity": {
"intensityFilePath": "<string>"
}
},
"receiver": {
"lensSystem": {
"apertureArea": 123,
"fieldOfView": {
"horizontal": 123,
"vertical": 123
},
"lensDistortion": {
"radialDistortion": {
"k1": 123,
"k2": 123,
"k3": 123
},
"tangentialDistortion": {
"p1": 123,
"p2": 123
},
"lensDistortionPath": "<string>"
}
},
"lidarResolutionInPixels": {
"horizontal": 123,
"vertical": 123
},
"photodetector": {
"responsivity": 123,
"maxCurrent": 123,
"noiseStandardDeviation": 123
},
"processor": {
"analogToDigitalConverter": {
"samplingFrequency": 123,
"bitResolution": 123
},
"maxReturns": 123,
"maxRange": 123
}
},
"sensorOutput": "LidarOutput"
}
},
"radarModel": {
"txAntennas": [
{
"item1": 123,
"item2": {
"antenna": {
"beam": {
"polarization": "Vertical",
"halfPowerHorizontalWidth": 123,
"halfPowerVerticalWidth": 123
},
"patternIdentity": {
"antennaPatternFilePath": "<string>"
},
"realizedPeakGain": 123
},
"position": {
"x": 123,
"y": 123,
"z": 123
},
"orientation": {
"x": 123,
"y": 123,
"z": 123
}
}
}
],
"rxAntennas": [
{
"item1": 123,
"item2": {
"antenna": {
"beam": {
"polarization": "Vertical",
"halfPowerHorizontalWidth": 123,
"halfPowerVerticalWidth": 123
},
"patternIdentity": {
"antennaPatternFilePath": "<string>"
},
"realizedPeakGain": 123
},
"position": {
"x": 123,
"y": 123,
"z": 123
},
"orientation": {
"x": 123,
"y": 123,
"z": 123
}
}
}
],
"protectedTxAntennas": [
{
"item1": 123,
"item2": "<string>"
}
],
"protectedRxAntennas": [
{
"item1": 123,
"item2": "<string>"
}
],
"modes": [
{
"item1": 123,
"item2": {
"txAntennas": [
123
],
"rxAntennas": [
123
],
"startDelay": 123,
"waveform": {
"pulseDopplerWaveform": {
"systemPulseDopplerWaveform": {
"centerFrequency": 123,
"bandwidth": 123,
"numberOfFrequencySamples": 123,
"pulseInterval": 123,
"numberOfPulsesInCoherentProcessingInterval": 123
},
"performancePulseDopplerWaveform": {
"centerFrequency": 123,
"performance": {
"rangeResolution": 123,
"velocityResolution": 123,
"rangeAmbiguity": 123,
"velocityAmbiguity": 123
}
},
"arbitraryPulseDopplerWaveform": {
"pulseFile": "<string>",
"pulseFileId": "<string>"
}
},
"frequencyModulatedContinuousWaveform": {
"systemFrequencyModulatedContinuousWaveform": {
"centerFrequency": 123,
"bandwidth": 123,
"samplingRate": 123,
"frequencySlope": "Positive",
"numberOfSamplesPerChirp": 123,
"chirpInterval": 123,
"numberOfChirpsInCoherentProcessingInterval": 123,
"rxComponents": "InPhase"
},
"performanceFrequencyModulatedContinuousWaveform": {
"centerFrequency": 123,
"samplingRate": 123,
"frequencySlope": "Positive",
"performance": {
"rangeResolution": 123,
"velocityResolution": 123,
"rangeAmbiguity": 123,
"velocityAmbiguity": 123
},
"rxComponents": "InPhase"
},
"arbitraryFrequencyModulatedContinuousWaveform": {
"chirpFile": "<string>",
"chirpFileId": "<string>"
}
}
},
"transmissionPower": 123,
"gainType": "Auto",
"gain": 123,
"noiseStandardDeviation": 123,
"rangeDopplerProcessor": {
"rangePixels": 123,
"velocityPixels": 123,
"rangeWindow": {
"flatWindow": {},
"hammingWindow": {},
"hannWindow": {},
"taylorWindow": {
"sideLobeLevel": {
"value": 123
}
}
},
"velocityWindow": {
"flatWindow": {},
"hammingWindow": {},
"hannWindow": {},
"taylorWindow": {
"sideLobeLevel": {
"value": 123
}
}
},
"centerVelocity": 123
},
"multiplexingType": "Interleaved",
"transmitterWeightingSequenceFile": "<string>",
"propagation": {
"coherentProcessingInterval": 123
}
}
}
],
"protectedModes": [
{
"item1": 123,
"item2": {
"rangeDopplerProcessor": {
"rangePixels": 123,
"velocityPixels": 123,
"rangeWindow": {
"flatWindow": {},
"hammingWindow": {},
"hannWindow": {},
"taylorWindow": {
"sideLobeLevel": {
"value": 123
}
}
},
"velocityWindow": {
"flatWindow": {},
"hammingWindow": {},
"hannWindow": {},
"taylorWindow": {
"sideLobeLevel": {
"value": 123
}
}
},
"centerVelocity": 123
},
"protectModel": "<string>"
}
}
],
"antennaCopyParameters": {
"antennaType": "Rx",
"sourceAntenna": 123,
"destinationAntenna": 123
}
}
},
"additionalInfo": {
"waveformWarnings": [
{
"modeId": 123,
"waveformStatus": "Correct",
"message": "<string>",
"warningCode": [
123
]
}
]
}
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}Body
application/jsontext/jsonapplication/*+json
Json containing all properties of the sensor.
Was this page helpful?