Skip to content

Commit

Permalink
Merge pull request #524 from OpenCOMPES/new-tutorials-for-hextof-fixes
Browse files Browse the repository at this point in the history
New tutorials for hextof fixes
  • Loading branch information
rettigl authored Nov 21, 2024
2 parents be713b6 + 8990a64 commit f5e5b63
Show file tree
Hide file tree
Showing 8 changed files with 350 additions and 1,403 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
261 changes: 0 additions & 261 deletions sed/config/NXmpes_config-HEXTOF_full_Jul2024.json

This file was deleted.

3 changes: 0 additions & 3 deletions sed/config/flash_example_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,6 @@ dataframe:
# metadata:
# scicat_url: <URL>
# scicat_token: <TOKEN>
metadata:
scicat_url: "https://scicat-flash-test1.desy.de/api/v3"
scicat_token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2Mzc0YmYyMmE4NWQ0N2QwMGE5MWRlN2MiLCJ1c2VybmFtZSI6Imt1dG55YWtkIiwiZW1haWwiOiJkbXl0cm8ua3V0bnlha2hvdkBkZXN5LmRlIiwiYXV0aFN0cmF0ZWd5IjoibG9jYWwiLCJpZCI6IjYzNzRiZjIyYTg1ZDQ3ZDAwYTkxZGU3YyIsInVzZXJJZCI6IjYzNzRiZjIyYTg1ZDQ3ZDAwYTkxZGU3YyIsImlhdCI6MTcyMDUxMzEyMCwiZXhwIjoxNzIwNTU2MzIwfQ.UhqLBoKVF-QM9AhXhpIe26bsJu5wD8uRaO9641uAN-I"

# The nexus collection routine shall be finalized soon for both instruments
nexus:
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
Loading

0 comments on commit f5e5b63

Please sign in to comment.