Skip to content

Commit a70eb7c

Browse files
committed
Fix wavelength slicing in gallery
1 parent b5c9fc0 commit a70eb7c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

examples/gallery/plot_01_basic_usage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# This is because we're using literature values for Si,
2727
# which are only defined in this wavelength range.
2828
ANGLE = 70
29-
psi_delta = elli.read_nexus_psi_delta("SiO2onSi.ellips.nxs").loc[ANGLE][210:800]
29+
psi_delta = elli.read_nexus_psi_delta("SiO2onSi.ellips.nxs").loc[ANGLE].loc[210:800]
3030

3131
# %%
3232
# Setting parameters

examples/gallery/plot_02_TiO2_multilayer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#
2020
# The sample is an ALD grown TiO2 sample (with 400 cycles)
2121
# on commercially available SiO2 / Si substrate.
22-
tss = elli.read_spectraray_psi_delta("TiO2_400cycles.txt").loc[70.06][400:800]
22+
tss = elli.read_spectraray_psi_delta("TiO2_400cycles.txt").loc[70.06].loc[400:800]
2323

2424
# %%
2525
# Set start parameters

0 commit comments

Comments
 (0)