Spaces:
Sleeping
Sleeping
Pragya Jatav
commited on
Commit
·
4bc1155
1
Parent(s):
4213369
m1
Browse files- __pycache__/classes.cpython-310.pyc +0 -0
- classes.py +1 -1
__pycache__/classes.cpython-310.pyc
CHANGED
Binary files a/__pycache__/classes.cpython-310.pyc and b/__pycache__/classes.cpython-310.pyc differ
|
|
classes.py
CHANGED
@@ -436,7 +436,7 @@ class Scenario:
|
|
436 |
|
437 |
def cost_func(self ,channel,x):
|
438 |
|
439 |
-
response_curve_params = pd.read_excel(
|
440 |
param_dicts = {col: response_curve_params[col].to_dict() for col in response_curve_params.columns}
|
441 |
|
442 |
x_inp = (x/104 - param_dicts["x_min"][channel]) / (param_dicts["x_max"][channel] - param_dicts["x_min"][channel])
|
|
|
436 |
|
437 |
def cost_func(self ,channel,x):
|
438 |
|
439 |
+
response_curve_params = pd.read_excel("response_curves_parameters.xlsx",index_col = "channel")
|
440 |
param_dicts = {col: response_curve_params[col].to_dict() for col in response_curve_params.columns}
|
441 |
|
442 |
x_inp = (x/104 - param_dicts["x_min"][channel]) / (param_dicts["x_max"][channel] - param_dicts["x_min"][channel])
|