PRIMARY  2026-02-11 15:21:26 -0800
Utilities:
IRK_weights
__pycache__
plotting.py

appendix/continuous_time_inference (Burgers):
Burgers.py
Burgers_systematic.py
figures
tables
5:import sys
8:import tensorflow as tf
9:import numpy as np
10:import matplotlib.pyplot as plt
11:import scipy.io
12:from scipy.interpolate import griddata
13:from pyDOE import lhs
14:from plotting import newfig, savefig
15:from mpl_toolkits.mplot3d import Axes3D
16:import time
17:import matplotlib.gridspec as gridspec
18:from mpl_toolkits.axes_grid1 import make_axes_locatable
20:np.random.seed(1234)
21:tf.set_random_seed(1234)
38:        self.layers = layers
64:                                                                options = {'maxiter': 50000,
77:        num_layers = len(layers) 
92:        num_layers = len(weights) + 1
143:    N_u = 100
144:    N_f = 10000
145:    layers = [2, 20, 20, 20, 20, 20, 20, 20, 20, 1]
188:    print('Error u: %e' % (error_u))                     
261:    # savefig('./figures/Burgers')  
11:#mpl.use('pgf')
22:pgf_with_latex = {                      # setup matplotlib to use latex for output
23:    "pgf.texsystem": "pdflatex",        # change this if using xetex or lautex
24:    "text.usetex": True,                # use LaTeX to write all text
35:    "pgf.preamble": [
40:mpl.rcParams.update(pgf_with_latex)
52:#        plt.savefig('{}.pgf'.format(filename), bbox_inches='tight', pad_inches=0)
56:#        plt.savefig('{}.pgf'.format(filename))
