コード例 #1
0
from Make_movie import Gen_movie

Movie = Gen_movie()
M = 30
fd_name = 'cos_PD_F2_UW1'
index = 0
data_type = 'dat'
size_sufx = 'size'

Movie.set_basic(M, fd_name, data_type, size_sufx, index)

x_name = 'R1_x'
t_out_name = 'R1_t_out'
u_exa_name = 'R2_u_exact'
u_num_name = 'R2_u_track'

mov_name = 'demo'
fps = 10
fine_fac = 4
Movie.set_movie_para(mov_name, fps, fine_fac)

Movie.set_var(x_name, t_out_name, u_num_name, u_exa_name)
Movie.read_raw_data()
Movie.gen_movie()
from Make_movie import Gen_movie
import matplotlib.pyplot as plt
import numpy as np

Plot=Gen_movie()
M=30
fd_name='shock_DN_F1_UW1'
index=0
data_type='dat'
size_sufx='size'
main_fd_name='shock_DN_F1_scan_T_1'

Plot.set_basic(M,fd_name,data_type,size_sufx,index)
main_fd_ctrl=1
Plot.set_main_fd_ctrl(main_fd_ctrl,main_fd_name)

x_name='R1_x'
t_out_name='R1_t_out'
u_exa_name='R2_u_exact'
u_num_name='R1_uf'

mov_name='demo'
fps=10
fine_fac=4
Plot.set_movie_para(mov_name,fps,fine_fac)

Plot.set_var(x_name,t_out_name,u_num_name,u_exa_name)
# Plot.read_raw_data()
# Plot.gen_movie()
scheme_str=['LF','LW','MD','UW1']
fd_name_base_o='shock_DN_F1'