Skip to content
Snippets Groups Projects
Commit 7402ed47 authored by Loïc Le Guyader's avatar Loïc Le Guyader
Browse files

Fix description

parent 6436a89f
No related branches found
No related tags found
1 merge request!76Extra data and xfel kernel
...@@ -19,7 +19,7 @@ def extractBunchPattern(bp_table=None, key='sase3', runDir=None): ...@@ -19,7 +19,7 @@ def extractBunchPattern(bp_table=None, key='sase3', runDir=None):
bp_table: DataArray corresponding to the mnemonics "bunchPatternTable". bp_table: DataArray corresponding to the mnemonics "bunchPatternTable".
If None, the bunch pattern table is loaded using runDir. If None, the bunch pattern table is loaded using runDir.
key: str, ['sase1', 'sase2', 'sase3', 'scs_ppl'] key: str, ['sase1', 'sase2', 'sase3', 'scs_ppl']
runDir: karabo_data run directory. Required only if bp_table is None. runDir: extra-data DataCollection. Required only if bp_table is None.
Outputs: Outputs:
bunchPattern: DataArray containing indices of the sase/laser pulses for bunchPattern: DataArray containing indices of the sase/laser pulses for
...@@ -214,4 +214,4 @@ def sortBAMdata(data, key='sase3'): ...@@ -214,4 +214,4 @@ def sortBAMdata(data, key='sase3'):
ndata = xr.merge(mergeList, join='inner') ndata = xr.merge(mergeList, join='inner')
for k in data.attrs.keys(): for k in data.attrs.keys():
ndata.attrs[k] = data.attrs[k] ndata.attrs[k] = data.attrs[k]
return ndata return ndata
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment