changed the data export handling from musrview. It is now more main line and follows the implementation of musrFT. At the same time removed an autodated comment in PFourierCanvas.h.

This commit is contained in:
2015-02-16 17:23:39 +01:00
parent ce490b014a
commit 0e6ceecf24
5 changed files with 38 additions and 44 deletions

View File

@ -340,8 +340,12 @@ int main(int argc, char *argv[])
}
if (asciiOutput) {
// generate export data file name
TString str(fileName);
str.Remove(str.Last('.'));
str += ".dat";
// save data in batch mode
musrCanvas->SaveDataAscii();
musrCanvas->ExportData(str.Data());
musrCanvas->Done(0);
}