kklmn / xrt

Package xrt (XRayTracer) is a python software library for ray tracing and wave propagation in x-ray regime. It is primarily meant for modeling synchrotron sources, beamlines and beamline elements.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to set up a spherical mirror

leverglow opened this issue · comments

There are four types of mirrors in 'curved mirror',but there's no spherical mirror.Should I set 'p' and 'q' of the elliptical mirror to be the same to simulate the spherical mirror?And whether 'p' and 'q' means the major and minor axes of the ellipse.

Don't know if this is a version problem, but I see seven mirror types under Curved mirrors. What 'p' and 'q' are is said in the docs (focal distances). What's wrong with trying ToroidMirror? Don't you see it there?

I know 'p' and 'q' means focal distances,but ellipse has only one focal distance and I need to set two parameters('p' and 'q' or f1 and f2).

Ellipse has two focal distances: from the center of the mirror to ellipse's focus1 and focus2. For a circle, the two foci are merged.