qdiffusivity 0.1.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.
- qdiffusivity/__init__.py +51 -0
- qdiffusivity/binned.py +614 -0
- qdiffusivity/data/README.md +17 -0
- qdiffusivity/data/__init__.py +0 -0
- qdiffusivity/data/files.py +19 -0
- qdiffusivity/data/mda.txt +45 -0
- qdiffusivity/density.py +489 -0
- qdiffusivity/diffusivity.py +750 -0
- qdiffusivity/example_api.py +3 -0
- qdiffusivity/tests/__init__.py +0 -0
- qdiffusivity/tests/conftest.py +82 -0
- qdiffusivity/tests/test_binned.py +163 -0
- qdiffusivity/tests/test_density.py +123 -0
- qdiffusivity/tests/test_diffusivity.py +227 -0
- qdiffusivity/tests/test_qdiffusivity.py +8 -0
- qdiffusivity/tests/utils.py +77 -0
- qdiffusivity-0.1.0.dist-info/METADATA +123 -0
- qdiffusivity-0.1.0.dist-info/RECORD +22 -0
- qdiffusivity-0.1.0.dist-info/WHEEL +5 -0
- qdiffusivity-0.1.0.dist-info/licenses/AUTHORS.md +23 -0
- qdiffusivity-0.1.0.dist-info/licenses/LICENSE +21 -0
- qdiffusivity-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: qdiffusivity
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Quantile-based estimation of local diffusivities in molecular dynamics simulations of nanoconfined liquids
|
|
5
|
+
Author-email: Shern Ren Tee <shernren@gmail.com>
|
|
6
|
+
Maintainer-email: Shern Ren Tee <shernren@gmail.com>
|
|
7
|
+
License-Expression: MIT
|
|
8
|
+
Keywords: molecular simulations
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Requires-Python: >=3.9
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
License-File: AUTHORS.md
|
|
14
|
+
Requires-Dist: MDAnalysis>=2.0.0
|
|
15
|
+
Provides-Extra: test
|
|
16
|
+
Requires-Dist: pytest>=6.0; extra == "test"
|
|
17
|
+
Requires-Dist: pytest-xdist>=2.5; extra == "test"
|
|
18
|
+
Requires-Dist: pytest-cov>=3.0; extra == "test"
|
|
19
|
+
Provides-Extra: doc
|
|
20
|
+
Requires-Dist: sphinx; extra == "doc"
|
|
21
|
+
Requires-Dist: sphinx_rtd_theme; extra == "doc"
|
|
22
|
+
Dynamic: license-file
|
|
23
|
+
|
|
24
|
+
qdiffusivity
|
|
25
|
+
==============================
|
|
26
|
+
[//]: # (Badges)
|
|
27
|
+
|
|
28
|
+
| **Latest release** | [![Last release tag][badge_release]][url_latest_release] ![GitHub commits since latest release (by date) for a branch][badge_commits_since] [![Documentation Status][badge_docs]][url_docs]|
|
|
29
|
+
| :----------------- | :------- |
|
|
30
|
+
| **Status** | [![GH Actions Status][badge_actions]][url_actions] [![codecov][badge_codecov]][url_codecov] |
|
|
31
|
+
| **Community** | [![License: MIT License][badge_license]][url_license] [![Powered by MDAnalysis][badge_mda]][url_mda]|
|
|
32
|
+
|
|
33
|
+
[badge_actions]: https://github.com/srtee/qdiffusivity/actions/workflows/gh-ci.yaml/badge.svg
|
|
34
|
+
[badge_codecov]: https://codecov.io/gh/srtee/qdiffusivity/branch/main/graph/badge.svg
|
|
35
|
+
[badge_commits_since]: https://img.shields.io/github/commits-since/srtee/qdiffusivity/latest
|
|
36
|
+
[badge_docs]: https://readthedocs.org/projects/qdiffusivity/badge/?version=latest
|
|
37
|
+
[badge_license]: https://img.shields.io/badge/License-MIT-yellow.svg
|
|
38
|
+
[badge_mda]: https://img.shields.io/badge/powered%20by-MDAnalysis-orange.svg?logoWidth=16&logo=data:image/x-icon;base64,AAABAAEAEBAAAAEAIAAoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJD+XwCY/fEAkf3uAJf97wGT/a+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AAA2AAAAMwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB0AAADoAAAA/wAAAP8AAAD/AAAAWgC3/2AAnv3eAJ/+dgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9AAAA/wAAAP8AAAD/AAAA/wAKDzEAnP3WAKn//wCS/OgAf/8MAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIQAAANwAAADtAAAA7QAAAMAAABUMAJn9gwCe/e0Aj/2LAP//AQAAAAAAAAAA
|
|
39
|
+
[badge_release]: https://img.shields.io/github/release-pre/srtee/qdiffusivity.svg
|
|
40
|
+
[url_actions]: https://github.com/srtee/qdiffusivity/actions?query=branch%3Amain+workflow%3Agh-ci
|
|
41
|
+
[url_codecov]: https://codecov.io/gh/srtee/qdiffusivity/branch/main
|
|
42
|
+
[url_docs]: https://qdiffusivity.readthedocs.io/en/latest/?badge=latest
|
|
43
|
+
[url_latest_release]: https://github.com/srtee/qdiffusivity/releases
|
|
44
|
+
[url_license]: https://opensource.org/licenses/MIT
|
|
45
|
+
[url_mda]: https://www.mdanalysis.org
|
|
46
|
+
|
|
47
|
+
Quantile-based estimation of local diffusivities in molecular dynamics simulations of nanoconfined liquids
|
|
48
|
+
|
|
49
|
+
qdiffusivity is bound by a [Code of Conduct](https://github.com/srtee/qdiffusivity/blob/main/CODE_OF_CONDUCT.md).
|
|
50
|
+
|
|
51
|
+
### Installation
|
|
52
|
+
|
|
53
|
+
To build qdiffusivity from source,
|
|
54
|
+
we highly recommend using virtual environments.
|
|
55
|
+
If possible, we strongly recommend that you use
|
|
56
|
+
[Anaconda](https://docs.conda.io/en/latest/) as your package manager.
|
|
57
|
+
Below we provide instructions both for `conda` and
|
|
58
|
+
for `pip`.
|
|
59
|
+
|
|
60
|
+
#### With conda
|
|
61
|
+
|
|
62
|
+
Ensure that you have [conda](https://docs.conda.io/projects/conda/en/latest/user-guide/install/index.html) installed.
|
|
63
|
+
|
|
64
|
+
Create a virtual environment and activate it:
|
|
65
|
+
|
|
66
|
+
```
|
|
67
|
+
conda create --name qdiffusivity
|
|
68
|
+
conda activate qdiffusivity
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Install the development and documentation dependencies:
|
|
72
|
+
|
|
73
|
+
```
|
|
74
|
+
conda env update --name qdiffusivity --file devtools/conda-envs/test_env.yaml
|
|
75
|
+
conda env update --name qdiffusivity --file docs/requirements.yaml
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Build this package from source:
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
pip install -e .
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
If you want to update your dependencies (which can be risky!), run:
|
|
85
|
+
|
|
86
|
+
```
|
|
87
|
+
conda update --all
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
And when you are finished, you can exit the virtual environment with:
|
|
91
|
+
|
|
92
|
+
```
|
|
93
|
+
conda deactivate
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
#### With pip
|
|
97
|
+
|
|
98
|
+
To build the package from source, run:
|
|
99
|
+
|
|
100
|
+
```
|
|
101
|
+
pip install .
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
If you want to create a development environment, install
|
|
105
|
+
the dependencies required for tests and docs with:
|
|
106
|
+
|
|
107
|
+
```
|
|
108
|
+
pip install ".[test,doc]"
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
### Copyright
|
|
112
|
+
|
|
113
|
+
The qdiffusivity source code is hosted at https://github.com/srtee/qdiffusivity
|
|
114
|
+
and is available under the [MIT License](https://opensource.org/licenses/MIT) (see the file [LICENSE](https://github.com/srtee/qdiffusivity/blob/main/LICENSE)).
|
|
115
|
+
|
|
116
|
+
Copyright (c) 2026, Shern Ren Tee
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
#### Acknowledgements
|
|
120
|
+
|
|
121
|
+
Project based on the
|
|
122
|
+
[MDAnalysis Cookiecutter](https://github.com/MDAnalysis/cookiecutter-mda) version 0.1.
|
|
123
|
+
Please cite [MDAnalysis](https://github.com/MDAnalysis/mdanalysis#citation) when using qdiffusivity in published work.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
qdiffusivity/__init__.py,sha256=6ph5zh4lcIbAI5wSEjNZsx9bxaymihtMW-dRRhBEBw0,1023
|
|
2
|
+
qdiffusivity/binned.py,sha256=poEf1LQpYYSgNCNiKLKCe5jTVskmqWjaK37SOb8Qh20,22571
|
|
3
|
+
qdiffusivity/density.py,sha256=7n544413m1qRXH_wg-kV85uShx3apPtHxI7oac8gwyc,16952
|
|
4
|
+
qdiffusivity/diffusivity.py,sha256=F0cxLd_-coZg44aN8gJZJqMq1vZsW4KDMkFG6CCHTqc,27532
|
|
5
|
+
qdiffusivity/example_api.py,sha256=D1d-2lgrlOdIbTnttta8hoc3QlI2nMvcth9AdR6hdKE,128
|
|
6
|
+
qdiffusivity/data/README.md,sha256=9vPzl1TBcg01DdjETTuyyVO8H2SG0jh9Xm7nrXr4L8E,1005
|
|
7
|
+
qdiffusivity/data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
|
+
qdiffusivity/data/files.py,sha256=YjNe_zzB54QXFn2CE3sAgWOJ9MiqaThpBSod1D1fs_Q,325
|
|
9
|
+
qdiffusivity/data/mda.txt,sha256=tjluETN1wBJuQCmIwqxWOCTwllh3agn3PdMOSvdPBcE,5920
|
|
10
|
+
qdiffusivity/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
+
qdiffusivity/tests/conftest.py,sha256=YLdkYhdhBORDmiBWX_uQvSSwxZ8o9usvdoJ-TUiZSLA,2797
|
|
12
|
+
qdiffusivity/tests/test_binned.py,sha256=cZ9uy0OcGE_1zucq7SJB0a76knWWbuoL3Y4kqDfsopU,5584
|
|
13
|
+
qdiffusivity/tests/test_density.py,sha256=KF7PxgKBD3Mza_Tu0v4o51syw6eMIqRt6rN8At-7dKI,4058
|
|
14
|
+
qdiffusivity/tests/test_diffusivity.py,sha256=yFMytkdzT5PedZHk_mSCTRsGFo9q_K9TGhSGvR_Xu_Q,7578
|
|
15
|
+
qdiffusivity/tests/test_qdiffusivity.py,sha256=2Ep1rNeWJcj7oRMRhgy6OT9tcZ9dqZslbxeFJke_Ueo,204
|
|
16
|
+
qdiffusivity/tests/utils.py,sha256=9fx2-kbONObjkf-zSJ-PHPl54QjafC0zH5hARBQB3k4,2245
|
|
17
|
+
qdiffusivity-0.1.0.dist-info/licenses/AUTHORS.md,sha256=2dcYsF_v5-unQFEJfe2bTQIcicKQpSfUPcA8fFVdPQ8,653
|
|
18
|
+
qdiffusivity-0.1.0.dist-info/licenses/LICENSE,sha256=YqPrflE2j7qMuu3cWjySIO3ryPwlthcXTSpmQMwmgoM,1071
|
|
19
|
+
qdiffusivity-0.1.0.dist-info/METADATA,sha256=TuK58GUkGaMraMW4joCe8IEv17o0sakOBUhaw02n34M,5827
|
|
20
|
+
qdiffusivity-0.1.0.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
|
|
21
|
+
qdiffusivity-0.1.0.dist-info/top_level.txt,sha256=9L0G0jPVk0hSSXvjq4puEa14oEMscmLoqwvW0txjmUk,13
|
|
22
|
+
qdiffusivity-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Authors
|
|
2
|
+
|
|
3
|
+
qdiffusivity was created by Shern Ren Tee in 2026.
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
All contributing authors are listed in this file below.
|
|
7
|
+
The repository history at https://github.com/srtee/qdiffusivity
|
|
8
|
+
and the CHANGELOG show individual code contributions.
|
|
9
|
+
|
|
10
|
+
## Chronological list of authors
|
|
11
|
+
|
|
12
|
+
<!--
|
|
13
|
+
The rules for this file:
|
|
14
|
+
* Authors are sorted chronologically, earliest to latest
|
|
15
|
+
* Please format it each entry as "Preferred name <GitHub username>"
|
|
16
|
+
* Your preferred name is whatever you wish to go by --
|
|
17
|
+
it does *not* have to be your legal name!
|
|
18
|
+
* Please start a new section for each new year
|
|
19
|
+
* Don't ever delete anything
|
|
20
|
+
-->
|
|
21
|
+
|
|
22
|
+
**2026**
|
|
23
|
+
- Shern Ren Tee <@srtee>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026, Shern Ren Tee
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
qdiffusivity
|