-
Notifications
You must be signed in to change notification settings - Fork 62
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
Computing the forward f'->f" Kramers Kronig transform using kkmclf_sca in DIFFKK.py #516
Comments
@Ayrtonb1 I suppose one could "just" replace I guess the expectation is that "measuring mu with wiggles" is generally easier than "measuring isolated f1 with wiggles". |
Hi Matthew. Thank you very much for your response. Yes, I agree that applying this to conventional XAS measurements is a much more common use. And I agree with your suggestion of replacing kkmclr with kkmclf... however if I try and do this by copying the relevant parts of the diffkk.py into my code, and it also requires other elements of the larch.xafs package - mback.py (I believe for normalising the data?), which requires pre_edge.py, and so on, and I end up copying lots and lots of code into my program. I am going to look at ways of modifying the source code on my device but I am trying to make this easy to use for others moving forward, too. Would you have any suggestions for an easier way to do this? Thanks again |
Hey there, Sorry to bother you again. Still stuck on this - once it is figured out I think it would be very useful in the context of modelling DAFS, if you are interested. |
@Ayrtonb1 Following the example of So, the first order of business (and probably "the hard part") is to get the input data to match the tabulated f1. That means that if you have experimental f1 (and, from where? To be clear: f1, not diffraction intensity dominated by f1. Or do you have refraction data?), then you have to work out how to match that to tabulated f1. For XAFS mu(E), we use the |
Hi there,
Hope you are well. I have a starting guess value for molecular f' that I am trying to convert to f" using diffkk. I know typically this takes a 'mu' input and scales the f", then calculates a f'. However, I want to scale this molecular f' to the atomic 'f1' instead and then calculate a f" based on this (scaled to 'f2'). It seems that using kkmclf_sca instead of kkmclr_sca is the solution, however the 'kk' function described in diffkk.py does not seemingly have an option for this. Are you aware of any way I might be able to get this to work? Happy to provide more information if required... let me know what you think.
Thank you
The text was updated successfully, but these errors were encountered: