Merge branch 'swash' of ssh://git.edgarpierre.fr:39529/m2cce/internship into swash
This commit is contained in:
commit
fb33be95bb
3 changed files with 1 additions and 3 deletions
|
@ -12,6 +12,5 @@ inp=inp_post/spec_nb
|
||||||
compare=inp_post_nb
|
compare=inp_post_nb
|
||||||
out=out_post
|
out=out_post
|
||||||
#nperseg=1024
|
#nperseg=1024
|
||||||
dt=0.25
|
|
||||||
x0=-1250
|
x0=-1250
|
||||||
t0=180
|
t0=180
|
||||||
|
|
|
@ -12,6 +12,5 @@ inp=inp_post/spec
|
||||||
compare=inp_post_nb
|
compare=inp_post_nb
|
||||||
out=out_post
|
out=out_post
|
||||||
#nperseg=1024
|
#nperseg=1024
|
||||||
dt=0.25
|
|
||||||
x0=-1250
|
x0=-1250
|
||||||
t0=180
|
t0=180
|
||||||
|
|
|
@ -38,7 +38,7 @@ x0 = config.getint("post", "x0")
|
||||||
arg_x0 = np.abs(x - x0).argmin()
|
arg_x0 = np.abs(x - x0).argmin()
|
||||||
t0 = config.getfloat("post", "t0")
|
t0 = config.getfloat("post", "t0")
|
||||||
arg_t0 = np.abs(t - t0).argmin()
|
arg_t0 = np.abs(t - t0).argmin()
|
||||||
dt = config.getfloat("post", "dt")
|
dt = np.diff(t).mean()
|
||||||
f = 1 / dt
|
f = 1 / dt
|
||||||
nperseg = config.getint("post", "nperseg", fallback=None)
|
nperseg = config.getint("post", "nperseg", fallback=None)
|
||||||
log.info(f"Computing reflection coefficient at x={x0}")
|
log.info(f"Computing reflection coefficient at x={x0}")
|
||||||
|
|
Loading…
Reference in a new issue