-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Description
Related to Issues #168 and #170, searchCatalog no longer works due to Regex not being imported from databroker.queries. Dan Allen let me know that all queries are available in bluesky-tiled-plugins. I have made a branch Issue170_UpdateDatabrokerImports to make these updates. Now, databroker is only needed for certain older usages.
Also added to this branch is an alternative way to load scans if the loader is unable to produce catalog of scan IDs and instead produces a container of UIDs in the future. This should be the second line of defense to proper imports.
The following blocks of code were successfully run from this branch.
!pip install "git+https://github.com/usnistgov/PyHyperScattering.git@Issue170_UpdateDatabrokerImports#egg=PyHyperScattering[bluesky]"
import PyHyperScattering as phs
Loader = phs.load.SST1RSoXSDB(corr_mode="none")
Catalog = Loader.c
Catalog
FilteredList = Loader.searchCatalog(cycle="2024-3", proposal_id ="314142", project="Carr")
FilteredList
ScanID = 91175
Scan = Loader.loadRun(ScanID).unstack('system')
Scan
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels