oasys-elettra-kit / OASYS1-Wiser

The implementation of WISER into OASYS
MIT License
0 stars 1 forks source link

Displacements (of Source): Not Linked? #64

Closed capitanevs closed 3 years ago

capitanevs commented 3 years ago

The longitudinal displacement of the source seems not to be linked. Is is true? Below: should be -10, is 0 immagine immagine

aljosahafner commented 3 years ago

I will check, thanks!

aljosahafner commented 3 years ago

In fact we have never tried small displacements and they should be correctly implemented for OWOpticalElement, but source is not inheriting from this class. I implemented it now, but it does not print correctly... Latest version includes these corrections, so you can test it.

image

capitanevs commented 3 years ago

Ok thamks. I will check Beware: the print function for a beamline does not write about the small displacements. Perhaps the print for OpticalElement does (but I am still not sure:)

-- Inviato da myMail per Android Venerdì, 17 Settembre 2021, 09:18AM +02:00 da aljosahafner @.*** :

In fact we have never tried small displacements and they should be correctly implemented for OWOpticalElement, but source is not inheriting from this class. I implemented it now, but it does not print correctly... Latest version includes these corrections, so you can test it. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub , or unsubscribe . Triage notifications on the go with GitHub Mobile for iOS or Android .

capitanevs commented 3 years ago

Ok, it works.

this the versin of the file I used

Wiser Snippets In Oasys.log