eulumdat-plot 1.0.0__tar.gz → 1.0.1__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.
- {eulumdat_plot-1.0.0 → eulumdat_plot-1.0.1}/PKG-INFO +27 -22
- {eulumdat_plot-1.0.0 → eulumdat_plot-1.0.1}/README.md +26 -21
- {eulumdat_plot-1.0.0 → eulumdat_plot-1.0.1}/pyproject.toml +1 -1
- {eulumdat_plot-1.0.0 → eulumdat_plot-1.0.1}/src/eulumdat_plot.egg-info/PKG-INFO +27 -22
- {eulumdat_plot-1.0.0 → eulumdat_plot-1.0.1}/setup.cfg +0 -0
- {eulumdat_plot-1.0.0 → eulumdat_plot-1.0.1}/src/eulumdat_plot/__init__.py +0 -0
- {eulumdat_plot-1.0.0 → eulumdat_plot-1.0.1}/src/eulumdat_plot/export.py +0 -0
- {eulumdat_plot-1.0.0 → eulumdat_plot-1.0.1}/src/eulumdat_plot/plot.py +0 -0
- {eulumdat_plot-1.0.0 → eulumdat_plot-1.0.1}/src/eulumdat_plot/renderer.py +0 -0
- {eulumdat_plot-1.0.0 → eulumdat_plot-1.0.1}/src/eulumdat_plot.egg-info/SOURCES.txt +0 -0
- {eulumdat_plot-1.0.0 → eulumdat_plot-1.0.1}/src/eulumdat_plot.egg-info/dependency_links.txt +0 -0
- {eulumdat_plot-1.0.0 → eulumdat_plot-1.0.1}/src/eulumdat_plot.egg-info/requires.txt +0 -0
- {eulumdat_plot-1.0.0 → eulumdat_plot-1.0.1}/src/eulumdat_plot.egg-info/top_level.txt +0 -0
- {eulumdat_plot-1.0.0 → eulumdat_plot-1.0.1}/tests/test_scaling.py +0 -0
- {eulumdat_plot-1.0.0 → eulumdat_plot-1.0.1}/tests/test_smoke.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: eulumdat-plot
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.1
|
|
4
4
|
Summary: Photometric polar diagram generator for EULUMDAT (.ldt) files — extension to eulumdat-py
|
|
5
5
|
Author: 123VincentB
|
|
6
6
|
License: MIT
|
|
@@ -40,6 +40,11 @@ Requires-Dist: eulumdat-plot[full]; extra == "dev"
|
|
|
40
40
|
|
|
41
41
|
# eulumdat-plot
|
|
42
42
|
|
|
43
|
+
[](https://pypi.org/project/eulumdat-plot/)
|
|
44
|
+
[](https://pypi.org/project/eulumdat-plot/)
|
|
45
|
+
[](https://github.com/123VincentB/eulumdat-plot/blob/main/LICENSE)
|
|
46
|
+
[](https://doi.org/10.5281/zenodo.19096110)
|
|
47
|
+
|
|
43
48
|
Photometric polar diagram generator for EULUMDAT (`.ldt`) files —
|
|
44
49
|
designed for **product datasheets and publication-ready documents**.
|
|
45
50
|
|
|
@@ -56,7 +61,7 @@ on top of [`eulumdat-py`](https://pypi.org/project/eulumdat-py/).
|
|
|
56
61
|
|
|
57
62
|
---
|
|
58
63
|
|
|
59
|
-
 
|
|
60
65
|
|
|
61
66
|
---
|
|
62
67
|
|
|
@@ -151,16 +156,16 @@ def plot_ldt(
|
|
|
151
156
|
) -> Path
|
|
152
157
|
```
|
|
153
158
|
|
|
154
|
-
| Parameter
|
|
155
|
-
|
|
156
|
-
| `ldt_path`
|
|
157
|
-
| `svg_path`
|
|
158
|
-
| `code`
|
|
159
|
-
| `layout`
|
|
160
|
-
| `interpolate`
|
|
161
|
-
| `interp_step_deg` | `1.0`
|
|
162
|
-
| `interp_method`
|
|
163
|
-
| `debug`
|
|
159
|
+
| Parameter | Default | Description |
|
|
160
|
+
| ----------------- | ----------------- | -------------------------------------------- |
|
|
161
|
+
| `ldt_path` | — | Source `.ldt` file |
|
|
162
|
+
| `svg_path` | same name, `.svg` | Output SVG path |
|
|
163
|
+
| `code` | `""` | Distribution code shown in the banner centre |
|
|
164
|
+
| `layout` | `Layout()` | Visual parameters |
|
|
165
|
+
| `interpolate` | `True` | Resample I(γ) before plotting |
|
|
166
|
+
| `interp_step_deg` | `1.0` | Angular step for resampling (degrees) |
|
|
167
|
+
| `interp_method` | `"linear"` | `"linear"` or `"cubic"` (requires scipy) |
|
|
168
|
+
| `debug` | `False` | Colour-code C-planes for visual validation |
|
|
164
169
|
|
|
165
170
|
### `Layout.for_size()`
|
|
166
171
|
|
|
@@ -182,9 +187,9 @@ Requires `pip install "eulumdat-plot[export]"`.
|
|
|
182
187
|
|
|
183
188
|
## Examples
|
|
184
189
|
|
|
185
|
-
| File
|
|
186
|
-
|
|
187
|
-
| [`examples/01_basic_usage.md`](examples/01_basic_usage.md)
|
|
190
|
+
| File | Description |
|
|
191
|
+
| ---------------------------------------------------------------------- | ---------------------------------------- |
|
|
192
|
+
| [`examples/01_basic_usage.md`](examples/01_basic_usage.md) | Generate an SVG from a `.ldt` file |
|
|
188
193
|
| [`examples/02_resize_and_export.md`](examples/02_resize_and_export.md) | Scaling, raster export, batch processing |
|
|
189
194
|
|
|
190
195
|
## Project structure
|
|
@@ -216,13 +221,13 @@ eulumdat-plot/
|
|
|
216
221
|
|
|
217
222
|
## EULUMDAT ecosystem
|
|
218
223
|
|
|
219
|
-
| Package
|
|
220
|
-
|
|
221
|
-
| [`eulumdat-py`](https://pypi.org/project/eulumdat-py/)
|
|
222
|
-
| [`eulumdat-symmetry`](https://pypi.org/project/eulumdat-symmetry/) | v1.0.0
|
|
223
|
-
| `eulumdat-plot`
|
|
224
|
-
| `eulumdat-luminance`
|
|
225
|
-
| `eulumdat-ugr`
|
|
224
|
+
| Package | Status | Description |
|
|
225
|
+
| ------------------------------------------------------------------ | ------- | -------------------------------------------- |
|
|
226
|
+
| [`eulumdat-py`](https://pypi.org/project/eulumdat-py/) | v0.1.4 | Read / write EULUMDAT files |
|
|
227
|
+
| [`eulumdat-symmetry`](https://pypi.org/project/eulumdat-symmetry/) | v1.0.0 | Symmetrise EULUMDAT files |
|
|
228
|
+
| `eulumdat-plot` | v1.0.0 | Photometric polar diagram — **this package** |
|
|
229
|
+
| `eulumdat-luminance` | planned | Luminance table cd/m² (γ 55°–85°) |
|
|
230
|
+
| `eulumdat-ugr` | planned | UGR calculation (CIE 117, CIE 190) |
|
|
226
231
|
|
|
227
232
|
## Requirements
|
|
228
233
|
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# eulumdat-plot
|
|
2
2
|
|
|
3
|
+
[](https://pypi.org/project/eulumdat-plot/)
|
|
4
|
+
[](https://pypi.org/project/eulumdat-plot/)
|
|
5
|
+
[](https://github.com/123VincentB/eulumdat-plot/blob/main/LICENSE)
|
|
6
|
+
[](https://doi.org/10.5281/zenodo.19096110)
|
|
7
|
+
|
|
3
8
|
Photometric polar diagram generator for EULUMDAT (`.ldt`) files —
|
|
4
9
|
designed for **product datasheets and publication-ready documents**.
|
|
5
10
|
|
|
@@ -16,7 +21,7 @@ on top of [`eulumdat-py`](https://pypi.org/project/eulumdat-py/).
|
|
|
16
21
|
|
|
17
22
|
---
|
|
18
23
|
|
|
19
|
-
 
|
|
20
25
|
|
|
21
26
|
---
|
|
22
27
|
|
|
@@ -111,16 +116,16 @@ def plot_ldt(
|
|
|
111
116
|
) -> Path
|
|
112
117
|
```
|
|
113
118
|
|
|
114
|
-
| Parameter
|
|
115
|
-
|
|
116
|
-
| `ldt_path`
|
|
117
|
-
| `svg_path`
|
|
118
|
-
| `code`
|
|
119
|
-
| `layout`
|
|
120
|
-
| `interpolate`
|
|
121
|
-
| `interp_step_deg` | `1.0`
|
|
122
|
-
| `interp_method`
|
|
123
|
-
| `debug`
|
|
119
|
+
| Parameter | Default | Description |
|
|
120
|
+
| ----------------- | ----------------- | -------------------------------------------- |
|
|
121
|
+
| `ldt_path` | — | Source `.ldt` file |
|
|
122
|
+
| `svg_path` | same name, `.svg` | Output SVG path |
|
|
123
|
+
| `code` | `""` | Distribution code shown in the banner centre |
|
|
124
|
+
| `layout` | `Layout()` | Visual parameters |
|
|
125
|
+
| `interpolate` | `True` | Resample I(γ) before plotting |
|
|
126
|
+
| `interp_step_deg` | `1.0` | Angular step for resampling (degrees) |
|
|
127
|
+
| `interp_method` | `"linear"` | `"linear"` or `"cubic"` (requires scipy) |
|
|
128
|
+
| `debug` | `False` | Colour-code C-planes for visual validation |
|
|
124
129
|
|
|
125
130
|
### `Layout.for_size()`
|
|
126
131
|
|
|
@@ -142,9 +147,9 @@ Requires `pip install "eulumdat-plot[export]"`.
|
|
|
142
147
|
|
|
143
148
|
## Examples
|
|
144
149
|
|
|
145
|
-
| File
|
|
146
|
-
|
|
147
|
-
| [`examples/01_basic_usage.md`](examples/01_basic_usage.md)
|
|
150
|
+
| File | Description |
|
|
151
|
+
| ---------------------------------------------------------------------- | ---------------------------------------- |
|
|
152
|
+
| [`examples/01_basic_usage.md`](examples/01_basic_usage.md) | Generate an SVG from a `.ldt` file |
|
|
148
153
|
| [`examples/02_resize_and_export.md`](examples/02_resize_and_export.md) | Scaling, raster export, batch processing |
|
|
149
154
|
|
|
150
155
|
## Project structure
|
|
@@ -176,13 +181,13 @@ eulumdat-plot/
|
|
|
176
181
|
|
|
177
182
|
## EULUMDAT ecosystem
|
|
178
183
|
|
|
179
|
-
| Package
|
|
180
|
-
|
|
181
|
-
| [`eulumdat-py`](https://pypi.org/project/eulumdat-py/)
|
|
182
|
-
| [`eulumdat-symmetry`](https://pypi.org/project/eulumdat-symmetry/) | v1.0.0
|
|
183
|
-
| `eulumdat-plot`
|
|
184
|
-
| `eulumdat-luminance`
|
|
185
|
-
| `eulumdat-ugr`
|
|
184
|
+
| Package | Status | Description |
|
|
185
|
+
| ------------------------------------------------------------------ | ------- | -------------------------------------------- |
|
|
186
|
+
| [`eulumdat-py`](https://pypi.org/project/eulumdat-py/) | v0.1.4 | Read / write EULUMDAT files |
|
|
187
|
+
| [`eulumdat-symmetry`](https://pypi.org/project/eulumdat-symmetry/) | v1.0.0 | Symmetrise EULUMDAT files |
|
|
188
|
+
| `eulumdat-plot` | v1.0.0 | Photometric polar diagram — **this package** |
|
|
189
|
+
| `eulumdat-luminance` | planned | Luminance table cd/m² (γ 55°–85°) |
|
|
190
|
+
| `eulumdat-ugr` | planned | UGR calculation (CIE 117, CIE 190) |
|
|
186
191
|
|
|
187
192
|
## Requirements
|
|
188
193
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "eulumdat-plot"
|
|
7
|
-
version = "1.0.
|
|
7
|
+
version = "1.0.1"
|
|
8
8
|
description = "Photometric polar diagram generator for EULUMDAT (.ldt) files — extension to eulumdat-py"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = { text = "MIT" }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: eulumdat-plot
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.1
|
|
4
4
|
Summary: Photometric polar diagram generator for EULUMDAT (.ldt) files — extension to eulumdat-py
|
|
5
5
|
Author: 123VincentB
|
|
6
6
|
License: MIT
|
|
@@ -40,6 +40,11 @@ Requires-Dist: eulumdat-plot[full]; extra == "dev"
|
|
|
40
40
|
|
|
41
41
|
# eulumdat-plot
|
|
42
42
|
|
|
43
|
+
[](https://pypi.org/project/eulumdat-plot/)
|
|
44
|
+
[](https://pypi.org/project/eulumdat-plot/)
|
|
45
|
+
[](https://github.com/123VincentB/eulumdat-plot/blob/main/LICENSE)
|
|
46
|
+
[](https://doi.org/10.5281/zenodo.19096110)
|
|
47
|
+
|
|
43
48
|
Photometric polar diagram generator for EULUMDAT (`.ldt`) files —
|
|
44
49
|
designed for **product datasheets and publication-ready documents**.
|
|
45
50
|
|
|
@@ -56,7 +61,7 @@ on top of [`eulumdat-py`](https://pypi.org/project/eulumdat-py/).
|
|
|
56
61
|
|
|
57
62
|
---
|
|
58
63
|
|
|
59
|
-
 
|
|
60
65
|
|
|
61
66
|
---
|
|
62
67
|
|
|
@@ -151,16 +156,16 @@ def plot_ldt(
|
|
|
151
156
|
) -> Path
|
|
152
157
|
```
|
|
153
158
|
|
|
154
|
-
| Parameter
|
|
155
|
-
|
|
156
|
-
| `ldt_path`
|
|
157
|
-
| `svg_path`
|
|
158
|
-
| `code`
|
|
159
|
-
| `layout`
|
|
160
|
-
| `interpolate`
|
|
161
|
-
| `interp_step_deg` | `1.0`
|
|
162
|
-
| `interp_method`
|
|
163
|
-
| `debug`
|
|
159
|
+
| Parameter | Default | Description |
|
|
160
|
+
| ----------------- | ----------------- | -------------------------------------------- |
|
|
161
|
+
| `ldt_path` | — | Source `.ldt` file |
|
|
162
|
+
| `svg_path` | same name, `.svg` | Output SVG path |
|
|
163
|
+
| `code` | `""` | Distribution code shown in the banner centre |
|
|
164
|
+
| `layout` | `Layout()` | Visual parameters |
|
|
165
|
+
| `interpolate` | `True` | Resample I(γ) before plotting |
|
|
166
|
+
| `interp_step_deg` | `1.0` | Angular step for resampling (degrees) |
|
|
167
|
+
| `interp_method` | `"linear"` | `"linear"` or `"cubic"` (requires scipy) |
|
|
168
|
+
| `debug` | `False` | Colour-code C-planes for visual validation |
|
|
164
169
|
|
|
165
170
|
### `Layout.for_size()`
|
|
166
171
|
|
|
@@ -182,9 +187,9 @@ Requires `pip install "eulumdat-plot[export]"`.
|
|
|
182
187
|
|
|
183
188
|
## Examples
|
|
184
189
|
|
|
185
|
-
| File
|
|
186
|
-
|
|
187
|
-
| [`examples/01_basic_usage.md`](examples/01_basic_usage.md)
|
|
190
|
+
| File | Description |
|
|
191
|
+
| ---------------------------------------------------------------------- | ---------------------------------------- |
|
|
192
|
+
| [`examples/01_basic_usage.md`](examples/01_basic_usage.md) | Generate an SVG from a `.ldt` file |
|
|
188
193
|
| [`examples/02_resize_and_export.md`](examples/02_resize_and_export.md) | Scaling, raster export, batch processing |
|
|
189
194
|
|
|
190
195
|
## Project structure
|
|
@@ -216,13 +221,13 @@ eulumdat-plot/
|
|
|
216
221
|
|
|
217
222
|
## EULUMDAT ecosystem
|
|
218
223
|
|
|
219
|
-
| Package
|
|
220
|
-
|
|
221
|
-
| [`eulumdat-py`](https://pypi.org/project/eulumdat-py/)
|
|
222
|
-
| [`eulumdat-symmetry`](https://pypi.org/project/eulumdat-symmetry/) | v1.0.0
|
|
223
|
-
| `eulumdat-plot`
|
|
224
|
-
| `eulumdat-luminance`
|
|
225
|
-
| `eulumdat-ugr`
|
|
224
|
+
| Package | Status | Description |
|
|
225
|
+
| ------------------------------------------------------------------ | ------- | -------------------------------------------- |
|
|
226
|
+
| [`eulumdat-py`](https://pypi.org/project/eulumdat-py/) | v0.1.4 | Read / write EULUMDAT files |
|
|
227
|
+
| [`eulumdat-symmetry`](https://pypi.org/project/eulumdat-symmetry/) | v1.0.0 | Symmetrise EULUMDAT files |
|
|
228
|
+
| `eulumdat-plot` | v1.0.0 | Photometric polar diagram — **this package** |
|
|
229
|
+
| `eulumdat-luminance` | planned | Luminance table cd/m² (γ 55°–85°) |
|
|
230
|
+
| `eulumdat-ugr` | planned | UGR calculation (CIE 117, CIE 190) |
|
|
226
231
|
|
|
227
232
|
## Requirements
|
|
228
233
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|