PySDM-examples 2.48__py3-none-any.whl → 2.49__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.
@@ -26,8 +26,14 @@ def make_core(settings, coal_eff):
26
26
  adaptive=settings.adaptive,
27
27
  )
28
28
  builder.add_dynamic(collision)
29
- M0 = am.make_arbitrary_moment_product(rank=0, attr="volume", attr_unit="m^3")
30
- M1 = am.make_arbitrary_moment_product(rank=1, attr="volume", attr_unit="m^3")
31
- M2 = am.make_arbitrary_moment_product(rank=2, attr="volume", attr_unit="m^3")
32
- products = (M0(name="M0"), M1(name="M1"), M2(name="M2"))
29
+ common_args = {
30
+ "attr": "volume",
31
+ "attr_unit": "m^3",
32
+ "skip_division_by_m0": True,
33
+ "skip_division_by_dv": True,
34
+ }
35
+ products = tuple(
36
+ am.make_arbitrary_moment_product(rank=rank, **common_args)(name=f"M{rank}")
37
+ for rank in range(3)
38
+ )
33
39
  return builder.build(attributes, products)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PySDM-examples
3
- Version: 2.48
3
+ Version: 2.49
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
@@ -37,7 +37,7 @@ PySDM_examples/Berry_1967/settings.py,sha256=9VmVS4zBTGQff-xBdxb9AjUB9iNNm-qMznU
37
37
  PySDM_examples/Berry_1967/spectrum_plotter.py,sha256=WEEaryYBDydStKyx6H915LVTxeFFKj0pmpdVotktjI4,1023
38
38
  PySDM_examples/Bieli_et_al_2022/__init__.py,sha256=YdI2papu13HSfH973XxfrwGZkP_nbiXO4lgGHime_7M,141
39
39
  PySDM_examples/Bieli_et_al_2022/settings.py,sha256=qJxoGChzqta-c_O2yv4E3wEM4yoECa2dyhKmE8AGrtI,1679
40
- PySDM_examples/Bieli_et_al_2022/simulation.py,sha256=i-EEZvt37VuUXOEzbFBy7YrJez7_YHiI-gCtsPj_EbM,1304
40
+ PySDM_examples/Bieli_et_al_2022/simulation.py,sha256=NmLPIwrsV-MTrnZPOQNnxDqVaYsnzq51K_6avIdHZFg,1292
41
41
  PySDM_examples/Bolot_et_al_2013/__init__.py,sha256=6yZ-PdTBwwN9f4HqOe-E0m-CyM47mgg2E4ezVKVELF4,136
42
42
  PySDM_examples/Bulenok_2023_MasterThesis/__init__.py,sha256=GPHWvxMGulWIaSH7CQlESd2jNTRJeMcXRqjzzJ-AAf8,164
43
43
  PySDM_examples/Bulenok_2023_MasterThesis/setups.py,sha256=UVTp0oBMblcR46J29aylfZ6g6-8jlhXCb90ODdcfaSE,3424
@@ -139,7 +139,7 @@ PySDM_examples/utils/read_vtk_1d.py,sha256=7_3sagEbX_FxqFuGkFWdwQapd1-9echFghU8T
139
139
  PySDM_examples/utils/widgets/__init__.py,sha256=U67WZ2YDcXSocMraI7pzcMxCfcxzXNqehDzoG6ogsh4,519
140
140
  PySDM_examples/utils/widgets/freezer.py,sha256=tFlZWShXUzA2X0cxgeE44N1g9kD33q3KQWZBqkgBP0A,407
141
141
  PySDM_examples/utils/widgets/progbar_updater.py,sha256=3uhG32QkAiSM3dTV7DoROJl7fAUNA6ZsJEIKSg3tdmk,267
142
- PySDM_examples-2.48.dist-info/METADATA,sha256=Gmp-EONdQaMaRCOBHtWix41bp3Li9Y9lLGt75DV0hAg,36124
143
- PySDM_examples-2.48.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
144
- PySDM_examples-2.48.dist-info/top_level.txt,sha256=axw2inuuYKPWkQhzBYtkZJTPDlo5LrpGLOA0iSAf9v0,15
145
- PySDM_examples-2.48.dist-info/RECORD,,
142
+ PySDM_examples-2.49.dist-info/METADATA,sha256=wDGKl9UYNtJ9Q-iYpsQUjdRX6jcA7FF-BTPfCLL41-8,36124
143
+ PySDM_examples-2.49.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
144
+ PySDM_examples-2.49.dist-info/top_level.txt,sha256=axw2inuuYKPWkQhzBYtkZJTPDlo5LrpGLOA0iSAf9v0,15
145
+ PySDM_examples-2.49.dist-info/RECORD,,