AnalyzerTheta01-20

Scattering Angles of Analyzers Mounted in Kidney

System Name: AnalyzerThetaMotor01-20

Type: Motor

Brief Description

Each device controls the scattering angle of one of the analyzers mounted in the kidney. Due to the contruction of the hardware whenever the scattering angle is moved the corresponding diffaction detector is automatically moved to twice the scattering angle.

Restrictions

Devices which cannot be moved simultaneously with this device:

Other Restrictions:

Interactions

Devices which affect this device:

Devices which are affected by this device:

Whenever an analyzer's angle is moved:
    
    The correspond EfNN device's value is calculated using the following formula:
        EfNN = 81.81 / ((2 * d-spacing * sin(AnalyzerThetaNN)) ^ 2)
    
    A5's value is recalculated by taking the average of all analyzer's positions and
    comparing this to the last commanded position for A5 (directly or indirectly via 
    Ef, Ef01-20, A6, HKL).  If the average position is within tolerance of the commanded
    position then the average is reported as the value, otherwise the value is reported as
    N/A.
    
    A6's value is recalculated from A5 using the following formula:
        A6 = 2 * A5 
        A6 = N/A if A5 is N/A.
    
    Ef's value is recalculated from A5 using the following formula:
        Ef = 81.81 / ((2 * d-spacing * sin(A5)) ^ 2) or
        Ef = N/A if A5 is N/A