From da36e561b2338881fb52998e095d815c9b9e69fe Mon Sep 17 00:00:00 2001 From: Andreas Suter Date: Wed, 20 Nov 2013 11:58:15 +0000 Subject: [PATCH] suppress automatic N0 estimate for single histo in case of chisq-only calculation --- ChangeLog | 2 ++ src/musredit/PTextEdit.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index e7e02cc6..79295dd8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -38,6 +38,8 @@ NEW 2012-05-12 added dump_header. This is a little program which dumps the NEW 2012-04-24 added a first version for negative muon fitting. At the same time substaintial bug fixing has been carried out (mainly the logx/logy handling). +FIXED 2013-11-20 suppress automatic N0 esitmate for chisq-only calculation + MUSR-270. FIXED 2013-01-21 fixed any2many bug concerning input file lists as described in MUSR-247. Rewrote the template browser. FIXED 2012-12-18 fixed a shortcoming of the outdated TLemRunHeader class diff --git a/src/musredit/PTextEdit.cpp b/src/musredit/PTextEdit.cpp index ef930364..939c102e 100644 --- a/src/musredit/PTextEdit.cpp +++ b/src/musredit/PTextEdit.cpp @@ -1707,6 +1707,8 @@ void PTextEdit::musrCalcChisq() cmd.append(str); cmd.append(QFileInfo(*fFilenames.find( currentEditor())).fileName() ); cmd.append("--chisq-only"); + cmd.append("--estimateN0"); + cmd.append("no"); PFitOutputHandler fitOutputHandler(QFileInfo(*fFilenames.find( currentEditor() )).absolutePath(), cmd); fitOutputHandler.setModal(true); fitOutputHandler.exec();