Remove dt from config
This commit is contained in:
parent
b982baa3c2
commit
4889c8ca21
3 changed files with 1 additions and 3 deletions
|
@ -12,6 +12,5 @@ inp=inp_post/spec_nb
|
|||
compare=inp_post_nb
|
||||
out=out_post
|
||||
#nperseg=1024
|
||||
dt=0.25
|
||||
x0=-1250
|
||||
t0=180
|
||||
|
|
|
@ -12,6 +12,5 @@ inp=inp_post/spec
|
|||
compare=inp_post_nb
|
||||
out=out_post
|
||||
#nperseg=1024
|
||||
dt=0.25
|
||||
x0=-1250
|
||||
t0=180
|
||||
|
|
|
@ -38,7 +38,7 @@ x0 = config.getint("post", "x0")
|
|||
arg_x0 = np.abs(x - x0).argmin()
|
||||
t0 = config.getfloat("post", "t0")
|
||||
arg_t0 = np.abs(t - t0).argmin()
|
||||
dt = config.getfloat("post", "dt")
|
||||
dt = np.diff(t).mean()
|
||||
f = 1 / dt
|
||||
nperseg = config.getint("post", "nperseg", fallback=None)
|
||||
log.info(f"Computing reflection coefficient at x={x0}")
|
||||
|
|
Loading…
Reference in a new issue