From 43393ddc97ee3a77566a57c4c62f8304fd1370dd Mon Sep 17 00:00:00 2001 From: Abdallah Ammar Date: Sat, 31 Jul 2021 14:26:26 +0200 Subject: [PATCH] dress SVD --- devel/dmc_dress/dress_SVD.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/devel/dmc_dress/dress_SVD.py b/devel/dmc_dress/dress_SVD.py index 0e52d38..ac5bac9 100755 --- a/devel/dmc_dress/dress_SVD.py +++ b/devel/dmc_dress/dress_SVD.py @@ -90,7 +90,6 @@ def get_ci_dress(): ci_dress_mat_val = np.dot(U_svd,np.dot(np.diagflat(Ci_dress_svd_val),V_svd.T)) ci_dress_mat_err = np.dot(U_svd,np.dot(np.diagflat(Ci_dress_svd_err),V_svd.T)) - print(ci_dress_mat_val.shape) n_det = ezfio.get_spindeterminants_n_det() i_row = np.array(ezfio.get_spindeterminants_psi_coef_matrix_rows()) @@ -166,7 +165,15 @@ if __name__ == '__main__': Ci_dress_val, Ci_dress_err = get_ci_dress() save_to_file(Ci_dress_val,Ci_dress_err, 'ci_dress.txt') - #ezfio.set_dmc_dress_dmc_delta_h(Ci_dress_val) + + + # _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + # + # SAVE TO EZFIO + # + ezfio.set_dmc_dress_dmc_delta_h(Ci_dress_val) + # _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + # print("end after {:.3f} minutes".format((time.time()-t0)/60.) )