This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
import numpy as np | |
from scipy.integrate import solve_ivp | |
from scipy.interpolate import CubicSpline | |
import jax | |
import jax.numpy as jnp | |
import diffrax as dfx | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To add a new cell, type '# %%' | |
# To add a new markdown cell, type '# %% [markdown]' | |
# %% | |
import numpy as np | |
import matplotlib.pyplot as plt | |
import scipy.signal | |
h = np.zeros(128) | |
h[8] = 1 |