This repository has been archived by the owner on Nov 20, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploy-2018-1.0: edited all acceptance tests
- Loading branch information
1 parent
de18553
commit 16537ed
Showing
24 changed files
with
50 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
|
||
from bluesky.plans import DeltaScanPlan | ||
from bluesky.plans import rel_scan | ||
from bluesky.callbacks import LiveTable, LivePlot | ||
|
||
|
||
subs = [LiveTable(['s1_xc', 'xray_eye3_stats1_total', 'xray_eye3_stats2_total']), | ||
LivePlot('xray_eye3_stats1_total', 's1_xc')] | ||
print(s1.xc.read()) | ||
RE(DeltaScanPlan([xray_eye3], s1.xc, -.1, .1, 3), subs) | ||
RE(rel_scan([xray_eye3], s1.xc, -.1, .1, 3), subs) | ||
print(s1.xc.read()) | ||
exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
|
||
from bluesky.plans import DeltaScanPlan | ||
from bluesky.plans import rel_scan | ||
from bluesky.callbacks import LiveTable, LivePlot | ||
|
||
|
||
subs = [LiveTable(['diff_xh', 'eiger4m_single_stats1_total', 'eiger4m_single_stats2_total']), | ||
LivePlot('eiger4m_single_stats1_total', 'diff_xh')] | ||
print ( 'The fast shutter will open/close three times, motor is diff.xh, camera is eiger4m_single') | ||
RE(DeltaScanPlan([eiger4m_single], diff.xh, -.1, .1, 3), subs) | ||
RE(rel_scan([eiger4m_single], diff.xh, -.1, .1, 3), subs) | ||
|
||
#can we change only one mater file for the same dscan? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
from bluesky.plans import DeltaScanPlan | ||
from bluesky.plans import rel_scan | ||
from bluesky.callbacks import LiveTable, LivePlot | ||
subs = [LiveTable(['gsl_xc', 'xray_eye3_stats4_total', 'xray_eye3_stats4_total']), | ||
LivePlot('xray_eye3_stats4_total', 'gsl_xc')] | ||
print(gsl.xc.read()) | ||
RE(DeltaScanPlan([xray_eye3], gsl.xc, -.1, .1, 3), subs) | ||
RE(rel_scan([xray_eye3], gsl.xc, -.1, .1, 3), subs) | ||
print(gsl.xc.read()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
|
||
from bluesky.plans import DeltaScanPlan | ||
from bluesky.plans import rel_scan | ||
from bluesky.callbacks import LiveTable, LivePlot | ||
|
||
|
||
subs = [LiveTable(['dcm_b', 'xray_eye3_stats1_total', 'xray_eye3_stats2_total']), | ||
LivePlot('xray_eye3_stats1_total', 'dcm_b')] | ||
print(dcm.b.read()) | ||
RE(DeltaScanPlan([xray_eye3], dcm.b, -.1, .1, 3), subs) | ||
RE(rel_scan([xray_eye3], dcm.b, -.1, .1, 3), subs) | ||
print(dcm.b.read()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
|
||
from bluesky.plans import DeltaScanPlan | ||
from bluesky.plans import rel_scan | ||
from bluesky.callbacks import LiveTable, LivePlot | ||
|
||
|
||
subs = [LiveTable(['diff_xh', 'xray_eye3_stats1_total', 'xray_eye3_stats2_total']), | ||
LivePlot('xray_eye3_stats1_total', 'diff_xh')] | ||
RE(DeltaScanPlan([xray_eye3], diff.xh, -.1, .1, 3), subs) | ||
RE(rel_scan([xray_eye3], diff.xh, -.1, .1, 3), subs) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
from bluesky.plans import DeltaScanPlan | ||
from bluesky.plans import rel_scan | ||
from bluesky.callbacks import LiveTable, LivePlot | ||
subs = [LiveTable(['gsl_xc_readback', 'xray_eye3_stats1_total', 'xray_eye3_stats2_total']), | ||
LivePlot('xray_eye3_stats1_total', 'gsl_xc_readback')] | ||
print(gsl.xc.read()) | ||
RE(DeltaScanPlan([xray_eye3], gsl.xc, -.1, .1, 10), subs) | ||
RE(rel_scan([xray_eye3], gsl.xc, -.1, .1, 10), subs) | ||
print(gsl.xc.read()) | ||
|
||
print( 'here' ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
from bluesky.plans import DeltaScanPlan | ||
from bluesky.plans import rel_scan | ||
from bluesky.callbacks import LiveTable, LivePlot | ||
subs = [LiveTable(['ivu_gap', 'xray_eye3_stats1_total', 'xray_eye3_stats1_total']), | ||
LivePlot('xray_eye3_stats1_total', 'ivu_gap')] | ||
print(ivu_gap.read()) | ||
RE(DeltaScanPlan([xray_eye3], ivu_gap, -.1, .1, 3), subs) | ||
RE(rel_scan([xray_eye3], ivu_gap, -.1, .1, 3), subs) | ||
print(ivu_gap.read()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
|
||
from bluesky.plans import DeltaScanPlan | ||
from bluesky.plans import rel_scan | ||
from bluesky.callbacks import LiveTable, LivePlot | ||
|
||
|
||
subs = [LiveTable(['mbs_xc', 'xray_eye3_stats1_total', 'xray_eye3_stats2_total']), | ||
LivePlot('xray_eye3_stats1_total', 'mbs_xc')] | ||
print(mbs.xc.read()) | ||
RE(DeltaScanPlan([xray_eye3], mbs.xc, -.1, .1, 3), subs) | ||
RE(rel_scan([xray_eye3], mbs.xc, -.1, .1, 3), subs) | ||
print(mbs.xc.read()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
|
||
from bluesky.plans import DeltaScanPlan | ||
from bluesky.plans import rel_scan | ||
from bluesky.callbacks import LiveTable, LivePlot | ||
|
||
|
||
subs = [LiveTable(['s1_xc', 'xray_eye3_stats1_total', 'xray_eye3_stats2_total']), | ||
LivePlot('xray_eye3_stats1_total', 's1_xc')] | ||
print(s1.xc.read()) | ||
RE(DeltaScanPlan([xray_eye3], s1.xc, -.1, .1, 3), subs) | ||
RE(rel_scan([xray_eye3], s1.xc, -.1, .1, 3), subs) | ||
print(s1.xc.read()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
|
||
from bluesky.plans import DeltaScanPlan | ||
from bluesky.plans import rel_scan | ||
from bluesky.callbacks import LiveTable, LivePlot | ||
|
||
|
||
subs = [LiveTable(['s1_xc', 'xray_eye3_stats1_total', 'xray_eye3_stats2_total']), | ||
LivePlot('xray_eye3_stats1_total', 's1_xc')] | ||
print(s1.xc.read()) | ||
RE(DeltaScanPlan([xray_eye3], s1.xc, -.1, .1, 3), subs) | ||
RE(rel_scan([xray_eye3], s1.xc, -.1, .1, 3), subs) | ||
print(s1.xc.read()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
from bluesky.plans import DeltaScanPlan | ||
from bluesky.plans import rel_scan | ||
from bluesky.callbacks import LiveTable, LivePlot | ||
subs = [LiveTable(['s4_xc', 'xray_eye3_stats4_total', 'xray_eye3_stats4_total']), | ||
LivePlot('xray_eye3_stats4_total', 's4_xc')] | ||
print(s4.xc.read()) | ||
RE(DeltaScanPlan([xray_eye3], s4.xc, -.1, .1, 3), subs) | ||
RE(rel_scan([xray_eye3], s4.xc, -.1, .1, 3), subs) | ||
print(s4.xc.read()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
|
||
from bluesky.plans import DeltaScanPlan | ||
from bluesky.plans import rel_scan | ||
from bluesky.callbacks import LiveTable, LivePlot | ||
|
||
|
||
subs = [LiveTable(['diff_xh', 'xray_eye1_stats1_total', 'xray_eye1_stats2_total']), | ||
LivePlot('xray_eye1_stats1_total', 'diff_xh')] | ||
RE(DeltaScanPlan([xray_eye1], diff.xh, -.1, .1, 3), subs) | ||
RE(rel_scan([xray_eye1], diff.xh, -.1, .1, 3), subs) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
|
||
from bluesky.plans import DeltaScanPlan | ||
from bluesky.plans import rel_scan | ||
from bluesky.callbacks import LiveTable, LivePlot | ||
|
||
|
||
subs = [LiveTable(['diff_xh', 'xray_eye2_stats1_total', 'xray_eye2_stats2_total']), | ||
LivePlot('xray_eye2_stats1_total', 'diff_xh')] | ||
print ( ' Motor is diff.xh, camera is xray_eye2') | ||
RE(DeltaScanPlan([xray_eye2], diff.xh, -.1, .1, 3), subs) | ||
RE(rel_scan([xray_eye2], diff.xh, -.1, .1, 3), subs) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters