Giter Club home page Giter Club logo

Comments (10)

srio avatar srio commented on July 28, 2024

Yes, I know. It has been removed. In the future we will come back to combine srw and Shadow, but for the moment it is not ready. Please note that the official shadow3 repository has been moved to https://github.com/srio/shadow3 Here, the SRW stuff has been removed.

from shadow3.

tyjisinap avatar tyjisinap commented on July 28, 2024

Thank you! I want to raytrace ED-XAS beam line with a tapered undulator, and my question is How to generate such a source in shadow3?

from shadow3.

srio avatar srio commented on July 28, 2024

Taper undulator never existed in shadow. So, you have to approximate it with a geometrical source

from shadow3.

tyjisinap avatar tyjisinap commented on July 28, 2024

Thank you very much! Shadow3 is really a powerful software!

From: Manuel Sanchez del Rio
Date: 2016-01-20 16:03
To: srio/shadow3
CC: Yajun Tong
Subject: Re: [shadow3] The example SRW2Shadow_example01.py can't run. (#10)
Taper undulator never existed in shadow. So, you have to approximate it with a geometrical source

Reply to this email directly or view it on GitHub.

from shadow3.

lucarebuffi avatar lucarebuffi commented on July 28, 2024

Indeed. Then you should try ShadowOui......:D

from shadow3.

tyjisinap avatar tyjisinap commented on July 28, 2024

Yes, I have already used ShaodowOui, it can give intensity plot derectly. it's great, especialy, for the raytracing of bent crystal. but I haven't found how to simulate the tapered undulator. is there an example about this? Thank you very much!

Yajun Tong

from shadow3.

lucarebuffi avatar lucarebuffi commented on July 28, 2024

ShadowOui is basically a graphic user interface upon shadow3, even if it contains a lot of new features.
The kernel is shadow3, and you can simulate the tapered undulator in the same way: with a geometrical source.

from shadow3.

tyjisinap avatar tyjisinap commented on July 28, 2024

Thank you very much, I will try. and why ShadowOui's undulator source can't enter the k lambdaU and so on?
From: Luca Rebuffi
Date: 2016-01-20 21:51
To: srio/shadow3
CC: Yajun Tong
Subject: Re: [shadow3] The example SRW2Shadow_example01.py can't run. (#10)
ShadowOui is basically a graphic user interface upon shadow3, even if it contains a lot of new features.
The kernel is shadow3, and you can simulate the tapered undulator in the same way: with a geometrical source.

Reply to this email directly or view it on GitHub.

from shadow3.

srio avatar srio commented on July 28, 2024

K is automatically set to get the harmonic at the wanted energy. See example 13 in the Tutorials, and the formulas in the document:

https://github.com/srio/ShadowOui-Tutorial/blob/master/tutorial_shadowoui.pdf

https://github.com/srio/ShadowOui-Tutorial/

from shadow3.

tyjisinap avatar tyjisinap commented on July 28, 2024

Thank you very much!

from shadow3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.