Skip to content

Commit

Permalink
Two new tutorials for HEXTOF at FLASH as an example of trXPS and trXP…
Browse files Browse the repository at this point in the history
…D using new dataset from Zenodo

Added one more notebook for HEXTOF - energy calibration using SB

Removed some copy/not needed files

Cleaned up all not required files

clear notebook output

clean up tutorials

add reference energy calibration, and allow using processor function with preview

remove unnecessary stuff

add energy comparison

remove kernel specs

further clean up

spell fixes

remove outdated config file
  • Loading branch information
kutnyakhov authored and rettigl committed Nov 21, 2024
1 parent 42c8d18 commit 643a615
Show file tree
Hide file tree
Showing 6 changed files with 1,601 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .cspell/custom-dictionary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ levelname
linalg
linekwds
linesegkwds
linestyles
linewidth
linspace
literalinclude
Expand Down Expand Up @@ -325,6 +326,7 @@ scandir
scatt
scatterkwds
scicat
scipy
SDIAG
sdir
segs
Expand All @@ -341,6 +343,7 @@ stepsize
subdir
subdirs
subfolders
suptitle
symscores
targcenter
termorder
Expand All @@ -367,6 +370,7 @@ TZCYXS
tzoffset
ubid
UDLD
ufunc
unbinned
uncategorised
undoc
Expand All @@ -375,6 +379,7 @@ varnames
venv
verts
viewcode
vlines
vmax
voxels
VTOF
Expand Down
17 changes: 9 additions & 8 deletions sed/core/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1343,14 +1343,15 @@ def calibrate_energy_axis(
**kwds,
)
if verbose:
print("Quality of Calibration:")
self.ec.view(
traces=self.ec.traces_normed,
xaxis=self.ec.calibration["axis"],
align=True,
energy_scale=energy_scale,
backend="bokeh",
)
if self.ec.traces_normed is not None:
print("Quality of Calibration:")
self.ec.view(
traces=self.ec.traces_normed,
xaxis=self.ec.calibration["axis"],
align=True,
energy_scale=energy_scale,
backend="bokeh",
)
print("E/TOF relationship:")
self.ec.view(
traces=self.ec.calibration["axis"][None, :],
Expand Down
8 changes: 8 additions & 0 deletions sed/dataset/datasets.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@
],
"rearrange_files": true
},
"W110": {
"url": "https://zenodo.org/records/12609441/files/single_event_data.zip",
"subdirs": [
"analysis_data",
"calibration_data"
],
"rearrange_files": true
},
"TaS2": {
"url": "https://zenodo.org/records/10160182/files/TaS2.zip",
"subdirs": [
Expand Down
Loading

0 comments on commit 643a615

Please sign in to comment.