Startup
This commit is contained in:
14
script/templates/EnergyScan.py
Normal file
14
script/templates/EnergyScan.py
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
|
||||
sensors=[i0, scienta.stats[0]]
|
||||
regions = [[523.0, 527.0, 0.5], [527.0, 535.0, 0.25], [535.0, 558.0, 0.5]]
|
||||
|
||||
|
||||
|
||||
def trigger(position, scan):
|
||||
scienta.start()
|
||||
|
||||
try:
|
||||
rscan(energy, sensors, regions, latency = 0.0, before_read=trigger)
|
||||
finally:
|
||||
scienta.zeroSupplies()
|
||||
Reference in New Issue
Block a user