This has been built upon the paper "Learning partial differential equations for biological transport models from noisy spatiotemporal data". See https://arxiv.org/abs/1902.04733
We investigate methods for discovering the governing parameters of a partial differential equation (PDE) model for 1D chemotaxis from spatiotemporal data. Recent progress in this area includes sparse regression via SINDy and Physics-Informed Neural Networks (PINNs), both of which present unique challenges in the presence of noise. We analyze the performance and key vulnerabilities of both a Finite-Difference SINDy (FD-SINDy) framework and a PINN-based approach for this parameter discovery task. We then develop a novel, decoupled methodology that uses an artificial neural network (ANN) to denoise data and accurately approximate partial derivatives. We test these frameworks on the 1D chemotaxis PDE, a canonical model for biological transport. Our results highlight the critical challenges associated with derivative estimation and optimization in existing frameworks and show that our proposed decoupled approach provides a more robust path toward accurate model discovery from imperfect data.
You can view the detailed report here: Chemotaxis Findings.pdf
How to Use the Package
To run the code, please install the package and its dependencies from this repository.
- Installation
From your terminal, navigate to the project's root directory and run the following command to install the package:
pip install chemotaxis
- Usage
You can now import and run the modules directly from any Python script or notebook. The files should be run in the following order:
Generate Data: run generate_chemotaxis.py
Generate Derivatives: run generate_chemotaxis_derivatives.py
Run SINDy Model: run sindy_chemotaxis_model.py
Run PINN Model: run pinn_chemotaxis.py
Run ANN Denoiser: run ann_denoiser.py
Note: Some files (PINN and ANN-SINDy) are computationally intensive and may not run efficiently on a standard CPU. For those cases, running them on Google Colab is recommended.
--- Aditi Jantikar and Pavithra Ramesh
Metadata
Release files for chemotaxis 0.1.3
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 |
|---|---|---|---|---|
| chemotaxis-0.1.3.tar.gz | 23.2 kB | Without provenance | Details for chemotaxis-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| chemotaxis-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for chemotaxis-0.1.3-py3-none-any.whl |
Total release size: 47.9 kB
Release files / chemotaxis-0.1.3.tar.gz
| Download URL | chemotaxis-0.1.3.tar.gz |
|---|---|
| Size | 23.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2c11412c558772afb54c6c7c9da8c85b5008758849f542c2178912adf4af2ce1
|
|
BLAKE2b-256 checksum How to use checksums |
0fd8fd134427f541685fa0fba4fc0ae1712970d8da3f5e2053985467db9c43ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.2
|
Release files / chemotaxis-0.1.3-py3-none-any.whl
| Download URL | chemotaxis-0.1.3-py3-none-any.whl |
|---|---|
| Size | 24.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a916845c465484b18bf938014bb9f39625fc7da61dd40fec4fe80034351ea8c3
|
|
BLAKE2b-256 checksum How to use checksums |
0a224a628eef8f438f2ededfb27df81f75c2a5e05d3ed8b7842027e78389c193
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.2
|
Security for chemotaxis 0.1.3
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.