jarvisplot 1.0.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. jarvisplot/Figure/adapters.py +773 -0
  2. jarvisplot/Figure/cards/std_axes_adapter_config.json +23 -0
  3. jarvisplot/Figure/data_pipelines.py +87 -0
  4. jarvisplot/Figure/figure.py +1573 -0
  5. jarvisplot/Figure/helper.py +217 -0
  6. jarvisplot/Figure/load_data.py +252 -0
  7. jarvisplot/__init__.py +0 -0
  8. jarvisplot/cards/a4paper/1x1/ternary.json +6 -0
  9. jarvisplot/cards/a4paper/2x1/rect.json +106 -0
  10. jarvisplot/cards/a4paper/2x1/rect5x1.json +344 -0
  11. jarvisplot/cards/a4paper/2x1/rect_cmap.json +181 -0
  12. jarvisplot/cards/a4paper/2x1/ternary.json +139 -0
  13. jarvisplot/cards/a4paper/2x1/ternary_cmap.json +189 -0
  14. jarvisplot/cards/a4paper/4x1/rect.json +106 -0
  15. jarvisplot/cards/a4paper/4x1/rect_cmap.json +174 -0
  16. jarvisplot/cards/a4paper/4x1/ternary.json +139 -0
  17. jarvisplot/cards/a4paper/4x1/ternary_cmap.json +189 -0
  18. jarvisplot/cards/args.json +50 -0
  19. jarvisplot/cards/colors/colormaps.json +140 -0
  20. jarvisplot/cards/default/output.json +11 -0
  21. jarvisplot/cards/gambit/1x1/ternary.json +6 -0
  22. jarvisplot/cards/gambit/2x1/rect_cmap.json +200 -0
  23. jarvisplot/cards/gambit/2x1/ternary.json +139 -0
  24. jarvisplot/cards/gambit/2x1/ternary_cmap.json +205 -0
  25. jarvisplot/cards/icons/JarvisHEP.png +0 -0
  26. jarvisplot/cards/icons/gambit.png +0 -0
  27. jarvisplot/cards/icons/gambit_small.png +0 -0
  28. jarvisplot/cards/style_preference.json +23 -0
  29. jarvisplot/cli.py +64 -0
  30. jarvisplot/client.py +6 -0
  31. jarvisplot/config.py +69 -0
  32. jarvisplot/core.py +237 -0
  33. jarvisplot/data_loader.py +441 -0
  34. jarvisplot/inner_func.py +162 -0
  35. jarvisplot/utils/__init__.py +0 -0
  36. jarvisplot/utils/cmaps.py +258 -0
  37. jarvisplot/utils/interpolator.py +377 -0
  38. jarvisplot-1.0.1.dist-info/METADATA +80 -0
  39. jarvisplot-1.0.1.dist-info/RECORD +42 -0
  40. jarvisplot-1.0.1.dist-info/WHEEL +5 -0
  41. jarvisplot-1.0.1.dist-info/entry_points.txt +2 -0
  42. jarvisplot-1.0.1.dist-info/top_level.txt +1 -0
@@ -0,0 +1,189 @@
1
+ {
2
+ "Frame": {
3
+ "figure": {
4
+ "figsize": [
5
+ 3.3,
6
+ 2.75
7
+ ]
8
+ },
9
+ "axes": {
10
+ "axlogo": {
11
+ "rect": [
12
+ 0.01,
13
+ 0.01,
14
+ 0.06,
15
+ 0.072
16
+ ],
17
+ "frameon": false,
18
+ "yticks": [],
19
+ "xticks": [],
20
+ "xlim": [
21
+ 0,
22
+ 1024
23
+ ],
24
+ "ylim": [
25
+ 1024,
26
+ 0
27
+ ]
28
+ },
29
+ "axtri": {
30
+ "rect": [
31
+ 0.173,
32
+ 0.168,
33
+ 0.745,
34
+ 0.775
35
+ ],
36
+ "xlim": [
37
+ 0.0,
38
+ 1.0
39
+ ],
40
+ "ylim": [
41
+ 0.0,
42
+ 1.0
43
+ ],
44
+ "clip_on": false,
45
+ "frameon": false,
46
+ "yticks": [],
47
+ "xticks": []
48
+ },
49
+ "axc": {
50
+ "rect": [
51
+ 0.100,
52
+ 0.400,
53
+ 0.036,
54
+ 0.528
55
+ ],
56
+ "xticks": []
57
+ }
58
+ },
59
+ "axtri": {
60
+ "frame": {
61
+ "linewidth": 0.8,
62
+ "solid_capstyle": "projecting",
63
+ "solid_joinstyle": "miter",
64
+ "clip_on": false,
65
+ "c": "#21171A",
66
+ "zorder": 5
67
+ },
68
+ "grid": {
69
+ "sep": 0.1,
70
+ "style": {
71
+ "color": "#C2C2C269",
72
+ "linewidth": 0.3,
73
+ "linestyle": "--"
74
+ }
75
+ },
76
+ "ticks": {
77
+ "majorsep": 0.1,
78
+ "minorsep": 0.025,
79
+ "majorlength": 0.02,
80
+ "minorlength": 0.008,
81
+ "majorstyle": {
82
+ "color": "#21171A",
83
+ "linestyle": "-",
84
+ "linewidth": 0.6,
85
+ "clip_on": false,
86
+ "zorder": 4
87
+ },
88
+ "bottomticklables": {
89
+ "ha": "center",
90
+ "va": "top",
91
+ "fontsize": 6,
92
+ "fontfamily": "Fira code"
93
+ },
94
+ "leftticklables": {
95
+ "ha": "center",
96
+ "va": "center",
97
+ "fontsize": 6,
98
+ "fontfamily": "Fira code"
99
+ },
100
+ "rightticklables": {
101
+ "ha": "left",
102
+ "va": "center",
103
+ "fontsize": 6,
104
+ "fontfamily": "Fira code"
105
+ },
106
+ "minorstyle": {
107
+ "color": "grey",
108
+ "linestyle": "-",
109
+ "linewidth": 0.4,
110
+ "clip_on": false,
111
+ "zorder": 3
112
+ }
113
+ },
114
+ "labels": {
115
+ "leftstyle": {
116
+ "x": 0.1375,
117
+ "y": 0.575,
118
+ "rotation": 60,
119
+ "fontsize": 12,
120
+ "fontfamily": "STIXGeneral",
121
+ "ha": "center",
122
+ "va": "center"
123
+ },
124
+ "bottomstyle": {
125
+ "x": 0.5,
126
+ "y": -0.12,
127
+ "fontsize": 12,
128
+ "fontfamily": "STIXGeneral",
129
+ "ha": "center",
130
+ "va": "center"
131
+ },
132
+ "rightstyle": {
133
+ "x": 0.8625,
134
+ "y": 0.575,
135
+ "rotation": -60,
136
+ "fontsize": 12,
137
+ "fontfamily": "STIXGeneral",
138
+ "ha": "center",
139
+ "va": "center"
140
+ }
141
+ }
142
+ },
143
+ "axc": {
144
+ "label": {
145
+ "ylabel": "",
146
+ "loc": "top",
147
+ "fontsize": 12,
148
+ "fontfamily": "STIXGeneral"
149
+ },
150
+ "ticks": {
151
+ "both": {
152
+ "labelsize": 6,
153
+ "direction": "in",
154
+ "labelfontfamily": "sans",
155
+ "top": false,
156
+ "left": true,
157
+ "right": false,
158
+ "bottom": false,
159
+ "which": "both"
160
+ },
161
+ "major": {
162
+ "which": "major",
163
+ "length": 4,
164
+ "width": 0.4,
165
+ "color": "black"
166
+ },
167
+ "minor": {
168
+ "which": "minor",
169
+ "length": 2,
170
+ "width": 0.4,
171
+ "color": "black"
172
+ }
173
+ }
174
+ },
175
+ "axlogo": {
176
+ "file": "&JP/jarvisplot/cards/icons/jarvisHEP.png"
177
+ }
178
+ },
179
+ "Style": {
180
+ "scatter": {
181
+ "s": 1.0,
182
+ "marker": "^",
183
+ "linewidths": 0.02,
184
+ "alpha": 1.0,
185
+ "zorder": 30,
186
+ "edgecolor": "white"
187
+ }
188
+ }
189
+ }
@@ -0,0 +1,106 @@
1
+ {
2
+ "Frame": {
3
+ "figure": {
4
+ "figsize": [
5
+ 3.3,
6
+ 2.75
7
+ ]
8
+ },
9
+ "axes": {
10
+ "axlogo": {
11
+ "rect": [
12
+ 0.01,
13
+ 0.01,
14
+ 0.06,
15
+ 0.072
16
+ ],
17
+ "frameon": false,
18
+ "yticks": [],
19
+ "xticks": [],
20
+ "xlim": [
21
+ 0,
22
+ 1024
23
+ ],
24
+ "ylim": [
25
+ 1024,
26
+ 0
27
+ ]
28
+ },
29
+ "ax": {
30
+ "rect": [
31
+ 0.140,
32
+ 0.168,
33
+ 0.840,
34
+ 0.775
35
+ ]
36
+ }
37
+ },
38
+ "ax": {
39
+ "frame": {
40
+ "linewidth": 0.8,
41
+ "solid_capstyle": "projecting",
42
+ "solid_joinstyle": "miter",
43
+ "clip_on": false,
44
+ "c": "#21171A",
45
+ "zorder": 100
46
+ },
47
+ "grid": {
48
+ "sep": 0.1,
49
+ "style": {
50
+ "color": "#C2C2C269",
51
+ "linewidth": 0.3,
52
+ "linestyle": "--"
53
+ }
54
+ },
55
+ "ticks": {
56
+ "both": {
57
+ "labelsize": 6,
58
+ "direction": "in",
59
+ "labelfontfamily": "sans",
60
+ "top": true,
61
+ "left": true,
62
+ "right": true,
63
+ "bottom": true,
64
+ "which": "both"
65
+ },
66
+ "major": {
67
+ "which": "major",
68
+ "length": 4,
69
+ "width": 0.4,
70
+ "color": "black"
71
+ },
72
+ "minor": {
73
+ "which": "minor",
74
+ "length": 2,
75
+ "width": 0.4,
76
+ "color": "black"
77
+ }
78
+ },
79
+ "labels": {
80
+ "xlabel": {
81
+ "loc": "right",
82
+ "fontsize": 12,
83
+ "fontfamily": "STIXGeneral"
84
+ },
85
+ "ylabel": {
86
+ "loc": "top",
87
+ "fontsize": 12,
88
+ "fontfamily": "STIXGeneral"
89
+ }
90
+ }
91
+ },
92
+ "axlogo": {
93
+ "file": "&JP/jarvisplot/cards/icons/JarvisHEP.png"
94
+ }
95
+ },
96
+ "Style": {
97
+ "scatter": {
98
+ "s": 1.0,
99
+ "marker": "^",
100
+ "linewidths": 0.02,
101
+ "alpha": 1.0,
102
+ "zorder": 30,
103
+ "edgecolor": "white"
104
+ }
105
+ }
106
+ }
@@ -0,0 +1,174 @@
1
+ {
2
+ "Frame": {
3
+ "figure": {
4
+ "figsize": [
5
+ 1.70,
6
+ 1.93
7
+ ]
8
+ },
9
+ "axes": {
10
+ "axlogo": {
11
+ "rect": [
12
+ 0.01,
13
+ 0.0089,
14
+ 0.06,
15
+ 0.0528
16
+ ],
17
+ "frameon": false,
18
+ "yticks": [],
19
+ "xticks": [],
20
+ "xlim": [
21
+ 0,
22
+ 1024
23
+ ],
24
+ "ylim": [
25
+ 1024,
26
+ 0
27
+ ]
28
+ },
29
+ "ax": {
30
+ "rect": [
31
+ 0.214,
32
+ 0.150,
33
+ 0.742,
34
+ 0.653
35
+ ]
36
+ },
37
+ "axc": {
38
+ "rect": [
39
+ 0.224,
40
+ 0.816,
41
+ 0.722,
42
+ 0.036
43
+ ],
44
+ "yticks": []
45
+ }
46
+ },
47
+ "ax": {
48
+ "frame": {
49
+ "linewidth": 0.8,
50
+ "solid_capstyle": "projecting",
51
+ "solid_joinstyle": "miter",
52
+ "clip_on": false,
53
+ "c": "#21171A",
54
+ "zorder": 100
55
+ },
56
+ "grid": {
57
+ "sep": 0.1,
58
+ "style": {
59
+ "color": "#C2C2C269",
60
+ "linewidth": 0.3,
61
+ "linestyle": "--"
62
+ }
63
+ },
64
+ "ticks": {
65
+ "both": {
66
+ "pad": 2,
67
+ "labelsize": 5,
68
+ "direction": "in",
69
+ "labelfontfamily": "sans",
70
+ "top": true,
71
+ "left": true,
72
+ "right": true,
73
+ "bottom": true,
74
+ "which": "both",
75
+ "zorder": 1000
76
+ },
77
+ "major": {
78
+ "which": "major",
79
+ "length": 4,
80
+ "width": 0.4,
81
+ "color": "black",
82
+ "zorder": 1000
83
+ },
84
+ "minor": {
85
+ "which": "minor",
86
+ "length": 2,
87
+ "width": 0.4,
88
+ "color": "black",
89
+ "zorder": 1000
90
+ }
91
+ },
92
+ "labels": {
93
+ "zorder": 1000,
94
+ "xlabel": {
95
+ "loc": "center",
96
+ "fontsize": 10,
97
+ "fontfamily": "STIXGeneral"
98
+ },
99
+ "ylabel": {
100
+ "loc": "center",
101
+ "fontsize": 10,
102
+ "fontfamily": "STIXGeneral"
103
+ },
104
+ "ylabel_coords": {
105
+ "x": -0.16,
106
+ "y": 0.5
107
+ }
108
+ }
109
+ },
110
+ "axlogo": {
111
+ "file": "&JP/jarvisplot/cards/icons/JarvisHEP.png",
112
+ "text": [
113
+ {
114
+ "x": 1.0,
115
+ "y": 0.0,
116
+ "s": "Jarvis-HEP",
117
+ "ha": "left",
118
+ "va": "bottom",
119
+ "fontfamily": "Fira code",
120
+ "fontsize": 5,
121
+ "fontstyle": "normal",
122
+ "fontweight": "bold"
123
+ }
124
+ ]
125
+ },
126
+ "axc": {
127
+ "orientation": "horizontal",
128
+ "isylabel": false,
129
+ "isxlabel": true,
130
+ "label": {
131
+ "xlabel": "",
132
+ "loc": "center",
133
+ "fontsize": 10,
134
+ "fontfamily": "STIXGeneral"
135
+ },
136
+ "ticks": {
137
+ "ticks_position": "top",
138
+ "both": {
139
+ "pad": 1,
140
+ "labelsize": 5,
141
+ "direction": "in",
142
+ "labelfontfamily": "sans",
143
+ "top": true,
144
+ "left": false,
145
+ "right": false,
146
+ "bottom": false,
147
+ "which": "both"
148
+ },
149
+ "major": {
150
+ "which": "major",
151
+ "length": 4,
152
+ "width": 0.4,
153
+ "color": "black"
154
+ },
155
+ "minor": {
156
+ "which": "minor",
157
+ "length": 2,
158
+ "width": 0.4,
159
+ "color": "black"
160
+ }
161
+ }
162
+ }
163
+ },
164
+ "Style": {
165
+ "scatter": {
166
+ "s": 1.0,
167
+ "marker": ",",
168
+ "linewidths": 0.02,
169
+ "alpha": 1.0,
170
+ "zorder": 30,
171
+ "edgecolor": "None"
172
+ }
173
+ }
174
+ }
@@ -0,0 +1,139 @@
1
+ {
2
+ "Frame": {
3
+ "figure": {
4
+ "figsize": [
5
+ 3.3,
6
+ 2.75
7
+ ]
8
+ },
9
+ "axes": {
10
+ "axlogo": {
11
+ "rect": [
12
+ 0.01,
13
+ 0.01,
14
+ 0.06,
15
+ 0.072
16
+ ],
17
+ "frameon": false,
18
+ "yticks": [],
19
+ "xticks": [],
20
+ "xlim": [0, 1024],
21
+ "ylim": [1024, 0]
22
+ },
23
+ "axtri": {
24
+ "rect": [
25
+ 0.127,
26
+ 0.168,
27
+ 0.745,
28
+ 0.775
29
+ ],
30
+ "xlim": [
31
+ 0.0,
32
+ 1.0
33
+ ],
34
+ "ylim": [
35
+ 0.0,
36
+ 1.0
37
+ ],
38
+ "clip_on": false,
39
+ "frameon": false,
40
+ "yticks": [],
41
+ "xticks": []
42
+ }
43
+ },
44
+ "axtri":{
45
+ "frame": {
46
+ "linewidth": 0.8,
47
+ "solid_capstyle": "projecting",
48
+ "solid_joinstyle": "miter",
49
+ "clip_on": false,
50
+ "c": "#21171A",
51
+ "zorder": 100
52
+ },
53
+ "grid": {
54
+ "sep": 0.1,
55
+ "style": {
56
+ "color": "#C2C2C269",
57
+ "linewidth": 0.3,
58
+ "linestyle": "--"
59
+ }
60
+ },
61
+ "ticks": {
62
+ "majorsep": 0.1,
63
+ "minorsep": 0.025,
64
+ "majorlength": 0.02,
65
+ "minorlength": 0.008,
66
+ "majorstyle": {
67
+ "color": "#21171A",
68
+ "linestyle": "-",
69
+ "linewidth": 0.6,
70
+ "clip_on":false,
71
+ "zorder": 99
72
+ },
73
+ "bottomticklables": {
74
+ "ha": "center",
75
+ "va": "top",
76
+ "fontsize": 6,
77
+ "fontfamily": "Fira code"
78
+ },
79
+ "leftticklables": {
80
+ "ha": "center",
81
+ "va": "center",
82
+ "fontsize": 6,
83
+ "fontfamily": "Fira code"
84
+ },
85
+ "rightticklables": {
86
+ "ha": "left",
87
+ "va": "center",
88
+ "fontsize": 6,
89
+ "fontfamily": "Fira code"
90
+ },
91
+ "minorstyle": {
92
+ "color": "grey",
93
+ "linestyle": "-",
94
+ "linewidth": 0.4,
95
+ "clip_on":false,
96
+ "zorder": 98
97
+ }
98
+ },
99
+ "labels": {
100
+ "leftstyle": {
101
+ "x": 0.16,
102
+ "y": 0.56,
103
+ "rotation": 60,
104
+ "fontsize": 12,
105
+ "fontfamily": "STIXGeneral",
106
+ "ha":"center",
107
+ "va":"center"
108
+ },
109
+ "bottomstyle": {
110
+ "x": 0.5,
111
+ "y": -0.12,
112
+ "fontsize": 12,
113
+ "fontfamily": "STIXGeneral",
114
+ "ha":"center",
115
+ "va":"center"
116
+ },
117
+ "rightstyle": {
118
+ "x": 0.84,
119
+ "y": 0.56,
120
+ "rotation": -60,
121
+ "fontsize": 12,
122
+ "fontfamily": "STIXGeneral",
123
+ "ha":"center",
124
+ "va":"center"
125
+ }
126
+ }
127
+ }
128
+ },
129
+ "Style": {
130
+ "scatter": {
131
+ "s": 1.0,
132
+ "marker": "^",
133
+ "linewidths": 0.02,
134
+ "alpha": 1.0,
135
+ "zorder": 30,
136
+ "edgecolor": "white"
137
+ }
138
+ }
139
+ }