samoylv / WPG

WPG: WavePropaGator, Interactive framework for X-ray FEL optics design and simulations.
Other
26 stars 20 forks source link

Add support for only one polarization for Wavefront #71

Open buzmakov opened 8 years ago

buzmakov commented 8 years ago

If we will keep only one polarization in wavefront, this may decrease memory usage and propagation time in 2 times

samoylv commented 8 years ago

yes, agreed. but SRW wavefront structure has 2 polarizations, how one can cope with that?

CFGrote commented 8 years ago

how about having an option "polarizated" or similar that tells srw to calculate only one polarization?

samoylv commented 8 years ago

1) well, seems we have one for s2e, Zoltan asked about that. but such type of modification in SRW could become an issue. nevertheless even on storage and reading/writing of the wavefronts one can also gain a lot.

we should open a ticket in SRW as well - as soon as i remember there is no such an option.