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.
- polyphys/__init__.py +7 -0
- polyphys/__version__.py +22 -0
- polyphys/analyze/__init__.py +51 -0
- polyphys/analyze/clusters.py +1738 -0
- polyphys/analyze/correlations.py +995 -0
- polyphys/analyze/density.py +1138 -0
- polyphys/analyze/measurer.py +1338 -0
- polyphys/analyze/pipeline.py +1868 -0
- polyphys/analyze/stats.py +810 -0
- polyphys/analyze/sumrule.py +1159 -0
- polyphys/manage/__init__.py +11 -0
- polyphys/manage/organizer.py +2188 -0
- polyphys/manage/parser.py +1264 -0
- polyphys/manage/types.py +171 -0
- polyphys/manage/utils.py +777 -0
- polyphys/probe/__init__.py +25 -0
- polyphys/probe/binders.py +711 -0
- polyphys/probe/chain_size.py +583 -0
- polyphys/probe/core.py +437 -0
- polyphys/probe/histograms.py +863 -0
- polyphys/probe/pairs.py +555 -0
- polyphys/simulate/__init__.py +48 -0
- polyphys/simulate/build.py +1231 -0
- polyphys/simulate/core.py +237 -0
- polyphys/simulate/data.py +977 -0
- polyphys/simulate/dump.py +752 -0
- polyphys/simulate/log.py +788 -0
- polyphys/spec.py +1359 -0
- polyphys/tests/analyze/test_clusters.py +1058 -0
- polyphys/tests/analyze/test_correlations.py +708 -0
- polyphys/tests/analyze/test_density.py +813 -0
- polyphys/tests/analyze/test_measurer.py +785 -0
- polyphys/tests/analyze/test_pipeline.py +1881 -0
- polyphys/tests/analyze/test_stats.py +732 -0
- polyphys/tests/analyze/test_sumrule.py +917 -0
- polyphys/tests/conftest.py +753 -0
- polyphys/tests/data/lammps_build/make_starts.py +70 -0
- polyphys/tests/manage/test_organizer.py +1495 -0
- polyphys/tests/manage/test_parser.py +1222 -0
- polyphys/tests/manage/test_utils.py +498 -0
- polyphys/tests/probe/conftest.py +407 -0
- polyphys/tests/probe/test_binders.py +686 -0
- polyphys/tests/probe/test_chain_size.py +557 -0
- polyphys/tests/probe/test_core.py +391 -0
- polyphys/tests/probe/test_histograms.py +779 -0
- polyphys/tests/probe/test_pairs.py +475 -0
- polyphys/tests/simulate/test_build.py +1042 -0
- polyphys/tests/simulate/test_core.py +106 -0
- polyphys/tests/simulate/test_data.py +858 -0
- polyphys/tests/simulate/test_dump.py +487 -0
- polyphys/tests/simulate/test_log.py +667 -0
- polyphys/tests/strategies.py +120 -0
- polyphys/tests/synthetic.py +410 -0
- polyphys/tests/test_conftest.py +414 -0
- polyphys/tests/test_docs.py +82 -0
- polyphys/tests/test_packaging.py +97 -0
- polyphys/tests/test_spec.py +772 -0
- polyphys/tests/viz/conftest.py +32 -0
- polyphys/tests/viz/test_colors.py +113 -0
- polyphys/tests/viz/test_helpers.py +292 -0
- polyphys/viz/__init__.py +15 -0
- polyphys/viz/colors.py +204 -0
- polyphys/viz/helpers.py +549 -0
- polyphys-1.0.0.dist-info/METADATA +339 -0
- polyphys-1.0.0.dist-info/RECORD +69 -0
- polyphys-1.0.0.dist-info/WHEEL +5 -0
- polyphys-1.0.0.dist-info/licenses/AUTHORS.rst +13 -0
- polyphys-1.0.0.dist-info/licenses/LICENSE +22 -0
- polyphys-1.0.0.dist-info/top_level.txt +1 -0
polyphys/__init__.py
ADDED
polyphys/__version__.py
ADDED
|
@@ -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
|
+
]
|