Update app/error_bar_utils.py

#39
by axelrvite - opened
Files changed (1) hide show
  1. app/error_bar_utils.py +3 -0
app/error_bar_utils.py CHANGED
@@ -73,8 +73,11 @@ def get_parameter_error_bounds(I,V,Rs,Rsh,n,J0,Jph):
73
  Rsh_bruité.append(Rsh_bruité1)
74
  def chi2_général(V,I,Jph,Rsh_bruité,J0_bruité,Rs_bruité,n_bruité,j,condition):
75
  chi21=0
 
76
  try:
77
  I_bruite_j = i_from_v(V, Jph, J0_bruité[0][j], Rs_bruité[0][j], Rsh_bruité[0][j], n_bruité[0][j]*Vth)
 
 
78
  except Exception as e:
79
  print(f"Erreur à l'étape j={j} : {e}")
80
  pass
 
73
  Rsh_bruité.append(Rsh_bruité1)
74
  def chi2_général(V,I,Jph,Rsh_bruité,J0_bruité,Rs_bruité,n_bruité,j,condition):
75
  chi21=0
76
+ print("I", I)
77
  try:
78
  I_bruite_j = i_from_v(V, Jph, J0_bruité[0][j], Rs_bruité[0][j], Rsh_bruité[0][j], n_bruité[0][j]*Vth)
79
+ print("J", I_bruite_j)
80
+
81
  except Exception as e:
82
  print(f"Erreur à l'étape j={j} : {e}")
83
  pass