Skip to content

Commit 2926195

Browse files
committed
Adds some docstring to pybind function and some refactors
1 parent 148d0d9 commit 2926195

File tree

8 files changed

+1369
-787
lines changed

8 files changed

+1369
-787
lines changed

MANIFEST.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
include README.md
2-
recursive-include cpp/RAT *
1+
include README.md
2+
recursive-include cpp *
33
prune tests
44
prune */__pycache__
55
global-exclude .git

RATapi/examples/normal_reflectivity/background_function.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import numpy as np
22

33

4-
def backgroundFunction(xdata, params):
4+
def background_function(xdata, params):
55
# Split up the params array
66
Ao = params[0]
77
k = params[1]

RATapi/utils/plotting.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,7 @@ def plot_ref_sld_helper(
158158
layers[-1, 1], # Bulk Out
159159
data.subRoughs[i], # roughness
160160
layer,
161-
len(layer),
162-
1.0,
161+
1,
163162
)
164163

165164
sld_plot.plot(

0 commit comments

Comments
 (0)