Spaces:
Paused
Paused
Commit ·
8f5ec7b
1
Parent(s): 510344f
removed stale imports
Browse files- jbubble/bubble.py +0 -2
- jbubble/pulse.py +0 -2
- jbubble/shapes.py +0 -2
- jbubble/simulation.py +0 -2
- jbubble/solver.py +0 -2
- jbubble/units.py +0 -2
- jbubble/visuals.py +0 -2
- streamlit_app.py +0 -3
jbubble/bubble.py
CHANGED
|
@@ -1,7 +1,5 @@
|
|
| 1 |
"""Bubble material model definitions."""
|
| 2 |
|
| 3 |
-
from __future__ import annotations
|
| 4 |
-
|
| 5 |
import equinox as eqx
|
| 6 |
import jax
|
| 7 |
import jax.numpy as jnp
|
|
|
|
| 1 |
"""Bubble material model definitions."""
|
| 2 |
|
|
|
|
|
|
|
| 3 |
import equinox as eqx
|
| 4 |
import jax
|
| 5 |
import jax.numpy as jnp
|
jbubble/pulse.py
CHANGED
|
@@ -1,7 +1,5 @@
|
|
| 1 |
"""Driving pulse parameterisations."""
|
| 2 |
|
| 3 |
-
from __future__ import annotations
|
| 4 |
-
|
| 5 |
from typing import Callable
|
| 6 |
|
| 7 |
import equinox as eqx
|
|
|
|
| 1 |
"""Driving pulse parameterisations."""
|
| 2 |
|
|
|
|
|
|
|
| 3 |
from typing import Callable
|
| 4 |
|
| 5 |
import equinox as eqx
|
jbubble/shapes.py
CHANGED
|
@@ -1,7 +1,5 @@
|
|
| 1 |
"""Library of differentiable-enough pulse shapes."""
|
| 2 |
|
| 3 |
-
from __future__ import annotations
|
| 4 |
-
|
| 5 |
import jax.numpy as jnp
|
| 6 |
|
| 7 |
|
|
|
|
| 1 |
"""Library of differentiable-enough pulse shapes."""
|
| 2 |
|
|
|
|
|
|
|
| 3 |
import jax.numpy as jnp
|
| 4 |
|
| 5 |
|
jbubble/simulation.py
CHANGED
|
@@ -1,7 +1,5 @@
|
|
| 1 |
"""High-level helpers for running and post-processing simulations."""
|
| 2 |
|
| 3 |
-
from __future__ import annotations
|
| 4 |
-
|
| 5 |
import equinox as eqx
|
| 6 |
import jax
|
| 7 |
import jax.numpy as jnp
|
|
|
|
| 1 |
"""High-level helpers for running and post-processing simulations."""
|
| 2 |
|
|
|
|
|
|
|
| 3 |
import equinox as eqx
|
| 4 |
import jax
|
| 5 |
import jax.numpy as jnp
|
jbubble/solver.py
CHANGED
|
@@ -1,7 +1,5 @@
|
|
| 1 |
"""Diffrax-based Rayleigh-Plesset solver."""
|
| 2 |
|
| 3 |
-
from __future__ import annotations
|
| 4 |
-
|
| 5 |
from typing import Any, Tuple
|
| 6 |
|
| 7 |
import diffrax
|
|
|
|
| 1 |
"""Diffrax-based Rayleigh-Plesset solver."""
|
| 2 |
|
|
|
|
|
|
|
| 3 |
from typing import Any, Tuple
|
| 4 |
|
| 5 |
import diffrax
|
jbubble/units.py
CHANGED
|
@@ -1,7 +1,5 @@
|
|
| 1 |
"""Unit-scaling helpers for jbubble simulations."""
|
| 2 |
|
| 3 |
-
from __future__ import annotations
|
| 4 |
-
|
| 5 |
import equinox as eqx
|
| 6 |
|
| 7 |
|
|
|
|
| 1 |
"""Unit-scaling helpers for jbubble simulations."""
|
| 2 |
|
|
|
|
|
|
|
| 3 |
import equinox as eqx
|
| 4 |
|
| 5 |
|
jbubble/visuals.py
CHANGED
|
@@ -1,7 +1,5 @@
|
|
| 1 |
"""Reusable Plotly helpers for jbubble visualisations."""
|
| 2 |
|
| 3 |
-
from __future__ import annotations
|
| 4 |
-
|
| 5 |
from dataclasses import dataclass
|
| 6 |
from typing import Iterable, Sequence, Union
|
| 7 |
|
|
|
|
| 1 |
"""Reusable Plotly helpers for jbubble visualisations."""
|
| 2 |
|
|
|
|
|
|
|
| 3 |
from dataclasses import dataclass
|
| 4 |
from typing import Iterable, Sequence, Union
|
| 5 |
|
streamlit_app.py
CHANGED
|
@@ -1,9 +1,6 @@
|
|
| 1 |
"""Simple Streamlit interface for jbubble simulations."""
|
| 2 |
|
| 3 |
-
from __future__ import annotations
|
| 4 |
-
|
| 5 |
import jax
|
| 6 |
-
import plotly.graph_objects as go
|
| 7 |
from plotly.subplots import make_subplots
|
| 8 |
import streamlit as st
|
| 9 |
|
|
|
|
| 1 |
"""Simple Streamlit interface for jbubble simulations."""
|
| 2 |
|
|
|
|
|
|
|
| 3 |
import jax
|
|
|
|
| 4 |
from plotly.subplots import make_subplots
|
| 5 |
import streamlit as st
|
| 6 |
|