In [1]:
import numpy as np
import matplotlib.pyplot as plt
import tf
import plotly

plotly.offline.init_notebook_mode()
Da, Db, alpha, beta = 1, 100, -0.005, 10
width = 100
dx = 1
dt = 0.001
dx = 1
dt = 0.001 
n_steps = 150
steps=20
rd = tf.RDSimulatorBase(
    Da=Da, Db=Db, Ra=tf.Ra, Rb=tf.Rb, 
    width=width, height=width, 
    dx=dx, dt=dt, steps=20, alpha=alpha,beta=beta
)
# rd.plot_evolution_outcome("2dRD.png", n_steps=n_steps)
# f,a = rd.plot_side_by_side()
In [2]:
rd.plot_side_by_side_animation(n_frames=100, interval=5)
#test2
In [ ]: