|
3 | 3 | <!--start-docs-->
|
4 | 4 |
|
5 | 5 |
|
6 |
| -## Version 1.0.3 |
| 6 | +## Version 1.0.4 |
7 | 7 |
|
8 |
| -Released 04-11-2024 |
| 8 | +Released 12-11-2024 |
9 | 9 |
|
10 |
| -### Documentation |
| 10 | +### Bug Fixes |
11 | 11 |
|
12 |
| -* [`1c50582`](https://github.com/mtrocadomoreira/ozzy/commit/1c505822c1096fb0d6bf1c3a9ff390ff84f48216): Correct changelog template |
| 12 | +* [`5cd488c`](https://github.com/mtrocadomoreira/ozzy/commit/5cd488cbaf6819eabe91cf75e4d16c7bfd1ae3ff): Fix error thrown by `bin_into_grid` when called on a data object that didn't contain a `'t'` coordinate |
13 | 13 |
|
14 | 14 |
|
15 | 15 |
|
16 | 16 |
|
17 | 17 |
|
18 | 18 |
|
| 19 | +* [`776a1a2`](https://github.com/mtrocadomoreira/ozzy/commit/776a1a2f0e6754aa4a0aaf2d7a5fda7b9bd91416): Fix missing-argument error when trying to read `beamfile.bin` files |
| 20 | + |
| 21 | + |
| 22 | + |
19 | 23 |
|
20 |
| -## Version 1.0.2 |
21 | 24 |
|
22 |
| -Released 04-11-2024 |
23 | 25 |
|
24 | 26 | ### Documentation
|
25 | 27 |
|
26 |
| -* [`2d1afe0`](https://github.com/mtrocadomoreira/ozzy/commit/2d1afe079632a6ef7188378746f55bc4f1482ddc): Update installation instructions |
| 28 | +* [`b43f5dc`](https://github.com/mtrocadomoreira/ozzy/commit/b43f5dcd8f169e7f13e358e4baf115b518be7044): Update documentation |
27 | 29 |
|
28 | 30 |
|
29 | 31 |
|
30 | 32 |
|
31 | 33 |
|
32 | 34 |
|
| 35 | +* [`6c726a5`](https://github.com/mtrocadomoreira/ozzy/commit/6c726a56eba8a465246a5df1c6805e61b979edaa): Update "installation" and "getting started" page |
33 | 36 |
|
34 |
| -## Version 1.0.1 |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | +* [`1bf9a95`](https://github.com/mtrocadomoreira/ozzy/commit/1bf9a954efc837d543557360dab6dddf7ca4db42): Change heading formatting of changelog template |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | +### Refactoring |
| 50 | + |
| 51 | +* [`825b7ab`](https://github.com/mtrocadomoreira/ozzy/commit/825b7abbe60d9876d6a4c260f8cb39c0882deaaf): Change how backend-specific arguments are passed from the `open` functions to each backend (easier to extend) |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | +## Version 1.0.3 |
35 | 60 |
|
36 | 61 | Released 04-11-2024
|
37 | 62 |
|
38 |
| -### Breaking |
| 63 | +### Documentation |
39 | 64 |
|
40 |
| -* [`d7da0c8`](https://github.com/mtrocadomoreira/ozzy/commit/d7da0c893acfe8d9eb22917dd4eb07643d92aa8f): Replace `statistics.parts_into_grid` with dataset method `bin_into_grid` |
| 65 | +* [`1c50582`](https://github.com/mtrocadomoreira/ozzy/commit/1c505822c1096fb0d6bf1c3a9ff390ff84f48216): Correct changelog template |
41 | 66 |
|
42 | 67 |
|
43 | 68 |
|
44 |
| - Replace `statistics.parts_into_grid` with a Dataset method called `bin_into_grid` accessible to particle data (`pic_data_type = 'part'`). |
45 | 69 |
|
46 |
| - **Breaking change:** `statistics.parts_into_grid` does not work anymore |
47 | 70 |
|
48 |
| - Please replace the function `statistics.parts_into_grid` with the `ds.ozzy.bin_into_grid` method. As an example, the following code |
49 | 71 |
|
50 |
| - ```python |
51 |
| - import ozzy as oz |
52 |
| - import ozzy.statistics as stats |
53 |
| - import numpy as np |
54 | 72 |
|
55 |
| - particles = oz.Dataset( |
56 |
| - { |
57 |
| - "x1": ("pid", np.random.uniform(0, 10, 10000)), |
58 |
| - "x2": ("pid", np.random.uniform(0, 5, 10000)), |
59 |
| - "q": ("pid", np.ones(10000)), |
60 |
| - }, |
61 |
| - coords={"pid": np.arange(10000)}, |
62 |
| - attrs={"pic_data_type": "part"} |
63 |
| - ) |
| 73 | +## Version 1.0.2 |
| 74 | + |
| 75 | +Released 04-11-2024 |
| 76 | + |
| 77 | +### Documentation |
| 78 | + |
| 79 | +* [`2d1afe0`](https://github.com/mtrocadomoreira/ozzy/commit/2d1afe079632a6ef7188378746f55bc4f1482ddc): Update installation instructions |
64 | 80 |
|
65 |
| - axes = oz.Dataset( |
66 |
| - coords={ |
67 |
| - "x1": np.linspace(0, 10, 101), |
68 |
| - "x2": np.linspace(0, 5, 51), |
69 |
| - }, |
70 |
| - attrs={"pic_data_type": "grid"} |
71 |
| - ) |
72 | 81 |
|
73 |
| - binned = stats.parts_into_grid(particles, axes, r_var="x2") |
74 |
| - grid_data_axisym = particles.ozzy.bin_into_grid(axes, r_var="x2") |
75 |
| - ``` |
76 |
| - should be replaced by |
77 | 82 |
|
78 |
| - ```python |
79 |
| - import ozzy as oz |
80 |
| - import numpy as np |
81 |
| - ... |
82 |
| - binned = particles.ozzy.bin_into_grid(axes, r_var="x2") |
83 |
| - ``` |
84 | 83 |
|
85 | 84 |
|
86 | 85 |
|
| 86 | + |
| 87 | +## Version 1.0.1 |
| 88 | + |
| 89 | +Released 04-11-2024 |
| 90 | + |
87 | 91 | ### Bug Fixes
|
88 | 92 |
|
89 | 93 | * [`0e0f1f2`](https://github.com/mtrocadomoreira/ozzy/commit/0e0f1f25cb8e1ba203995b2b7c8cc007ecbbf1b9): Fix attribute assignment in `bin_into_grid` and reorder dimensions after binning (for chunking and performance)
|
@@ -188,6 +192,53 @@ Released 04-11-2024
|
188 | 192 |
|
189 | 193 |
|
190 | 194 |
|
| 195 | +* [`d7da0c8`](https://github.com/mtrocadomoreira/ozzy/commit/d7da0c893acfe8d9eb22917dd4eb07643d92aa8f): Replace `statistics.parts_into_grid` with dataset method `bin_into_grid` |
| 196 | + |
| 197 | + |
| 198 | + |
| 199 | + Replace `statistics.parts_into_grid` with a Dataset method called `bin_into_grid` accessible to particle data (`pic_data_type = 'part'`). |
| 200 | + |
| 201 | + **Breaking change:** `statistics.parts_into_grid` does not work anymore |
| 202 | + |
| 203 | + Please replace the function `statistics.parts_into_grid` with the `ds.ozzy.bin_into_grid` method. As an example, the following code |
| 204 | + |
| 205 | + ```python |
| 206 | + import ozzy as oz |
| 207 | + import ozzy.statistics as stats |
| 208 | + import numpy as np |
| 209 | + |
| 210 | + particles = oz.Dataset( |
| 211 | + { |
| 212 | + "x1": ("pid", np.random.uniform(0, 10, 10000)), |
| 213 | + "x2": ("pid", np.random.uniform(0, 5, 10000)), |
| 214 | + "q": ("pid", np.ones(10000)), |
| 215 | + }, |
| 216 | + coords={"pid": np.arange(10000)}, |
| 217 | + attrs={"pic_data_type": "part"} |
| 218 | + ) |
| 219 | + |
| 220 | + axes = oz.Dataset( |
| 221 | + coords={ |
| 222 | + "x1": np.linspace(0, 10, 101), |
| 223 | + "x2": np.linspace(0, 5, 51), |
| 224 | + }, |
| 225 | + attrs={"pic_data_type": "grid"} |
| 226 | + ) |
| 227 | + |
| 228 | + binned = stats.parts_into_grid(particles, axes, r_var="x2") |
| 229 | + grid_data_axisym = particles.ozzy.bin_into_grid(axes, r_var="x2") |
| 230 | + ``` |
| 231 | + should be replaced by |
| 232 | + |
| 233 | + ```python |
| 234 | + import ozzy as oz |
| 235 | + import numpy as np |
| 236 | + ... |
| 237 | + binned = particles.ozzy.bin_into_grid(axes, r_var="x2") |
| 238 | + ``` |
| 239 | + |
| 240 | + |
| 241 | + |
191 | 242 | * [`5840bc4`](https://github.com/mtrocadomoreira/ozzy/commit/5840bc44884455dbe20508715e52a1cb4321773a): Make str_exists argument of get_attr_if_exists optional
|
192 | 243 |
|
193 | 244 |
|
|
0 commit comments