jarvisplot 1.0.2__tar.gz
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.
Potentially problematic release.
This version of jarvisplot might be problematic. Click here for more details.
- jarvisplot-1.0.2/PKG-INFO +86 -0
- jarvisplot-1.0.2/README.md +73 -0
- jarvisplot-1.0.2/jarvisplot/Figure/__init__.py +1 -0
- jarvisplot-1.0.2/jarvisplot/Figure/adapters.py +773 -0
- jarvisplot-1.0.2/jarvisplot/Figure/cards/std_axes_adapter_config.json +23 -0
- jarvisplot-1.0.2/jarvisplot/Figure/data_pipelines.py +87 -0
- jarvisplot-1.0.2/jarvisplot/Figure/figure.py +1573 -0
- jarvisplot-1.0.2/jarvisplot/Figure/helper.py +217 -0
- jarvisplot-1.0.2/jarvisplot/Figure/load_data.py +252 -0
- jarvisplot-1.0.2/jarvisplot/__init__.py +0 -0
- jarvisplot-1.0.2/jarvisplot/cards/a4paper/1x1/ternary.json +6 -0
- jarvisplot-1.0.2/jarvisplot/cards/a4paper/2x1/rect.json +106 -0
- jarvisplot-1.0.2/jarvisplot/cards/a4paper/2x1/rect5x1.json +344 -0
- jarvisplot-1.0.2/jarvisplot/cards/a4paper/2x1/rect_cmap.json +181 -0
- jarvisplot-1.0.2/jarvisplot/cards/a4paper/2x1/ternary.json +139 -0
- jarvisplot-1.0.2/jarvisplot/cards/a4paper/2x1/ternary_cmap.json +189 -0
- jarvisplot-1.0.2/jarvisplot/cards/a4paper/4x1/rect.json +106 -0
- jarvisplot-1.0.2/jarvisplot/cards/a4paper/4x1/rect_cmap.json +174 -0
- jarvisplot-1.0.2/jarvisplot/cards/a4paper/4x1/ternary.json +139 -0
- jarvisplot-1.0.2/jarvisplot/cards/a4paper/4x1/ternary_cmap.json +189 -0
- jarvisplot-1.0.2/jarvisplot/cards/args.json +50 -0
- jarvisplot-1.0.2/jarvisplot/cards/colors/colormaps.json +140 -0
- jarvisplot-1.0.2/jarvisplot/cards/default/output.json +11 -0
- jarvisplot-1.0.2/jarvisplot/cards/gambit/1x1/ternary.json +6 -0
- jarvisplot-1.0.2/jarvisplot/cards/gambit/2x1/rect_cmap.json +200 -0
- jarvisplot-1.0.2/jarvisplot/cards/gambit/2x1/ternary.json +139 -0
- jarvisplot-1.0.2/jarvisplot/cards/gambit/2x1/ternary_cmap.json +205 -0
- jarvisplot-1.0.2/jarvisplot/cards/icons/JarvisHEP.png +0 -0
- jarvisplot-1.0.2/jarvisplot/cards/icons/gambit.png +0 -0
- jarvisplot-1.0.2/jarvisplot/cards/icons/gambit_small.png +0 -0
- jarvisplot-1.0.2/jarvisplot/cards/style_preference.json +23 -0
- jarvisplot-1.0.2/jarvisplot/cli.py +65 -0
- jarvisplot-1.0.2/jarvisplot/client.py +7 -0
- jarvisplot-1.0.2/jarvisplot/config.py +69 -0
- jarvisplot-1.0.2/jarvisplot/core.py +237 -0
- jarvisplot-1.0.2/jarvisplot/data_loader.py +441 -0
- jarvisplot-1.0.2/jarvisplot/inner_func.py +162 -0
- jarvisplot-1.0.2/jarvisplot/utils/__init__.py +0 -0
- jarvisplot-1.0.2/jarvisplot/utils/cmaps.py +258 -0
- jarvisplot-1.0.2/jarvisplot/utils/interpolator.py +377 -0
- jarvisplot-1.0.2/jarvisplot.egg-info/PKG-INFO +86 -0
- jarvisplot-1.0.2/jarvisplot.egg-info/SOURCES.txt +46 -0
- jarvisplot-1.0.2/jarvisplot.egg-info/dependency_links.txt +1 -0
- jarvisplot-1.0.2/jarvisplot.egg-info/entry_points.txt +2 -0
- jarvisplot-1.0.2/jarvisplot.egg-info/requires.txt +6 -0
- jarvisplot-1.0.2/jarvisplot.egg-info/top_level.txt +1 -0
- jarvisplot-1.0.2/pyproject.toml +31 -0
- jarvisplot-1.0.2/setup.cfg +4 -0
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: jarvisplot
|
|
3
|
+
Version: 1.0.2
|
|
4
|
+
Summary: JarvisPLOT: YAML-driven plotting engine
|
|
5
|
+
Requires-Python: >=3.10
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
Requires-Dist: loguru
|
|
8
|
+
Requires-Dist: pyyaml
|
|
9
|
+
Requires-Dist: jsonschema
|
|
10
|
+
Requires-Dist: numpy
|
|
11
|
+
Requires-Dist: pandas
|
|
12
|
+
Requires-Dist: matplotlib
|
|
13
|
+
|
|
14
|
+
# JarvisPLOT
|
|
15
|
+
|
|
16
|
+
JarvisPLOT is a lightweight, Python/Matplotlib-based plotting framework developed for **Jarvis-HEP**,
|
|
17
|
+
but it can also be used as a **standalone scientific plotting tool**.
|
|
18
|
+
|
|
19
|
+
It provides a simple command-line interface (CLI) to generate publication-quality figures from YAML configuration files, with most layout and style decisions handled by predefined profiles and style cards.
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## Installation
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
pip install jarvisplot
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Command-Line Usage
|
|
30
|
+
|
|
31
|
+
Display help information:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
jplot -h
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Run JarvisPLOT with one or more YAML configuration files:
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
jplot path/to/config.yaml
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### Example: SUSYRun2 Ternary Plots
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
jplot ./bin/SUSYRun2_EWMSSM.yaml
|
|
47
|
+
jplot ./bin/SUSYRun2_GEWMSSM.yaml
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
> **Note:** The data file paths inside the YAML files must be updated to match your local setup.
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## Notes
|
|
55
|
+
|
|
56
|
+
- Figures are saved automatically to the output paths defined in the YAML configuration.
|
|
57
|
+
- Common output formats include PNG and PDF (backend-dependent).
|
|
58
|
+
- JarvisPLOT works in headless environments (SSH, batch jobs) without any GUI backend.
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## Requirements
|
|
63
|
+
|
|
64
|
+
### Python
|
|
65
|
+
- **Python ≥ 3.9** (tested on 3.9–3.12)
|
|
66
|
+
|
|
67
|
+
### Required Packages
|
|
68
|
+
- `numpy`
|
|
69
|
+
- `pandas`
|
|
70
|
+
- `matplotlib`
|
|
71
|
+
- `pyyaml`
|
|
72
|
+
- `jsonschema`
|
|
73
|
+
- `scipy` — numerical utilities
|
|
74
|
+
- `h5py` — required for loading HDF5 data files
|
|
75
|
+
|
|
76
|
+
### Github Page
|
|
77
|
+
[https://github.com/Pengxuan-Zhu-Phys/Jarvis-PLOT](https://github.com/Pengxuan-Zhu-Phys/Jarvis-PLOT)
|
|
78
|
+
|
|
79
|
+
### Documentation
|
|
80
|
+
[https://pengxuan-zhu-phys.github.io/Jarvis-Docs/](https://pengxuan-zhu-phys.github.io/Jarvis-Docs/)
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## License
|
|
85
|
+
|
|
86
|
+
MIT License
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# JarvisPLOT
|
|
2
|
+
|
|
3
|
+
JarvisPLOT is a lightweight, Python/Matplotlib-based plotting framework developed for **Jarvis-HEP**,
|
|
4
|
+
but it can also be used as a **standalone scientific plotting tool**.
|
|
5
|
+
|
|
6
|
+
It provides a simple command-line interface (CLI) to generate publication-quality figures from YAML configuration files, with most layout and style decisions handled by predefined profiles and style cards.
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## Installation
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
pip install jarvisplot
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Command-Line Usage
|
|
17
|
+
|
|
18
|
+
Display help information:
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
jplot -h
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Run JarvisPLOT with one or more YAML configuration files:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
jplot path/to/config.yaml
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
### Example: SUSYRun2 Ternary Plots
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
jplot ./bin/SUSYRun2_EWMSSM.yaml
|
|
34
|
+
jplot ./bin/SUSYRun2_GEWMSSM.yaml
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
> **Note:** The data file paths inside the YAML files must be updated to match your local setup.
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## Notes
|
|
42
|
+
|
|
43
|
+
- Figures are saved automatically to the output paths defined in the YAML configuration.
|
|
44
|
+
- Common output formats include PNG and PDF (backend-dependent).
|
|
45
|
+
- JarvisPLOT works in headless environments (SSH, batch jobs) without any GUI backend.
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## Requirements
|
|
50
|
+
|
|
51
|
+
### Python
|
|
52
|
+
- **Python ≥ 3.9** (tested on 3.9–3.12)
|
|
53
|
+
|
|
54
|
+
### Required Packages
|
|
55
|
+
- `numpy`
|
|
56
|
+
- `pandas`
|
|
57
|
+
- `matplotlib`
|
|
58
|
+
- `pyyaml`
|
|
59
|
+
- `jsonschema`
|
|
60
|
+
- `scipy` — numerical utilities
|
|
61
|
+
- `h5py` — required for loading HDF5 data files
|
|
62
|
+
|
|
63
|
+
### Github Page
|
|
64
|
+
[https://github.com/Pengxuan-Zhu-Phys/Jarvis-PLOT](https://github.com/Pengxuan-Zhu-Phys/Jarvis-PLOT)
|
|
65
|
+
|
|
66
|
+
### Documentation
|
|
67
|
+
[https://pengxuan-zhu-phys.github.io/Jarvis-Docs/](https://pengxuan-zhu-phys.github.io/Jarvis-Docs/)
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## License
|
|
72
|
+
|
|
73
|
+
MIT License
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# JarvisPLOT Figure subpackage
|