forked from NSLS2/esm-xpeem-profile-collection
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathipython_config.py
More file actions
25 lines (20 loc) · 960 Bytes
/
ipython_config.py
File metadata and controls
25 lines (20 loc) · 960 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
c = get_config()
c.StoreMagics.autorestore = True
c.InteractiveShellApp.extensions = ['pyOlog.cli.ipy']
c.TerminalIPythonApp.log_datefmt = '%Y-%m-%d %H:%M:%S'
c.TerminalInteractiveShell.show_rewritten_input = True
# c.TerminalInteractiveShell.autocall = 2
#-----------------------------------------------------
#The following lines are in the startup file:
#from functools import partial
#from pyOlog import SimpleOlogClient
#from bluesky.callbacks.olog import logbook_cb_factory
## Set up the logbook. This configures bluesky's summaries of
## data acquisition (scan type, ID, etc.).
#LOGBOOKS = ['Data Acquisition'] # list of logbook names to publish to
#simple_olog_client = SimpleOlogClient()
#generic_logbook_func = simple_olog_client.log
#configured_logbook_func = partial(generic_logbook_func, logbooks=LOGBOOKS)
#cb = logbook_cb_factory(configured_logbook_func)
#RE.subscribe('start', cb)
#-------------------------------------------------------