Skip to content

Commit

Permalink
Updated situation for fix_alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
bdestombe committed Jul 19, 2023
1 parent 735c4c1 commit 7542812
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/dtscalibration/datastore.py
Original file line number Diff line number Diff line change
Expand Up @@ -2191,7 +2191,10 @@ def calibration_single_ended(
raise ValueError("Choose a valid method")

# all below require the following solution sizes
ip = ParameterIndexSingleEnded(nt, nx, nta, includes_alpha=True, includes_dalpha=False)
if fix_alpha:
ip = ParameterIndexSingleEnded(nt, nx, nta, includes_alpha=True, includes_dalpha=False)
else:
ip = ParameterIndexSingleEnded(nt, nx, nta, includes_alpha=False, includes_dalpha=True)

# npar = 1 + 1 + nt + nta * nt
assert p_val.size == ip.npar
Expand Down

0 comments on commit 7542812

Please sign in to comment.