Skip to content
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

SRW: add calculation of "degree of coherence" #848

Open
bruhwiler opened this issue Aug 16, 2017 · 4 comments
Open

SRW: add calculation of "degree of coherence" #848

bruhwiler opened this issue Aug 16, 2017 · 4 comments
Labels

Comments

@bruhwiler
Copy link
Member

This is possible in SRW.
It should be accessible from Sirepo.

@bruhwiler
Copy link
Member Author

Some update of SRW is required first.

@bnash
Copy link
Contributor

bnash commented Aug 10, 2018

What needs to be changed in SRW for this?
It looks like the mutual coherence function is already available in the python interface in srwlib via the function
srwl_wfr_emit_prop_multi_e with options:
2- Mutual Intensity Cut vs X;
3- Mutual Intensity Cut vs Y;
4- Mutual Intensity Cuts and Degree of Coherence vs X & Y;

See also this issue from the SRW repository
ochubar/SRW#12

@bruhwiler
Copy link
Member Author

Maybe the necessary capabilities are present in SRW now.
This would be a good feature to have in Sirepo.

@bnash
Copy link
Contributor

bnash commented Aug 10, 2018

I guess the question is whether its available in the virtual beamline API . It is available from the low level python API.
The parameter wm_ch does seem to allow it:
['wm_ch', 'i', 0, 'type of a characteristic to be extracted after calculation of multi-electron wavefront propagation: #0- intensity (s0); 1- four Stokes components; 2- mutual intensity cut vs x; 3- mutual intensity cut vs y'],

@robnagler robnagler added this to the srw milestone Feb 21, 2022
@robnagler robnagler added srw and removed 2 labels Feb 23, 2022
@robnagler robnagler removed this from the srw milestone Feb 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants