The goal is for monitor and detector kwargs to be useless. The dichro plotter will only run when a the hints metadata has a "scan_type": "dichro" entry. Then it will also read the monitor and detectors hints.
fluo determines if a fluorescence scan will be plot (fluo = True, then XAS = I/I0) or transmission (fluo = False, then XAS = ln(I0/I)). It can set during startup (as above), or anytime after with:
model.fluo = False
# or
model.fluo = True
By default, the plotter will generate a new tab for every new 'x' positioner. If you want to force new tabs for all positioners:
model.new_plot()
or only for one particular positioner ('magnet_6T_tabx' in this example):
This pull request introduces 1 alert when merging bff1c5a9ecc0b47276327e6117f028607b18b854 into 7462bfd3a5c516b1b3f933d5bc1e5518a767f74d - view on LGTM.com
This is the first go at creating a custom XMCD plot. See #42.
Usage
Start plot:
The goal is for
monitor
anddetector
kwargs to be useless. The dichro plotter will only run when a thehints
metadata has a"scan_type": "dichro"
entry. Then it will also read themonitor
anddetectors
hints.fluo
determines if a fluorescence scan will be plot (fluo = True, then XAS = I/I0) or transmission (fluo = False, then XAS = ln(I0/I)). It can set during startup (as above), or anytime after with:By default, the plotter will generate a new tab for every new 'x' positioner. If you want to force new tabs for all positioners:
or only for one particular positioner ('magnet_6T_tabx' in this example):
if the window is closed, you can reopen it with: