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

90 lines
5.3 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="hyst_step_reverse_count"/>
<scan id="">
<preAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ChannelAction" channel="ACOAU-ACCU:OP-MODE" value="Light Available" operation="wait"/>
<dimension>
<positioner xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PseudoPositioner" id="counter">
<counts>5</counts>
</positioner>
</dimension>
<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>700</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="trans"/>
<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="22.0" done="X07MA-PC-PS2:alldone" doneValue="1" asynchronous="true" id="field">
<region>
<start>1.0</start>
<end>0.5</end>
<stepSize>0.25</stepSize>
</region>
<region>
<start>0.4</start>
<end>0.1</end>
<stepSize>0.1</stepSize>
</region>
<region>
<start>0.1</start>
<end>0.04</end>
<stepSize>0.01</stepSize>
</region>
<region>
<start>0.03</start>
<end>0.0</end>
<stepSize>0.0020</stepSize>
</region>
<region>
<preAction xsi:type="ChannelAction" channel="X07MA-PC-PS2:SET:RAMP:TARGET" value="Zero" operation="putq" delay="6.0"/>
<preAction xsi:type="ChannelAction" channel="X07MA-PC-PS2:SET:RAMP:DIR" value="Reverse" operation="putq" delay="6.0"/>
<preAction xsi:type="ChannelAction" channel="X07MA-PC-PS2:SET:RAMP:TARGET" value="Lower" operation="putq" delay="6.0"/>
<preAction xsi:type="ChannelAction" channel="X07MA-PC-PS2:SET:DMD:POINT:LOWER" value="0.002" operation="putq" delay="15.0"/>
<start>0.0020</start>
<end>0.03</end>
<stepSize>0.0020</stepSize>
</region>
<region>
<start>0.04</start>
<end>0.1</end>
<stepSize>0.01</stepSize>
</region>
<region>
<start>0.1</start>
<end>0.4</end>
<stepSize>0.1</stepSize>
</region>
<region>
<start>0.5</start>
<end>1.0</end>
<stepSize>0.25</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="trans_norm">
<mapping xsi:type="IDParameterMapping" refid="trans" 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="trans_norm" title="Transm. norm vs field"/>
</configuration>