lung
toy^3 lung
Documentation
Getting started
- Highly recommended, but optional. Use conda
conda env create -f environment.yml
- Install the
lungpackage
pip install -e .
- Start
jupyterfrom the root repository directory
jupyter notebook
How to run code
Take a look at notebooks/Delay Lung model.ipynb.
new_controller = NewController(waveform=BreathWaveform())
How to add a controller
- Suppose our name is
NewController - Create file in
lung/controller/_new_controller.py - Stub of the controller:
from lung.controllers.core import Controller
class NewController(Controller):
def __init__(self, **kwargs):
pass
def feed(self, err, t):
pass
- Add
NewControllertolung/controllers/__init__.py - Import using
from lung.controllers import NewController
How to add an environment
- Same idea as above. You've got this, Cyril! (Just watch out for
self.time...).
Metadata
Release files for lung 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lung-0.1.4.tar.gz | 11.3 kB | Without provenance | Details for lung-0.1.4.tar.gz |
Release files / lung-0.1.4.tar.gz
| Download URL | lung-0.1.4.tar.gz |
|---|---|
| Size | 11.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
58beb71d4a66318b4e0cc59c955ac12d6229808ecd7cb03a8d405dc7ebae108e
|
|
BLAKE2b-256 checksum How to use checksums |
8727336512f6b6db48d32bc187a54412c96d9cc1473e729eb7aaccdffe127ac4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
|
Security for lung 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.