PySDM-examples 2.89__py3-none-any.whl → 2.91__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.
@@ -7,7 +7,7 @@ from PySDM_examples.Shima_et_al_2009.spectrum_plotter import SpectrumPlotter
7
7
 
8
8
 
9
9
  def main(plot: bool = True, save: str = None):
10
- n_sds = [13, 15, 17]
10
+ n_sds = [13, 15, 17] if "CI" not in os.environ else [13, 15]
11
11
  dts = [10, 5, 1, "adaptive"]
12
12
  iters = 10
13
13
  base_time = None
@@ -109,7 +109,7 @@ def main(save=None, show_plot=True):
109
109
  rtols = [1e-7, 1e-11]
110
110
  schemes = ["CPU", "SciPy"]
111
111
  setups_num = len(setups)
112
- input_data = data(80, rtols, schemes, setups_num)
112
+ input_data = data(80 if "CI" not in os.environ else 20, rtols, schemes, setups_num)
113
113
  plot(input_data, rtols, schemes, setups_num, show_plot, save)
114
114
 
115
115
 
@@ -15,7 +15,7 @@ def full_params(params):
15
15
 
16
16
  def print_collection_efficiency_portrait(params):
17
17
  size = 2 * 5.236
18
- plt.figure(num=1, figsize=(size / 2, size))
18
+ plt.figure(figsize=(size / 2, size))
19
19
  points = 200
20
20
  Y_c = np.zeros(points)
21
21
  x_values = np.linspace(0, 1, points)
@@ -8,7 +8,7 @@ from PySDM_examples.Shima_et_al_2009.spectrum_plotter import (
8
8
  class SpectrumPlotter(SuperSpectrumPlotter):
9
9
  def __init__(self, settings, title=None, grid=True, legend=False):
10
10
  size = 2 * 5.236
11
- pyplot.figure(num=1, figsize=(size, size * 0.54))
11
+ pyplot.figure(figsize=(size, size * 0.54))
12
12
  pyplot.xlabel("particle radius [µm]")
13
13
  pyplot.ylabel("dm/dlnr [g/m^3/(unit dr/r)]")
14
14
  super().__init__(settings, title=title, grid=grid, legend=legend, log_base=2)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PySDM-examples
3
- Version: 2.89
3
+ Version: 2.91
4
4
  Summary: PySDM usage examples reproducing results from literature and depicting how to use PySDM from Python Jupyter notebooks
5
5
  Home-page: https://github.com/open-atmos/PySDM
6
6
  Author: https://github.com/open-atmos/PySDM/graphs/contributors
@@ -21,12 +21,12 @@ Requires-Dist: seaborn
21
21
  Requires-Dist: numdifftools
22
22
  Requires-Dist: vtk
23
23
  Provides-Extra: tests
24
- Requires-Dist: pytest ; extra == 'tests'
25
- Requires-Dist: nbconvert ; extra == 'tests'
24
+ Requires-Dist: pytest; extra == "tests"
25
+ Requires-Dist: nbconvert; extra == "tests"
26
26
 
27
27
  # Introduction
28
28
 
29
- <img align="left" src="https://raw.githubusercontent.com/open-atmos/PySDM/main/.github/pysdm_logo.svg" width=150 height=219 alt="pysdm logo" style="padding-right:1em">
29
+ <img align="left" src="https://raw.githubusercontent.com/open-atmos/PySDM/main/docs/logos/pysdm_logo.svg" width=150 height=219 alt="pysdm logo" style="padding-right:1em">
30
30
 
31
31
  PySDM examples are engineered as Jupyter Python notebooks supported by auxiliary Python commons
32
32
  that constitute a separate <mark>PySDM-examples</mark> Python package which is also
@@ -29,15 +29,15 @@ PySDM_examples/Arabas_et_al_2023/make_particulator.py,sha256=e_rg8PbIHHW5N_meton
29
29
  PySDM_examples/Arabas_et_al_2023/plots.py,sha256=YaF3LTOPX2k6d5ZG_FKPOgZPcSjM7oVMdnSFzK6-DQM,5035
30
30
  PySDM_examples/Arabas_et_al_2023/run_simulation.py,sha256=Yq4EjdvOr1nYrvK8b1LZtqtbvf0bg6Mm2CWg5zsDqi4,1281
31
31
  PySDM_examples/Bartman_2020_MasterThesis/__init__.py,sha256=la2o79L6WLPueZ3EI5ThGtNRuSkXvKQwJJmvrNhhHa8,136
32
- PySDM_examples/Bartman_2020_MasterThesis/fig_4_adaptive_sdm.py,sha256=bbXDRKH7ekiwEd8dgNRcavlWzoQGfZvXKL_qOT6TtWU,2337
33
- PySDM_examples/Bartman_2020_MasterThesis/fig_5_SCIPY_VS_ADAPTIVE.py,sha256=CJ4oXcQe8LGxBoD352dyYQICTWkxPvfUVAhBVf5Uxls,4192
32
+ PySDM_examples/Bartman_2020_MasterThesis/fig_4_adaptive_sdm.py,sha256=I66ufyfKnLRz50UDfbwf6wiWm2q8QX1FdaghKGFvo1E,2377
33
+ PySDM_examples/Bartman_2020_MasterThesis/fig_5_SCIPY_VS_ADAPTIVE.py,sha256=EXbNToSiE6tHgl1IQj39eTlgeTxahBOMEYS8W3_mEX8,4226
34
34
  PySDM_examples/Bartman_et_al_2021/__init__.py,sha256=lcmJiQq7vkdwnVLGYjITgw6zv9A61KZW750OqJxVQTw,255
35
35
  PySDM_examples/Bartman_et_al_2021/label.py,sha256=sHaZcODS8lrKxWha9Zd-VALHHqFTr_PsUrMPRunTxzA,523
36
36
  PySDM_examples/Berry_1967/__init__.py,sha256=V_JEnFtNsts2m6K7MYiXiq1nnCfRVp74-IxDP8NPJ1g,248
37
37
  PySDM_examples/Berry_1967/example.py,sha256=r0WlZ0R4Y4RiDIsLlq3RG_R9YSvCSrizWGjg3mh0WgQ,2506
38
- PySDM_examples/Berry_1967/example_fig_6.py,sha256=GlxzRg0GM2rCJDUPwIFVb47MkkkL2n3OH1RbZQFdE9Q,3108
38
+ PySDM_examples/Berry_1967/example_fig_6.py,sha256=z9CzfCIlsB-OFfsS2fPZ5eE3C_Clx0CCRwD11c42JC8,3101
39
39
  PySDM_examples/Berry_1967/settings.py,sha256=9VmVS4zBTGQff-xBdxb9AjUB9iNNm-qMznURH0ESfwE,1617
40
- PySDM_examples/Berry_1967/spectrum_plotter.py,sha256=WEEaryYBDydStKyx6H915LVTxeFFKj0pmpdVotktjI4,1023
40
+ PySDM_examples/Berry_1967/spectrum_plotter.py,sha256=uwSZJQ2G3zuxml3on9IMCiWIldv7gIzWOqNw75hLFmI,1016
41
41
  PySDM_examples/Bieli_et_al_2022/__init__.py,sha256=23wE81iNNkeNmr3PRTs0WC29gEfTDAZCNv7x0BuI2IU,205
42
42
  PySDM_examples/Bieli_et_al_2022/settings.py,sha256=qJxoGChzqta-c_O2yv4E3wEM4yoECa2dyhKmE8AGrtI,1679
43
43
  PySDM_examples/Bieli_et_al_2022/simulation.py,sha256=4L0AxnpGjfWqIUgVdZdH1PgXzrx4yXEeJ8_WaWsksy8,1324
@@ -149,7 +149,7 @@ PySDM_examples/utils/read_vtk_1d.py,sha256=7_3sagEbX_FxqFuGkFWdwQapd1-9echFghU8T
149
149
  PySDM_examples/utils/widgets/__init__.py,sha256=U67WZ2YDcXSocMraI7pzcMxCfcxzXNqehDzoG6ogsh4,519
150
150
  PySDM_examples/utils/widgets/freezer.py,sha256=tFlZWShXUzA2X0cxgeE44N1g9kD33q3KQWZBqkgBP0A,407
151
151
  PySDM_examples/utils/widgets/progbar_updater.py,sha256=3uhG32QkAiSM3dTV7DoROJl7fAUNA6ZsJEIKSg3tdmk,267
152
- PySDM_examples-2.89.dist-info/METADATA,sha256=MB78zMUu1AlL0L7LY7TQPhHHE-HewazvHYuar5Yy84Q,12074
153
- PySDM_examples-2.89.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
154
- PySDM_examples-2.89.dist-info/top_level.txt,sha256=axw2inuuYKPWkQhzBYtkZJTPDlo5LrpGLOA0iSAf9v0,15
155
- PySDM_examples-2.89.dist-info/RECORD,,
152
+ PySDM_examples-2.91.dist-info/METADATA,sha256=Q9ecoMOzinWG88eiZNVqhG6xdSEftvDGTvbZ5noExFM,12075
153
+ PySDM_examples-2.91.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
154
+ PySDM_examples-2.91.dist-info/top_level.txt,sha256=axw2inuuYKPWkQhzBYtkZJTPDlo5LrpGLOA0iSAf9v0,15
155
+ PySDM_examples-2.91.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.3.0)
2
+ Generator: setuptools (75.6.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5