Demo 05: Multi-Compartment Organism¶
Generate a 3-organ organism and visualize molecule transport across compartments.
In [1]:
Copied!
import sys
from pathlib import Path
# Ensure alienbio is importable
_root = Path(".").resolve().parent.parent / "src"
if str(_root) not in sys.path:
sys.path.insert(0, str(_root))
_demos = Path(".").resolve().parent
if str(_demos) not in sys.path:
sys.path.insert(0, str(_demos))
%matplotlib inline
import sys
from pathlib import Path
# Ensure alienbio is importable
_root = Path(".").resolve().parent.parent / "src"
if str(_root) not in sys.path:
sys.path.insert(0, str(_root))
_demos = Path(".").resolve().parent
if str(_demos) not in sys.path:
sys.path.insert(0, str(_demos))
%matplotlib inline
In [2]:
Copied!
from _core import demo_05_organism
fig = demo_05_organism()
from _core import demo_05_organism
fig = demo_05_organism()
Compartment Heatmap¶
Molecule 0 concentration across organs over time.
In [3]:
Copied!
fig
fig
Out[3]: