added config file instead of download
Browse files- spotlight_config.py +32 -0
spotlight_config.py
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
SPOTLIGHT_LAYOUTS = {
|
2 |
+
"standard": {"orientation": "vertical", "children": [
|
3 |
+
{"kind": "split", "weight": 51.96463654223969, "orientation": "horizontal", "children": [
|
4 |
+
{"kind": "tab", "weight": 60, "children": [{"kind": "widget", "name": "Table", "type": "table",
|
5 |
+
"config": {"tableView": "full",
|
6 |
+
"visibleColumns": ["class", "class_name", "config",
|
7 |
+
"d1p", "d1v", "d2p", "d2v", "d3p",
|
8 |
+
"d3v", "file_path", "label",
|
9 |
+
"section", "split"],
|
10 |
+
"sorting": None, "orderByRelevance": False}}]},
|
11 |
+
{"kind": "tab", "weight": 40, "children": [
|
12 |
+
{"kind": "widget", "name": "Similarity Map", "type": "similaritymap",
|
13 |
+
"config": {"placeBy": None, "reductionMethod": None, "colorBy": None, "sizeBy": None, "filter": False,
|
14 |
+
"umapNNeighbors": None, "umapMetric": None, "umapMinDist": None, "pcaNormalization": None,
|
15 |
+
"umapMenuLocalGlobalBalance": None, "umapMenuIsAdvanced": False}},
|
16 |
+
{"kind": "widget", "name": "Scatter Plot", "type": "scatterplot",
|
17 |
+
"config": {"xAxisColumn": None, "yAxisColumn": None, "colorBy": None, "sizeBy": None,
|
18 |
+
"filter": False}}, {"kind": "widget", "name": "Histogram", "type": "histogram",
|
19 |
+
"config": {"columnKey": None, "stackByColumnKey": None,
|
20 |
+
"filter": False}}]}]},
|
21 |
+
{"kind": "tab", "weight": 48.03536345776031, "children": [
|
22 |
+
{"kind": "widget", "name": "Inspector", "type": "inspector", "config": {"views": [
|
23 |
+
{"view": "AudioView", "columns": ["audio"], "name": "view",
|
24 |
+
"key": "9c37fe2d-6305-436b-b944-30dbda7b1f4d"},
|
25 |
+
{"view": "SpectrogramView", "columns": ["audio"], "name": "view",
|
26 |
+
"key": "9e676bb9-0b21-4214-806f-4e8c0f6db4c3"}], "visibleColumns": 4}}]}]}
|
27 |
+
}
|
28 |
+
|
29 |
+
SPOTLIGHT_RENAME = {
|
30 |
+
"audio": "original_audio",
|
31 |
+
"path": "audio",
|
32 |
+
}
|