Demo

demonstrate a BlueSky callback that writes SPEC data files

plan_catalog(db) make a table of all scans known in the databroker
specfile_example(headers[, filename]) write one or more headers (scans) to a SPEC data file
APS_BlueSky_tools.demo.plan_catalog(db)[source]

make a table of all scans known in the databroker

Example:

from APS_BlueSky_tools.demo import plan_catalog
plan_catalog(db)
APS_BlueSky_tools.demo.specfile_example(headers, filename='test_specdata.txt')[source]

write one or more headers (scans) to a SPEC data file