suppress automatic N0 estimate for single histo in case of chisq-only calculation

This commit is contained in:
suter_a 2013-11-20 11:58:15 +00:00
parent e2712ce3f7
commit da36e561b2
2 changed files with 4 additions and 0 deletions

View File

@ -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 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 time substaintial bug fixing has been carried out (mainly the
logx/logy handling). 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 FIXED 2013-01-21 fixed any2many bug concerning input file lists as described
in MUSR-247. Rewrote the template browser. in MUSR-247. Rewrote the template browser.
FIXED 2012-12-18 fixed a shortcoming of the outdated TLemRunHeader class FIXED 2012-12-18 fixed a shortcoming of the outdated TLemRunHeader class

View File

@ -1707,6 +1707,8 @@ void PTextEdit::musrCalcChisq()
cmd.append(str); cmd.append(str);
cmd.append(QFileInfo(*fFilenames.find( currentEditor())).fileName() ); cmd.append(QFileInfo(*fFilenames.find( currentEditor())).fileName() );
cmd.append("--chisq-only"); cmd.append("--chisq-only");
cmd.append("--estimateN0");
cmd.append("no");
PFitOutputHandler fitOutputHandler(QFileInfo(*fFilenames.find( currentEditor() )).absolutePath(), cmd); PFitOutputHandler fitOutputHandler(QFileInfo(*fFilenames.find( currentEditor() )).absolutePath(), cmd);
fitOutputHandler.setModal(true); fitOutputHandler.setModal(true);
fitOutputHandler.exec(); fitOutputHandler.exec();