Skip to content

Commit

Permalink
full fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kratsg authored and matthewfeickert committed Jan 3, 2023
1 parent 2a99f5d commit e8f6e58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/validate_systs.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,8 @@ def outlier_plot(signal_template, v_max, x_var, y_var, x_label, y_label):
rel_systs[:, jbin] != 0
] # Remove any points with zero relative syst

if len(rel_systs) > 0:
# qhull interpolation needs at least 4 points minimum
if len(rel_systs) >= 4:
z = scipy.interpolate.griddata(
rel_systs[:, :2], rel_systs[:, jbin], (x, y)
)
Expand Down

0 comments on commit e8f6e58

Please sign in to comment.