rtdpy
rtdpy: A python package for residence time distributions - Published in JOSS (2019)
Science Score: 93.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 4 DOI reference(s) in README and JOSS metadata -
✓Academic publication links
Links to: joss.theoj.org -
○Committers with academic emails
-
○Institutional organization owner
-
✓JOSS paper metadata
Published in Journal of Open Source Software
Keywords
Scientific Fields
Repository
Residence Time Distribution modeling in Python.
Basic Info
- Host: GitHub
- Owner: Merck
- License: mit
- Language: Python
- Default Branch: master
- Homepage: https://merck.github.io/rtdpy/
- Size: 2.06 MB
Statistics
- Stars: 7
- Watchers: 5
- Forks: 8
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
rtdpy
Residence Time Distribution modeling in Python.
A simple example
Create a family of tanks in series (N-CSTRs) and analyze them
python
import matplotlib.pyplot as plt
import rtdpy
for n in [1, 2, 5, 10, 100]:
a = rtdpy.Ncstr(tau=1, n=n, dt=.001, time_end=5)
plt.plot(a.time, a.exitage, label="n={}".format(n))
plt.legend()
plt.xlabel('Time')
plt.ylabel('Exit Age Function')
plt.title('Impulse Responses')

Installation
bash
pip install rtdpy
Issues/Requests/Contributions
See CONTRIBUTING.md
Testing
Tests are written using pytest. numpy and scipy must also be installed in the environment if using pytest directly. tox can also be used to test against Python versions 3.5, 3.6, and 3.7. See pytest documentation for how to use and interpret pytest results.
It is recommended to use a virtual environment for developing/testing.
```bash git clone https://github.com/Merck/rtdpy.git # or use your forked repo cd rtdpy python3 -m venv .venv source .venv/bin/activate pip install -e . # will also install numpy and scipy dependencies pip install pytest tox
run all tests
pytest
run tests and style check for Python versions 3.5, 3.6, and 3.7, if available.
tox ```
Author: Matthew Flamm
Email: matthew.flamm@merck.com
Owner
- Name: Merck Sharp & Dohme Corp. a subsidiary of Merck & Co., Inc.
- Login: Merck
- Kind: organization
- Location: Kenilworth, NJ
- Website: http://www.merck.com
- Repositories: 34
- Profile: https://github.com/Merck
JOSS Publication
rtdpy: A python package for residence time distributions
Authors
Tags
residence time distributionPapers & Mentions
Total mentions: 1
Parametric Study of Residence Time Distributions and Granulation Kinetics as a Basis for Process Modeling of Twin-Screw Wet Granulation
- DOI: 10.3390/pharmaceutics13050645
- OpenAlex ID: https://openalex.org/W3157024794
- Published: May 2021
GitHub Events
Total
Last Year
Committers
Last synced: 5 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Flamm, Matthew H | M****m@m****m | 39 |
| Juanjo Bazán | j****n@g****m | 1 |
| Faris A Chugthai | 2****i | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 4 months ago
All Time
- Total issues: 1
- Total pull requests: 3
- Average time to close issues: about 8 hours
- Average time to close pull requests: 3 days
- Total issue authors: 1
- Total pull request authors: 3
- Average comments per issue: 0.0
- Average comments per pull request: 3.0
- Merged pull requests: 3
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- MatthewFlamm (1)
Pull Request Authors
- MatthewFlamm (1)
- farisachugthai (1)
- xuanxu (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 34 last-month
- Total dependent packages: 0
- Total dependent repositories: 1
- Total versions: 7
- Total maintainers: 1
pypi.org: rtdpy
Python package for residence time distribution analysis
- Homepage: https://merck.github.io/rtdpy
- Documentation: https://rtdpy.readthedocs.io/
- License: LICENSE
-
Latest release: 0.6.0
published over 3 years ago
Rankings
Maintainers (1)
Dependencies
- ipython *
- matplotlib *
- numpy *
- numpydoc >=1.0.0
- scipy *
- sphinx *
- numpy *
- scipy *
