Skip to content

Commit

Permalink
Fix black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ericpre committed Nov 9, 2023
1 parent e5dac76 commit 5e13921
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion exspy/components/eels_double_power_law.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def __init__(
left_cutoff=0.0,
module="numexpr",
compute_gradients=False,
**kwargs
**kwargs,
):
super().__init__(
expression="where(x > left_cutoff, \
Expand Down
2 changes: 1 addition & 1 deletion exspy/components/volume_plasmon_drude.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def __init__(
fwhm=1.5,
module="numexpr",
compute_gradients=False,
**kwargs
**kwargs,
):
super().__init__(
expression="where(x > 0, intensity * (pe2 * x * fwhm) \
Expand Down
4 changes: 2 additions & 2 deletions exspy/models/edsmodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ def fit_background(
end_energy=None,
windows_sigma=(4.0, 3.0),
kind="single",
**kwargs
**kwargs,
):
"""
Fit the background in the energy range containing no X-ray line.
Expand Down Expand Up @@ -849,7 +849,7 @@ def get_lines_intensity(
plot_result=False,
only_one=True,
only_lines=("a",),
**kwargs
**kwargs,
):
"""
Return the fitted intensity of the X-ray lines.
Expand Down
2 changes: 1 addition & 1 deletion exspy/signals/eds_sem.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def create_model(self, auto_background=True, auto_add_lines=True, *args, **kwarg
auto_background=auto_background,
auto_add_lines=auto_add_lines,
*args,
**kwargs
**kwargs,
)
return model

Expand Down

0 comments on commit 5e13921

Please sign in to comment.