Files
x07ma/script/users/Kejin/Mn_hyst_plus_forward.xml
2016-11-28 06:56:22 +01:00

66 lines
4.6 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<configuration xmlns="http://www.psi.ch/~ebner/models/scan/1.0" numberOfExecution="1" failOnSensorError="true">
<data format="txt" fileName="Mn_hyst_plus_forward"/>
<scan id="">
<preAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ChannelAction" channel="X07MA-ID:MODE" value="CIRC +" delay="1.0"/>
<preAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ChannelAction" channel="X07MA-ID:ENERGY-OFFS" value="6.0"/>
<preAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ChannelAction" channel="X07MA-ID:DONE" value="DONE" operation="wait"/>
<dimension>
<positioner xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ArrayPositioner" name="X07MA-PHS-E:GO.A" readback="X07MA-PGM:CERBK" settlingTime="0.5" id="Energy">
<positions>632 639.44 651.9</positions>
</positioner>
<detector xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ScalarDetector" name="X07MA-ES1:CADC1" id="TEY"/>
<detector xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ScalarDetector" name="X07MA-ES1:CADC2" id="I0"/>
<detector xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ScalarDetector" name="X07MA-ES1:CADC3" id="fluo"/>
<detector xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ScalarDetector" name="X07MA-ID:MODE" id="polarization"/>
<detector xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ScalarDetector" name="X07MA-ID:ALPHA" id="polAngle"/>
<detector xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ScalarDetector" name="X07MA-PC-TC:STS:T1" id="temperature"/>
<detector xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ScalarDetector" name="ARIDI-PCT:CURRENT" id="RingCurrent"/>
<detector xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ScalarDetector" name="X07MA-ES1:CADC5" id="fieldAnalogX"/>
</dimension>
<dimension>
<positioner xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RegionPositioner" name="X07MA-PC-PS2:SET:DMD:POINT:LOWER" readback="X07MA-PC-PS2:STS:PMCURRENT" settlingTime="0.0" done="X07MA-PC-PS2:alldone" doneValue="1" doneDelay="25.0" asynchronous="true" id="field">
<region>
<start>0.4</start>
<end>0.1</end>
<stepSize>0.02</stepSize>
</region>
<region>
<start>0.1</start>
<end>0.0</end>
<stepSize>0.0050</stepSize>
</region>
<region>
<preAction xsi:type="ChannelAction" channel="X07MA-PC-PS2:SET:RAMP:TARGET" value="Zero" operation="putq" delay="10.0"/>
<preAction xsi:type="ChannelAction" channel="X07MA-PC-PS2:SET:RAMP:DIR" value="Forward" operation="putq" delay="20.0"/>
<preAction xsi:type="ChannelAction" channel="X07MA-PC-PS2:SET:RAMP:TARGET" value="Lower" operation="putq" delay="20.0"/>
<start>0.0</start>
<end>0.1</end>
<stepSize>0.0050</stepSize>
</region>
<region>
<start>0.1</start>
<end>0.4</end>
<stepSize>0.02</stepSize>
</region>
</positioner>
</dimension>
<manipulation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ScriptManipulation" id="tey_norm">
<mapping xsi:type="IDParameterMapping" refid="TEY" variable="c"/>
<mapping xsi:type="IDParameterMapping" refid="I0" variable="d"/>
<script>import math
def process(c,d):
return c/d</script>
</manipulation>
<manipulation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ScriptManipulation" id="fluo_norm">
<mapping xsi:type="IDParameterMapping" refid="fluo" variable="c"/>
<mapping xsi:type="IDParameterMapping" refid="I0" variable="d"/>
<script>import math
def process(c,d):
return c/d</script>
</manipulation>
</scan>
<visualization xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="LinePlot" x="field" y="tey_norm" title="TEY norm vs field"/>
<visualization xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="LinePlot" x="field" y="fluo_norm" title="Fluorescence. norm vs field"/>
</configuration>