polyphys 1.0.0__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.
Files changed (69) hide show
  1. polyphys/__init__.py +7 -0
  2. polyphys/__version__.py +22 -0
  3. polyphys/analyze/__init__.py +51 -0
  4. polyphys/analyze/clusters.py +1738 -0
  5. polyphys/analyze/correlations.py +995 -0
  6. polyphys/analyze/density.py +1138 -0
  7. polyphys/analyze/measurer.py +1338 -0
  8. polyphys/analyze/pipeline.py +1868 -0
  9. polyphys/analyze/stats.py +810 -0
  10. polyphys/analyze/sumrule.py +1159 -0
  11. polyphys/manage/__init__.py +11 -0
  12. polyphys/manage/organizer.py +2188 -0
  13. polyphys/manage/parser.py +1264 -0
  14. polyphys/manage/types.py +171 -0
  15. polyphys/manage/utils.py +777 -0
  16. polyphys/probe/__init__.py +25 -0
  17. polyphys/probe/binders.py +711 -0
  18. polyphys/probe/chain_size.py +583 -0
  19. polyphys/probe/core.py +437 -0
  20. polyphys/probe/histograms.py +863 -0
  21. polyphys/probe/pairs.py +555 -0
  22. polyphys/simulate/__init__.py +48 -0
  23. polyphys/simulate/build.py +1231 -0
  24. polyphys/simulate/core.py +237 -0
  25. polyphys/simulate/data.py +977 -0
  26. polyphys/simulate/dump.py +752 -0
  27. polyphys/simulate/log.py +788 -0
  28. polyphys/spec.py +1359 -0
  29. polyphys/tests/analyze/test_clusters.py +1058 -0
  30. polyphys/tests/analyze/test_correlations.py +708 -0
  31. polyphys/tests/analyze/test_density.py +813 -0
  32. polyphys/tests/analyze/test_measurer.py +785 -0
  33. polyphys/tests/analyze/test_pipeline.py +1881 -0
  34. polyphys/tests/analyze/test_stats.py +732 -0
  35. polyphys/tests/analyze/test_sumrule.py +917 -0
  36. polyphys/tests/conftest.py +753 -0
  37. polyphys/tests/data/lammps_build/make_starts.py +70 -0
  38. polyphys/tests/manage/test_organizer.py +1495 -0
  39. polyphys/tests/manage/test_parser.py +1222 -0
  40. polyphys/tests/manage/test_utils.py +498 -0
  41. polyphys/tests/probe/conftest.py +407 -0
  42. polyphys/tests/probe/test_binders.py +686 -0
  43. polyphys/tests/probe/test_chain_size.py +557 -0
  44. polyphys/tests/probe/test_core.py +391 -0
  45. polyphys/tests/probe/test_histograms.py +779 -0
  46. polyphys/tests/probe/test_pairs.py +475 -0
  47. polyphys/tests/simulate/test_build.py +1042 -0
  48. polyphys/tests/simulate/test_core.py +106 -0
  49. polyphys/tests/simulate/test_data.py +858 -0
  50. polyphys/tests/simulate/test_dump.py +487 -0
  51. polyphys/tests/simulate/test_log.py +667 -0
  52. polyphys/tests/strategies.py +120 -0
  53. polyphys/tests/synthetic.py +410 -0
  54. polyphys/tests/test_conftest.py +414 -0
  55. polyphys/tests/test_docs.py +82 -0
  56. polyphys/tests/test_packaging.py +97 -0
  57. polyphys/tests/test_spec.py +772 -0
  58. polyphys/tests/viz/conftest.py +32 -0
  59. polyphys/tests/viz/test_colors.py +113 -0
  60. polyphys/tests/viz/test_helpers.py +292 -0
  61. polyphys/viz/__init__.py +15 -0
  62. polyphys/viz/colors.py +204 -0
  63. polyphys/viz/helpers.py +549 -0
  64. polyphys-1.0.0.dist-info/METADATA +339 -0
  65. polyphys-1.0.0.dist-info/RECORD +69 -0
  66. polyphys-1.0.0.dist-info/WHEEL +5 -0
  67. polyphys-1.0.0.dist-info/licenses/AUTHORS.rst +13 -0
  68. polyphys-1.0.0.dist-info/licenses/LICENSE +22 -0
  69. polyphys-1.0.0.dist-info/top_level.txt +1 -0
polyphys/__init__.py ADDED
@@ -0,0 +1,7 @@
1
+ """Top-level package for polyphys."""
2
+ from .__version__ import __version__
3
+ from polyphys import analyze
4
+ from polyphys import manage
5
+ from polyphys import simulate
6
+
7
+ __all__ = ['__version__', 'analyze', 'manage', 'simulate']
@@ -0,0 +1,22 @@
1
+ """
2
+ Version information for PolyPhys, :mod:`polyphys.__version__`.
3
+
4
+ :data:`__version__` is the release of PolyPhys, a `semantic versioning`_
5
+ string, ``MAJOR.MINOR.PATCH`` with optional pre-release and build labels.
6
+ Which names the versioning promise covers, which modules are stable or
7
+ provisional, and how a name is deprecated are stated once, on the
8
+ documentation's "API stability" page (``docs/source/stability.md``).
9
+
10
+ .. _`semantic versioning`: https://semver.org/spec/v2.0.0.html
11
+
12
+ Data
13
+ ----
14
+
15
+ .. autodata:: __version__
16
+
17
+ """
18
+
19
+ # keep __version__ in separate file to avoid circular imports
20
+
21
+ #: Release of PolyPhys as a string, using `semantic versioning`_.
22
+ __version__ = "1.0.0"
@@ -0,0 +1,51 @@
1
+ """
2
+ Analyze Module --- :mod:`polyphys.analyze`
3
+ ==========================================
4
+
5
+
6
+ The `polyphys.analyze` module provides tools for analyzing molecular simulation
7
+ data: geometric and structural measurements of a particle group, simple
8
+ statistics, and the binning and histogram machinery used to build spatial
9
+ distributions.
10
+
11
+ Submodules
12
+ ==========
13
+ - `measurer`: Geometric and structural measurements, summary statistics, and
14
+ fixed-size binning with radial, axial, azimuthal, and planar histograms.
15
+ - `stats`: Autocorrelation-aware uncertainty of a time average over
16
+ correlated frames, by Flyvbjerg-Petersen block averaging.
17
+ - `clusters`: Contact and cluster statistics of a particle group, pair
18
+ separation densities, the binding statistics of two-patch binders, and
19
+ the binding-threshold sweep on saved distance matrices.
20
+ - `correlations`: The autocorrelation function of a time series with
21
+ Bartlett's band, decay-model fits, and the bond cosine correlation of a
22
+ chain.
23
+ - `sumrule`: The density sum rule on a space's ensemble-averaged density
24
+ profiles: scaled, normalized, folded, and summed over species.
25
+ - `density`: The local number density and volume fraction of a species
26
+ from a histogram of its bead centers, with the share of a finite bead
27
+ spread over the bins it reaches.
28
+ - `pipeline`: The reducer of one space's probe artifacts down the lineage,
29
+ driven by a study's analysis tables, with the post-hooks that derive time
30
+ averages, autocorrelations, density profiles, and foci pair distances.
31
+ """
32
+
33
+ from polyphys.analyze import (
34
+ clusters,
35
+ correlations,
36
+ density,
37
+ measurer,
38
+ pipeline,
39
+ stats,
40
+ sumrule,
41
+ )
42
+
43
+ __all__ = [
44
+ 'clusters',
45
+ 'correlations',
46
+ 'density',
47
+ 'measurer',
48
+ 'pipeline',
49
+ 'stats',
50
+ 'sumrule',
51
+ ]