feat: add comparable localization algorithms
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
"arrayId": { "type": "string", "minLength": 1 },
|
||||
"sceneId": { "type": "string", "minLength": 1 },
|
||||
"createdAt": { "type": "string", "format": "date-time" },
|
||||
"algorithm": { "enum": ["das", "das-phat", "gcc-phat"] },
|
||||
"backend": { "enum": ["cpu", "webgpu"] },
|
||||
"inputHash": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
||||
"signalStats": {
|
||||
@@ -43,6 +44,7 @@
|
||||
"properties": {
|
||||
"total": { "type": "number", "minimum": 0 },
|
||||
"signalGeneration": { "type": "number", "minimum": 0 },
|
||||
"localization": { "type": "number", "minimum": 0 },
|
||||
"beamforming": { "type": "number", "minimum": 0 }
|
||||
}
|
||||
},
|
||||
@@ -64,7 +66,7 @@
|
||||
"properties": {
|
||||
"rows": { "type": "integer", "minimum": 1, "maximum": 512 },
|
||||
"columns": { "type": "integer", "minimum": 1, "maximum": 512 },
|
||||
"scale": { "enum": ["power", "normalized", "db"] },
|
||||
"scale": { "enum": ["power", "score", "normalized", "db"] },
|
||||
"values": {
|
||||
"type": "array", "minItems": 1, "maxItems": 262144,
|
||||
"items": { "type": "number" }
|
||||
@@ -91,7 +93,12 @@
|
||||
],
|
||||
"properties": {
|
||||
"calibrated": { "const": false },
|
||||
"method": { "const": "connected-half-power-power-weighted-covariance" },
|
||||
"method": {
|
||||
"enum": [
|
||||
"connected-half-power-power-weighted-covariance",
|
||||
"connected-half-maximum-score-weighted-covariance"
|
||||
]
|
||||
},
|
||||
"halfPowerRatio": { "type": "number", "exclusiveMinimum": 0, "maximum": 1 },
|
||||
"thresholdValue": { "type": "number", "minimum": 0 },
|
||||
"pixelCount": { "type": "integer", "minimum": 0, "maximum": 262144 },
|
||||
|
||||
Reference in New Issue
Block a user