File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
qiskit_experiments/curve_analysis Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 10
10
# copyright notice, and modified files need to carry a notice indicating
11
11
# that they have been altered from the originals.
12
12
13
- """
13
+ r """
14
14
=========================================================
15
15
Curve Analysis (:mod:`qiskit_experiments.curve_analysis`)
16
16
=========================================================
Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ def curve_fit(
255
255
dof = dof ,
256
256
x_range = xdata_range ,
257
257
y_range = ydata_range ,
258
- fit_mdoel = fit_model_repr ,
258
+ fit_model = fit_model_repr ,
259
259
group = func .group ,
260
260
)
261
261
@@ -708,7 +708,9 @@ def _run_analysis(
708
708
709
709
# Valid data index for this group
710
710
if len (self .__series__ ) > 1 :
711
- series_inds = [i for i , s in enumerate (self .__series__ ) if s .group == fit_func .group ]
711
+ series_inds = [
712
+ i for i , s in enumerate (self .__series__ ) if s .group == fit_func .group
713
+ ]
712
714
data_inds = np .full (index .size , False , dtype = bool )
713
715
for i in series_inds :
714
716
data_inds |= index == i
You can’t perform that action at this time.
0 commit comments