Compare nolay and 2lay
This commit is contained in:
parent
858928353a
commit
dbced643ca
|
@ -9,7 +9,7 @@ mpi=8
|
|||
|
||||
[post]
|
||||
inp=inp_post/spec_2lay
|
||||
compare=inp_post/spec_2lay
|
||||
out=out_post/spec_2lay
|
||||
compare=inp_post/spec_nolay
|
||||
out=out_post/spec_2layvsnolay
|
||||
x0=-1250
|
||||
t0=180
|
||||
|
|
|
@ -88,14 +88,14 @@ if config.has_option("post", "compare"):
|
|||
G_ = H_ / U_
|
||||
th_eta_u_ = np.angle(phi_eta_u_[1])
|
||||
|
||||
#R_ = np.sqrt(
|
||||
# (np.abs(phi_eta_[1]) + np.abs(phi_u_[1]) - 2 * np.abs(phi_eta_u_[1]))
|
||||
# / (np.abs(phi_eta_[1]) + np.abs(phi_u_[1]) + 2 * np.abs(phi_eta_u_[1]))
|
||||
#)
|
||||
R_ = np.sqrt(
|
||||
(1 + G_**2 - 2 * G_ * np.cos(th_eta_u_))
|
||||
/ (1 + G_**2 + 2 * G_ * np.cos(th_eta_u_))
|
||||
(np.abs(phi_eta_[1]) + np.abs(phi_u_[1]) - 2 * np.abs(phi_eta_u_[1]))
|
||||
/ (np.abs(phi_eta_[1]) + np.abs(phi_u_[1]) + 2 * np.abs(phi_eta_u_[1]))
|
||||
)
|
||||
#R_ = np.sqrt(
|
||||
# (1 + G_**2 - 2 * G_ * np.cos(th_eta_u_))
|
||||
# / (1 + G_**2 + 2 * G_ * np.cos(th_eta_u_))
|
||||
#)
|
||||
|
||||
|
||||
# Plotting
|
||||
|
|
Loading…
Reference in New Issue