jarvisplot 1.0.0__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.0/PKG-INFO +93 -0
- jarvisplot-1.0.0/README.md +80 -0
- jarvisplot-1.0.0/jarvisplot/Figure/adapters.py +773 -0
- jarvisplot-1.0.0/jarvisplot/Figure/cards/std_axes_adapter_config.json +23 -0
- jarvisplot-1.0.0/jarvisplot/Figure/data_pipelines.py +87 -0
- jarvisplot-1.0.0/jarvisplot/Figure/figure.py +1573 -0
- jarvisplot-1.0.0/jarvisplot/Figure/helper.py +217 -0
- jarvisplot-1.0.0/jarvisplot/Figure/load_data.py +252 -0
- jarvisplot-1.0.0/jarvisplot/__init__.py +0 -0
- jarvisplot-1.0.0/jarvisplot/cards/a4paper/1x1/ternary.json +6 -0
- jarvisplot-1.0.0/jarvisplot/cards/a4paper/2x1/rect.json +106 -0
- jarvisplot-1.0.0/jarvisplot/cards/a4paper/2x1/rect5x1.json +344 -0
- jarvisplot-1.0.0/jarvisplot/cards/a4paper/2x1/rect_cmap.json +181 -0
- jarvisplot-1.0.0/jarvisplot/cards/a4paper/2x1/ternary.json +139 -0
- jarvisplot-1.0.0/jarvisplot/cards/a4paper/2x1/ternary_cmap.json +189 -0
- jarvisplot-1.0.0/jarvisplot/cards/a4paper/4x1/rect.json +106 -0
- jarvisplot-1.0.0/jarvisplot/cards/a4paper/4x1/rect_cmap.json +174 -0
- jarvisplot-1.0.0/jarvisplot/cards/a4paper/4x1/ternary.json +139 -0
- jarvisplot-1.0.0/jarvisplot/cards/a4paper/4x1/ternary_cmap.json +189 -0
- jarvisplot-1.0.0/jarvisplot/cards/args.json +50 -0
- jarvisplot-1.0.0/jarvisplot/cards/colors/colormaps.json +140 -0
- jarvisplot-1.0.0/jarvisplot/cards/default/output.json +11 -0
- jarvisplot-1.0.0/jarvisplot/cards/gambit/1x1/ternary.json +6 -0
- jarvisplot-1.0.0/jarvisplot/cards/gambit/2x1/rect_cmap.json +200 -0
- jarvisplot-1.0.0/jarvisplot/cards/gambit/2x1/ternary.json +139 -0
- jarvisplot-1.0.0/jarvisplot/cards/gambit/2x1/ternary_cmap.json +205 -0
- jarvisplot-1.0.0/jarvisplot/cards/icons/JarvisHEP.png +0 -0
- jarvisplot-1.0.0/jarvisplot/cards/icons/gambit.png +0 -0
- jarvisplot-1.0.0/jarvisplot/cards/icons/gambit_small.png +0 -0
- jarvisplot-1.0.0/jarvisplot/cards/style_preference.json +23 -0
- jarvisplot-1.0.0/jarvisplot/cli.py +64 -0
- jarvisplot-1.0.0/jarvisplot/client.py +6 -0
- jarvisplot-1.0.0/jarvisplot/config.py +69 -0
- jarvisplot-1.0.0/jarvisplot/core.py +237 -0
- jarvisplot-1.0.0/jarvisplot/data_loader.py +441 -0
- jarvisplot-1.0.0/jarvisplot/inner_func.py +162 -0
- jarvisplot-1.0.0/jarvisplot/utils/__init__.py +0 -0
- jarvisplot-1.0.0/jarvisplot/utils/cmaps.py +258 -0
- jarvisplot-1.0.0/jarvisplot/utils/interpolator.py +377 -0
- jarvisplot-1.0.0/jarvisplot.egg-info/PKG-INFO +93 -0
- jarvisplot-1.0.0/jarvisplot.egg-info/SOURCES.txt +45 -0
- jarvisplot-1.0.0/jarvisplot.egg-info/dependency_links.txt +1 -0
- jarvisplot-1.0.0/jarvisplot.egg-info/entry_points.txt +2 -0
- jarvisplot-1.0.0/jarvisplot.egg-info/requires.txt +6 -0
- jarvisplot-1.0.0/jarvisplot.egg-info/top_level.txt +1 -0
- jarvisplot-1.0.0/pyproject.toml +31 -0
- jarvisplot-1.0.0/setup.cfg +4 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: jarvisplot
|
|
3
|
+
Version: 1.0.0
|
|
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
|
+
## Command-Line Usage
|
|
24
|
+
|
|
25
|
+
Display help information:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
./jarvisplot -h
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Run JarvisPLOT with one or more YAML configuration files:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
./jarvisplot path/to/config.yaml
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### Example: SUSYRun2 Ternary Plots
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
./jarvisplot ./bin/SUSYRun2_EWMSSM.yaml
|
|
41
|
+
./jarvisplot ./bin/SUSYRun2_GEWMSSM.yaml
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
> **Note:** The data file paths inside the YAML files must be updated to match your local setup.
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## Notes
|
|
49
|
+
|
|
50
|
+
- Figures are saved automatically to the output paths defined in the YAML configuration.
|
|
51
|
+
- Common output formats include PNG and PDF (backend-dependent).
|
|
52
|
+
- JarvisPLOT works in headless environments (SSH, batch jobs) without any GUI backend.
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## Requirements
|
|
57
|
+
|
|
58
|
+
### Python
|
|
59
|
+
- **Python ≥ 3.9** (tested on 3.9–3.12)
|
|
60
|
+
|
|
61
|
+
### Required Packages
|
|
62
|
+
- `numpy`
|
|
63
|
+
- `pandas`
|
|
64
|
+
- `matplotlib`
|
|
65
|
+
- `pyyaml`
|
|
66
|
+
- `jsonschema`
|
|
67
|
+
- `scipy` — numerical utilities
|
|
68
|
+
- `h5py` — required for loading HDF5 data files
|
|
69
|
+
|
|
70
|
+
### Relationship to Jarvis-HEP
|
|
71
|
+
- JarvisPLOT is **fully decoupled** from Jarvis-HEP/GAMBIT
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
## Installation
|
|
76
|
+
|
|
77
|
+
Editable install for development:
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
pip install -e .
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
Or install minimal dependencies manually:
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
pip install numpy pandas matplotlib pyyaml jsonschema scipy h5py
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
## License
|
|
92
|
+
|
|
93
|
+
MIT License
|
|
@@ -0,0 +1,80 @@
|
|
|
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
|
+
## Command-Line Usage
|
|
11
|
+
|
|
12
|
+
Display help information:
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
./jarvisplot -h
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Run JarvisPLOT with one or more YAML configuration files:
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
./jarvisplot path/to/config.yaml
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
### Example: SUSYRun2 Ternary Plots
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
./jarvisplot ./bin/SUSYRun2_EWMSSM.yaml
|
|
28
|
+
./jarvisplot ./bin/SUSYRun2_GEWMSSM.yaml
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
> **Note:** The data file paths inside the YAML files must be updated to match your local setup.
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## Notes
|
|
36
|
+
|
|
37
|
+
- Figures are saved automatically to the output paths defined in the YAML configuration.
|
|
38
|
+
- Common output formats include PNG and PDF (backend-dependent).
|
|
39
|
+
- JarvisPLOT works in headless environments (SSH, batch jobs) without any GUI backend.
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## Requirements
|
|
44
|
+
|
|
45
|
+
### Python
|
|
46
|
+
- **Python ≥ 3.9** (tested on 3.9–3.12)
|
|
47
|
+
|
|
48
|
+
### Required Packages
|
|
49
|
+
- `numpy`
|
|
50
|
+
- `pandas`
|
|
51
|
+
- `matplotlib`
|
|
52
|
+
- `pyyaml`
|
|
53
|
+
- `jsonschema`
|
|
54
|
+
- `scipy` — numerical utilities
|
|
55
|
+
- `h5py` — required for loading HDF5 data files
|
|
56
|
+
|
|
57
|
+
### Relationship to Jarvis-HEP
|
|
58
|
+
- JarvisPLOT is **fully decoupled** from Jarvis-HEP/GAMBIT
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## Installation
|
|
63
|
+
|
|
64
|
+
Editable install for development:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
pip install -e .
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
Or install minimal dependencies manually:
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
pip install numpy pandas matplotlib pyyaml jsonschema scipy h5py
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
## License
|
|
79
|
+
|
|
80
|
+
MIT License
|