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

SPOTLIGHT_RENAME = {
    "audio": "original_audio",
    "path": "audio",
}