Script execution
This commit is contained in:
@@ -12,10 +12,10 @@ phase.config.maxValue = 360.0
|
||||
phase.config.resolution = 0.5
|
||||
phase.initialize()
|
||||
|
||||
#st = Stream("ICTstream", dispatcher)
|
||||
#q = st.addScalar("Charge", "SINEG01-DICT215:B1_CHARGE-SIM", 1, 0)
|
||||
#st.initialize()
|
||||
q = Channel("SINEG01-DICT215:B1_CHARGE-SIM", type = 'd', alias='ICT-Q')
|
||||
st = Stream("ICTstream", dispatcher)
|
||||
q = st.addScalar("Charge", "SINEG01-DICT215:B1_CHARGE-SIM", 1, 0)
|
||||
st.initialize()
|
||||
#q = Channel("SINEG01-DICT215:B1_CHARGE-SIM", type = 'd', alias='ICT-Q')
|
||||
|
||||
try:
|
||||
qb = create_averager(q, nb, 0.100)
|
||||
@@ -31,6 +31,6 @@ finally:
|
||||
#st.close()
|
||||
|
||||
# Here the user needs to pick a phase as reference phase (onset of charge emission)
|
||||
phase_ref = 27.3
|
||||
phase_ref = 120.0
|
||||
phase_offset = - phase_ref
|
||||
caput("SINEG01-RSYS:CALC-VSUM-PHASE-OFFSET", phase_offset)
|
||||
|
||||
Reference in New Issue
Block a user