Skip to content

Commit 10e5e30

Browse files
committed
Add warning about uncertainty model
1 parent 6f7f264 commit 10e5e30

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mosden/groupfit.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,6 @@ def _plot_correlation_heatmap(self, correlation_matrix: np.ndarray[float]) -> No
531531
plt.close()
532532

533533

534-
535534
def _nonlinear_least_squares(self,
536535
count_data: dict[str: np.ndarray[float]] = None,
537536
set_refined_fiss: bool = True
@@ -607,7 +606,9 @@ def _nonlinear_least_squares(self,
607606
starts.append(x0)
608607

609608
times, counts, count_err, irrad_times, irrad_counts, irrad_err = self._get_modified_counts_and_times(times, counts, count_err)
609+
610610
if self.MC_samples == 1:
611+
self.logger.warning('Existing deterministic uncertainty estimation is inaccurate')
611612
residual_denom = count_err
612613
irrad_denom = irrad_err
613614
else:

0 commit comments

Comments
 (0)