Skip to content

Commit

Permalink
Update eels_tools.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gduscher committed Jan 8, 2024
1 parent 2c29c9c commit dbc4924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyTEMlib/eels_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -1086,7 +1086,7 @@ def find_edges(dataset: sidpy.Dataset, sensitivity:float=2.5)->None:
selected_edges.append('O-K1')
else:
selected_edge = ''
edges = find_major_edges(energy_scale[peak], 20)
edges = find_all_edges(energy_scale[peak], 20, major_edges_only=True)
edges = edges.split('\n')
minimum_dist = 100.
for edge in edges[1:]:
Expand Down

0 comments on commit dbc4924

Please sign in to comment.