Skip to content

Conversation

hmenke
Copy link
Member

@hmenke hmenke commented Nov 11, 2023

TODO:

  • Test that this actually works
  • Documentation for the new parameters
  • Maybe an example?

@Wentzell Wentzell force-pushed the unstable branch 3 times, most recently from cb11c2d to 1063144 Compare March 25, 2024 22:25
@hmenke hmenke force-pushed the improved-estimators branch 2 times, most recently from 6abe7ed to 9da9fbc Compare March 31, 2025 20:57
@hmenke hmenke force-pushed the improved-estimators branch from 12be3e3 to c672c64 Compare April 4, 2025 13:05
Comment on lines -690 to -699
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)
Copy link
Member Author

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?

Copy link
Member Author

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".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant