-
Notifications
You must be signed in to change notification settings - Fork 4
Add parameters to enable improved estimators #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: unstable
Are you sure you want to change the base?
Conversation
cb11c2d
to
1063144
Compare
6abe7ed
to
9da9fbc
Compare
12be3e3
to
c672c64
Compare
self.G_iw = BlockGf(mesh=self.iw_mesh, gf_struct=self.gf_struct) | ||
|
||
### I will use the FFT from triqs here... | ||
for name, g in self.G_tau: | ||
bl_size = g.target_shape[0] | ||
known_moments = np.zeros((4, bl_size, bl_size), dtype=complex) | ||
for i in range(bl_size): | ||
known_moments[1,i,i] = 1 | ||
self.G_iw, self.G_iw_error = w2dyn_ndarray_to_triqs_BlockGF_iw_beta_niw( | ||
giw, self.n_iw, self.beta, self.gf_struct) | ||
|
||
self.G_iw[name].set_from_fourier(g, known_moments) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ahausoel Was there any particular reason why you used a Fourier transform instead of using the impurity Green's function from w2dynamics? Do the Legendre tails from w2dynamics pose a problem anywhere?
@HugoStrand What is your opinion on that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the Legendre tail are undesirable we could set config["General"]["FTType"] = "plain"
.
TODO: