Skip to content

Commit d091995

Browse files
committed
update feature-weights block
1 parent 17798bd commit d091995

1 file changed

Lines changed: 91 additions & 55 deletions

File tree

aurora/config/templates/test_processing_config_with_weights_block.json

Lines changed: 91 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -163,28 +163,40 @@
163163
"ex"
164164
],
165165
"combination_style": "multiplication",
166-
"features": [
166+
"feature_weight_specs": [
167167
{
168-
"feature_name": "coherence",
169-
"feature_params": {
170-
"ch1": "ex",
171-
"ch2": "hy"
172-
},
173-
"window_style": "threshold",
174-
"window_params": {
175-
"min": 0.8,
176-
"max": "+inf"
168+
"feature_weight_spec": {
169+
"feature":{
170+
"name": "coherence",
171+
"ch1": "ex",
172+
"ch2": "hy"
173+
},
174+
"weight_kernels": [
175+
{
176+
"weight_kernel": {
177+
"weight_type": "monotonic",
178+
"min": 0.8,
179+
"max": "+inf"
180+
}
181+
}
182+
]
177183
}
178184
},
179185
{
180-
"feature_name": "multiple_coherence",
181-
"feature_params": {
182-
"output_channel": "ex"
183-
},
184-
"window_style": "threshold",
185-
"window_params": {
186-
"min": 0.9,
187-
"max": 1.1
186+
"feature_weight_spec": {
187+
"feature":{
188+
"name": "multiple_coherence",
189+
"output_channel": "ex"
190+
},
191+
"weight_kernels": [
192+
{
193+
"weight_kernel": {
194+
"weight_type": "taper",
195+
"min": 0.9,
196+
"max": 1.1
197+
}
198+
}
199+
]
188200
}
189201
}
190202
]
@@ -196,28 +208,40 @@
196208
"ey"
197209
],
198210
"combination_style": "multiplication",
199-
"features": [
211+
"feature_weight_specs": [
200212
{
201-
"feature_name": "coherence",
202-
"feature_params": {
203-
"ch1": "ey",
204-
"ch2": "hx"
205-
},
206-
"window_style": "threshold",
207-
"window_params": {
208-
"min": 0.8,
209-
"max": "+inf"
213+
"feature_weight_spec": {
214+
"feature": {
215+
"name": "coherence",
216+
"ch1": "ey",
217+
"ch2": "hx"
218+
},
219+
"weight_kernels": [
220+
{
221+
"weight_kernel": {
222+
"weight_type": "monotonic",
223+
"min": 0.8,
224+
"max": "+inf"
225+
}
226+
}
227+
]
210228
}
211229
},
212230
{
213-
"feature_name": "multiple_coherence",
214-
"feature_params": {
215-
"output_channel": "ey"
216-
},
217-
"window_style": "threshold",
218-
"window_params": {
219-
"min": 0.9,
220-
"max": 1.1
231+
"feature_weight_spec": {
232+
"feature": {
233+
"name": "multiple_coherence",
234+
"output_channel": "ey"
235+
},
236+
"weight_kernels": [
237+
{
238+
"weight_kernel": {
239+
"weight_type": "taper",
240+
"min": 0.8,
241+
"max": 1.2
242+
}
243+
}
244+
]
221245
}
222246
}
223247
]
@@ -229,29 +253,41 @@
229253
"hz"
230254
],
231255
"combination_style": "multiplication",
232-
"features": [
256+
"feature_weight_specs": [
233257
{
234-
"feature_name": "coherence",
235-
"feature_params": {
236-
"ch1": "hx",
237-
"ch2": "rx"
238-
},
239-
"window_style": "threshold",
240-
"window_params": {
241-
"min": 0.8,
242-
"max": "+inf"
258+
"feature_weight_spec": {
259+
"feature":{
260+
"name": "coherence",
261+
"ch1": "hx",
262+
"ch2": "rx"
263+
},
264+
"weight_kernels": [
265+
{
266+
"weight_kernel": {
267+
"weight_type": "threshold",
268+
"min": 0.7,
269+
"max": "+inf"
270+
}
271+
}
272+
]
243273
}
244274
},
245275
{
246-
"feature_name": "coherence",
247-
"feature_params": {
248-
"ch1": "hy",
249-
"ch2": "ry"
250-
},
251-
"window_style": "threshold",
252-
"window_params": {
253-
"min": 0.7,
254-
"max": 0.999
276+
"feature_weight_spec": {
277+
"feature":{
278+
"name": "coherence",
279+
"ch1": "hy",
280+
"ch2": "ry"
281+
},
282+
"weight_kernels": [
283+
{
284+
"weight_kernel": {
285+
"weight_type": "threshold",
286+
"min": 0.7,
287+
"max": "+inf"
288+
}
289+
}
290+
]
255291
}
256292
}
257293
]

0 commit comments

Comments
 (0)