Metadata-Version: 2.1
Name: rtdpy
Version: 0.5
Summary: Python package for residence time distribution analysis
Home-page: https://merck.github.io/rtdpy
Author: Matthew Flamm
Author-email: matthew.flamm@merck.com
License: LICENSE
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Scientific/Engineering
Description-Content-Type: text/markdown
Requires-Dist: numpy
Requires-Dist: scipy

# rtdpy

Residence Time Distribution modeling in Python.

[https://merck.github.com/rtdpy](https://merck.github.com/rtdpy)

## A simple example
Create a family of tanks in series (N-CSTRs) and analyze them
```python
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')
```

![N-Cstr RTDs](images/ncstr.png?raw=true "N-Cstr RTDs")

## Installation
```bash
pip install rtdpy
```

Author: Matthew Flamm

Email: <matthew.flamm@merck.com>



