[ Identification | Description | Input parameters | Links ]
Mirror_Curved_Bispectral ComponentSingle curved mirror plate for e.g. a bispectral extraction inside an elliptic guide. In local coordinates x is the guide axis (beam direction) and the plate passes through the origin, spanning $-\mathtt{length}/2 \le x \le \mathtt{length}/2$. Its shape in the x-z plane is $z(x) = a_1 x^3 + b_1 x^2 + c_1 x$, with slopes given by the angles theta_1, theta_2 and theta_3 at the start, centre and end. Its half height follows the elliptic guide (focus_s, focus_e, smallaxis), or is yheight/2 before guide_start. Rotate the component so that local x points along the beam, e.g. ROTATED (0, -90, 0) for a beam along z. Reflectivity uses a built-in m-value supermirror model (R0=0.99, Qc=0.0217 AA^-1) or a reflectivity file. With transmit=1 non-reflected neutrons pass the plate with substrate and coating attenuation; neutrons with velocity along the normal sin(theta)*e_x - cos(theta)*e_z hit the back side. This description was written with AI assistance (Claude Code, 2026) from the component code, after a long history in McStas without sufficient documentation or an example instrument. Example: Mirror_Curved_Bispectral(focus_s=-10, focus_e=10, mirror_start=-0.1, guide_start=-0.1, yheight=0.05, smallaxis=1, length=0.2, m=2, theta_1=1, theta_2=1, theta_3=1)
| Name | Unit | Description | Default | |
| reflect | q(AA^-1) R(0-1) | (str) Name of reflectivity file. Format | 0 | |
| focus_s | m | first focal point of ellipse in ABSOLUTE COORDINATES | ||
| focus_e | m | second focal point of ellipse in ABSOLUTE COORDINATES | ||
| mirror_start | m | start of mirror in ABSOLUTE COORDINATES | ||
| guide_start | m | start of guide in ABSOLUTE COORDINATES | ||
| yheight | m | the height of the mirror when not in the guide | ||
| smallaxis | m | the smallaxis of the guide | ||
| length | m | the length of the mirror | ||
| m | m-value of material | |||
| transmit | 0/1 | 0: non reflected neutrons are absorbed. 1: non reflected neutrons pass through | 0 | |
| substrate_thickness | m | thickness of substrate (for absorption) | 0.0005 | |
| coating_thickness | m | thickness of coating (for absorption) | 10e-6 | |
| theta_1 | deg | angle of mirror wrt propagation direction at start of mirror | 1.25 | |
| theta_2 | deg | angle of mirror wrt propagation direction at center of mirror | 1.25 | |
| theta_3 | deg | angle of mirror wrt propagation direction at end of mirror | 1.25 |
| AT ( | , | , | ) RELATIVE | |||
|---|---|---|---|---|---|---|
| ROTATED ( | , | , | ) RELATIVE |
Mirror_Curved_Bispectral.comp.
[ Identification | Description | Examples | Input parameters | Links ]
Generated on mcstas 3.10.5