Skip to content

Commit 67385c6

Browse files
committed
rename function
to be in line with lynting conventions
1 parent e0253bd commit 67385c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

climada/entity/impact_funcs/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def check(self):
127127
'origin of the intensity scale. In impact.calc '
128128
'the impact is always null at intensity = 0.')
129129

130-
def set_step_ImpF(self, intensity, mdd=(0, 1), paa=(1, 1), impf_id=1):
130+
def set_step_impf(self, intensity, mdd=(0, 1), paa=(1, 1), impf_id=1):
131131

132132
""" Step function type impact function.
133133
@@ -158,7 +158,7 @@ def set_step_ImpF(self, intensity, mdd=(0, 1), paa=(1, 1), impf_id=1):
158158
mdd_min, mdd_max = mdd
159159
self.mdd = np.array([mdd_min, mdd_min, mdd_max, mdd_max])
160160

161-
def set_sigmoid_ImpF(self, sig_mid, sig_shape, sig_max,
161+
def set_sigmoid_impf(self, sig_mid, sig_shape, sig_max,
162162
inten_min, inten_max, inten_step=5, if_id=1):
163163

164164
""" Sigmoid type impact function hinging on three parameter. This type

0 commit comments

Comments
 (0)