-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 3e872fb
Showing
39 changed files
with
4,818 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
*.sw[op] | ||
*.orig | ||
*.pyc | ||
*.egg-info | ||
build/ | ||
dist/ |
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<--- bluesky python/ppmac-------> | ||
|
||
fly.FlyBase | ||
| | ||
fly.FlyScan | ||
| | ||
bs.FlyPlan fly1d.Fly1D | ||
| | | ||
bs.FlyPlan1D <- fly_zp.Fly1D_ZP | ||
|
||
|
||
Where the flyscan class is determined from fly_class_from_motor, based on the | ||
motor passed in. | ||
|
||
... clear as mud! | ||
|
||
|
||
So in the environment, you have a scan defined: | ||
callable_scan = bs.FlyScan1D() | ||
user calls: | ||
callable_scan(motor, *user_args, **user_kwargs) | ||
bs.FlyScan.__call__ checks the motor to see which module it belongs to, assume | ||
for now it's a zoneplate module fine sample stage axis. fly_zp.Fly1D_ZP is | ||
then created: | ||
callable_scan.flyer = fly_zp.Fly1D_ZP(**callable_scan.init_kw) | ||
flyer.configure sets up the describe fields, macros for the script, calls | ||
flyer._new_scan and sends the generated script to the ppmac. | ||
|
||
The bluesky run-engine eventually iterates over the callable_scan._gen | ||
set of messages - configuring, opening runs, creating checkpoints, kicking off | ||
the flyscan subscans, and collecting data from them. |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import os | ||
import logging | ||
|
||
MODULE_PATH = os.path.dirname(os.path.abspath(__file__)) | ||
SCRIPT_PATH = os.path.join(MODULE_PATH, 'scripts') | ||
|
||
logger = logging.getLogger(__name__) | ||
|
||
from .log import log_setup | ||
|
||
log_setup(logging.DEBUG) | ||
|
||
# from .fly1d import Fly1D | ||
# from .fly2d import Fly2D | ||
# | ||
# from .fly_mll import (Fly1D_MLL, Fly2D_MLL) | ||
# from .fly_zp import (Fly1D_ZP, Fly2D_ZP) |
Oops, something went wrong.