Commit Graph
61 Commits
Author SHA1 Message Date
suter_a 4eaeeb0e3e fix the beta/fun bug in Asymmetry, Asymmetry RRF, and beta-NMR Asymmetry Fit.
Build and Deploy Documentation / build-and-deploy (push) Successful in 24s
2026-07-31 20:31:11 +02:00
suter_a 4de660788d updated the copyright info.
Build and Deploy Documentation / build-and-deploy (push) Successful in 26s
2026-01-25 07:42:29 +01:00
suter_a 5f1b4fa5f5 improve doxygen documentation of PMsr2Data.* 2025-11-14 09:11:28 +01:00
suter_a 4a20d805dd updated the copyright info. 2025-01-30 11:15:42 +01:00
suter_a ebdb0feb7f path-run-name in RUN block of the msr-file can now handle spaces. 2025-01-18 13:35:08 +01:00
suter_a 7838901fbe make sure that the run template number has at least 4 digits before proceeding. 2024-09-17 16:27:04 +02:00
suter_a 79c8be54bf update of the copyright info. 2024-02-03 19:58:11 +01:00
suter_a 4747fbc77d make sure that singleRunMsrFile is a legal pointer before proceeding. 2023-11-01 14:38:21 +01:00
suter_a 0bff931af9 switch to smart pointers in PMsr2Data where possible. 2023-10-21 13:32:44 +02:00
suter_a 5d9eb0dcec allow more flexible dealing with LEM run numbers > 9999. 2023-05-16 08:27:52 +02:00
suter_a fe32046c21 updated the copyright info. 2023-01-05 10:24:31 +01:00
suter_a 2f712cc2c7 added some more technical docu to PMsr2Data. 2022-11-30 13:00:28 +01:00
suter_a 17a31dfcc4 do not ignore the return value of system(cmd) anymore. 2022-04-11 16:10:00 +02:00
suter_a e6e951e8f4 update the copyright info. 2021-03-29 08:22:38 +02:00
suter_a 795cd75b1e modernized code to C++11 and newer.
This allows to analyze the code by external code analyzers. Since a lot is adopted,
the version is changed to 1.4.3
2019-04-16 15:34:49 +02:00
suter_a 476e2b49d6 make sure that enough relevant digits of the parameters are exported to the db/dat-file. 2018-10-26 14:26:04 +02:00
suter_a 5909d59f32 allow multiple Fourier phase parameters for phase shifted real Fourier. Autophasing still missing. 2018-10-15 16:09:17 +02:00
suter_a cb14afbe07 msr2data gets a new option paramList which allows to select the number of parameters to be exported. 2016-04-28 11:11:06 +02:00
suter_a 8e399fa04e first steps towards asymmetry RRF fit. 2016-01-15 17:16:07 +01:00
suter_a e55ac4ecee after cross-check with BMW cleaned up, removed one copy/paste error (break;) and re-enabled the other twos which are indeed needed. 2015-09-18 16:21:15 +02:00
suter_a cb73f8bfa0 in PMsr2Data::PrepareGlobalInputFile() there seem to be 'unmotivated' break; commands in some loops. They prevent a proper map handling. For now they are commented out, which results in a proper functioning. 2015-09-17 14:51:51 +02:00
suter_a bccc97ff22 changed setf/unsetf bug 2015-06-30 12:17:25 +02:00
suter_a bbb8550f96 since we moved to git, I cleaned up the svn prop's from the sources and added a GIT_REVISION through git-revision.h 2014-02-12 12:43:32 +01:00
suter_a 03cf723199 fixed bug in msr2data for global runlist, where the pos-error instead of the value has been written to the DB file. 2013-11-29 09:04:49 +00:00
suter_a 22c7702cfe docu updated 2013-01-15 12:25:48 +00:00
suter_a e5dd674b44 changed to out formating of the fitting parameters such that enough relevant digits are written 2012-11-06 06:52:33 +00:00
suter_a e1585a807e fixed missing read call in PMsr2Data 2012-10-29 13:46:55 +00:00
suter_a e6e4bc19da fixed crash when using msr2data (wrong pointer) 2012-05-30 13:33:39 +00:00
suter_a 53b305ccdf added spin rotation angle to db-output-file if present 2012-05-22 14:06:32 +00:00
suter_a 138e7ba369 first implementation of MusrRoot. Cleaner handling of Red/Green mode data. General cleanup 2012-03-22 07:00:34 +00:00
Bastian M. Wojek 61fd5fa948 Adjusted msr2data that it works together with the NeXus reading routine which explicitly writes the ring-anode vector 2011-07-31 07:39:52 +00:00
Bastian M. Wojek bff5b6c043 Fixed some severe problems in the run-number-digit determination of msr2data introduced in late 2010 2011-07-30 22:05:57 +00:00
Bastian M. Wojek 1e115c7bd3 Slightly changed the behavior of msr2data (see ChangeLog for details) 2011-07-13 13:37:28 +00:00
Bastian M. Wojek caa3fdfc12 * Define a function for the XML-reading workaround in order to clean up a bit.
For the moment we keep to copies of it -- one for the use within the various
  musrfit programs, one that can be used in user functions.

* musrt0 is now again activated in musrgui/musredit by default.
2011-06-23 11:00:09 +00:00
Bastian M. Wojek dc48ea9712 * Suggestion how to "solve" the XML-reading problems in certain environments:
A workaround has been implemented where it is not tried any more to "directly
  parse the file" but rather the file is read into a memory buffer which then
  is parsed.
  For further information, see MUSR-122.

* Fixed a linking problem when only shared libraries are built on Cygwin
  (introduced with the split-off of libPUserFcnBase).
2011-06-16 22:00:33 +00:00
Bastian M. Wojek 8dc31cad54 Fixed crash of musrview in case the XML startup file is present but cannot be parsed correctly 2011-06-14 17:53:33 +00:00
Bastian M. Wojek 9624e5171f Slight improvement when an empty MUSRFITPATH environment variable is set 2011-02-22 19:26:31 +00:00
Bastian M. Wojek c048dc4553 Fixed accidental casting of a NULL pointer in msr2data---originally this was expected to lead to an exception (but obviously things are different) 2011-02-21 20:44:06 +00:00
Bastian M. Wojek 5c6331f51f Added some documentation to the numerical integration classes and applied small cosmetic changes to msr2data. 2011-02-06 12:44:45 +00:00
Bastian M. Wojek 4a3ccab3e9 Fix of the auto-header generation in msr2data for DOS-formatted output files 2011-02-05 18:32:12 +00:00
Bastian M. Wojek bd9c562eb9 Remove also 'white lines' at the end of the output file when using the automatic header inclusion in msr2data 2011-02-05 15:42:06 +00:00
Bastian M. Wojek 91b9fef9a2 Changed the default behavior of msr2data for writing output-file headers.
The default (if no option is given) is now that only for newly generated or empty files the respective header will be written.
If data is appended to an existing file, it is assumed that the header also is present already!
In this case only the new data blocks are appended directly after to existing ones.
[Most probably this behavior is broken if used in a native Windows environment, however, this is not the only problem there...]

The previous option "noheader" is preserved.
It suppresses the output of the header in any case.
If new data are appended to an existing output file this is done at the end of the file---just as before!

A new option "header" has been introduced.
If this is given, the output of the header is forced---no matter if a file (probably with header) existed before or not.
Also in this case all new data (and the header) are appended at the end of the output file if it existed already.

In case both options are given, the default behavior is activated.
2011-01-30 14:23:14 +00:00
Bastian M. Wojek decd363404 msr2data becomes more tolerant
Non-existing msr-files in the specified list of runs are now ignored as far as possible!
Still a warning for each non-existing file will be issued!
Before, encountering such a file led to the termination of the program.

Also the writing of the empty lines at the end of the data-output-file should be fixed now in this case.
It is needed to get a "correct db-file".
Before, when the program has been aborted before the last run was processed, these empty lines had not been appended to the file.
2011-01-29 13:16:04 +00:00
Bastian M. Wojek 230586a2d4 Fixed a few more problems in msr2data.
That these did not surface earlier can only be due to the musrgui/musredit interface which has additional safeguards.
Obviously no one uses this program from the command line (my guess).
2011-01-22 12:39:34 +00:00
Bastian M. Wojek ebcd192509 Added a minor extension to the global mode of msr2data which allows the generation of a global msr-file including the results of single-run fits for
run-specific parameters. This might help to get overall better starting parameters for a global fit.
For a few more details and an example, see the documentation.
Any testing is very welcome.
2011-01-22 01:17:22 +00:00
Bastian M. Wojek 2735116ab7 Resulting from a previous bug in musrfit there exist many msr-files which have a huge number of empty lines at the end.
Files that are newly generated through msr2data from now on will only write two successive empty lines (at any occurence).
Any further empty lines will be deleted.
2010-12-14 16:33:05 +00:00
Bastian M. Wojek 6aa2d61c35 Introduced another safeguard in msr2data against the first one who tries to call her/his beamline PIE1083, the institute TRIUMF10000 or the data format NEXUS2011 2010-12-11 16:08:41 +00:00
Bastian M. Wojek f496416062 Fixed ChangeLog 2010-11-11 08:16:25 +00:00
Bastian M. Wojek 2e49d42cfb see MUSR-155 2010-11-10 23:02:10 +00:00
Bastian M. Wojek b99a75d156 Allow case insensitive 'run' as first entry in a runlist-file as input to msr2data 2010-06-28 08:11:01 +00:00