[ Identification | Description | Input parameters | Output parameters | Links ]

# The `Powder1` Component

General powder sample with a single scattering vector.

## Identification

- Author: E.M.Lauridsen, N.B.Christensen, A.B.Abrahamsen
- Origin: Risoe
- Date: 4.2.98
- Version: 1.23

## Description

    General powder sample with a single scattering vector.
    The shape of the sample may be a cylinder of given radius or a box with dimensions
    xwidth, yheight, zthick.
    The area to scatter to is a disk of angular radius 'd_phi0' situated at the target.
    The target itself is either situated according to given coordinates (x,y,z), or
    setting the relative target_index of the component to focus at (next is +1).
    This target position will be set to its AT position. When targeting to centered
    components, such as spheres or cylinders, define an Arm component where to focus at.

    Example: Powder1(radius=0.015,h=0.05,q =1.8049,d_phi0 =0.07,pack=1,j=6,DW=1,
          F2=56.8,Vc=85.0054,sigma_a=0.463,target_x=0,target_y=0, target_z=1000)

## Input parameters

Parameters in boldface are required; the others are optional.

Name | Unit | Description | Default
--- | --- | --- | ---
radius | m | Radius of sample in (x,z) plane | 0.01
h | m | Height of sample y direction | 0.05
q |  |  | 1.8049
d_phi0 |  |  | 10
pack |  |  | 1
j |  |  | 6
DW |  |  | 1
F2 |  |  | 56.8
Vc |  |  | 85.0054
sigma_a |  |  | 0.463
target_x |  |  | 0
target_y |  |  | 0
target_z |  |  | 1
xwidth | m | horiz. dimension of sample, as a width | 0
yheight | m | vert.. dimension of sample, as a height | 0
zthick | m | thickness of sample | 0
int target_index |  |  | 0

## Output parameters

Name | Unit | Description | Default
--- | --- | --- | ---
my_s_v2 |  |  |
my_a_v |  |  |
q_v |  |  |
Pow_tx |  |  |
Pow_ty |  |  |
Pow_tz |  |  |
isrect |  |  |

## Links

- Source code for `Powder1.comp`.
- Old description, with explanation of focusing.
- Test results (not up-to-date).

[ Identification | Description | Input parameters | Output parameters | Links ]