-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into 11350_converttomd_no_expt_info_loading
[skip ci]
- Loading branch information
Showing
278 changed files
with
11,876 additions
and
1,373 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#!/bin/sh | ||
# | ||
# Launch Mantidplot using any necessary LD_PRELOAD or software collection behaviour | ||
# | ||
# Script is configured by CMake | ||
|
||
# Find out where we are | ||
SCRIPTFILE=$(readlink -f "$0") | ||
INSTALLDIR=$(echo $SCRIPTFILE | sed -r -e 's|^(.*)/(.*)$|\1|g') #.* is greedy and eats up until the final slash | ||
IPYTHON=$(command -v ipython) | ||
|
||
# Define extra libraries and load paths | ||
LOCAL_PRELOAD=`readlink --no-newline --canonicalize-existing @TCMALLOC_LIBRARIES@` | ||
if [ -n "${LD_PRELOAD}" ]; then | ||
LOCAL_PRELOAD=${LOCAL_PRELOAD}:${LD_PRELOAD} | ||
fi | ||
LOCAL_LDPATH=@EXTRA_LDPATH@:${LD_LIBRARY_PATH} | ||
if [ -z "${TCMALLOC_RELEASE_RATE}" ]; then | ||
TCM_RELEASE=10000 | ||
else | ||
TCM_RELEASE=${TCMALLOC_RELEASE_RATE} | ||
fi | ||
|
||
# Define extra libraries for python | ||
LOCAL_PYTHONPATH=@WRAPPER_PREFIX@$INSTALLDIR | ||
if [ -n "${PYTHONPATH}" ]; then | ||
LOCAL_PYTHONPATH=${LOCAL_PYTHONPATH}:${PYTHONPATH} | ||
fi | ||
|
||
# Launch | ||
LD_PRELOAD=${LOCAL_PRELOAD} TCMALLOC_RELEASE_RATE=${TCM_RELEASE} \ | ||
LD_LIBRARY_PATH=${LOCAL_LDPATH} QT_API=pyqt \ | ||
PYTHONPATH=${LOCAL_PYTHONPATH} \ | ||
${IPYTHON} $*@WRAPPER_POSTFIX@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
Code/Mantid/Framework/CurveFitting/inc/MantidCurveFitting/EstimatePeakErrors.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
#ifndef MANTID_CURVEFITTING_ESTIMATEPEAKERRORS_H_ | ||
#define MANTID_CURVEFITTING_ESTIMATEPEAKERRORS_H_ | ||
|
||
#include "MantidAPI/Algorithm.h" | ||
|
||
namespace Mantid { | ||
namespace CurveFitting { | ||
//--------------------------------------------------------------------------- | ||
/** | ||
Copyright © 2013 ISIS Rutherford Appleton Laboratory, NScD Oak Ridge | ||
National Laboratory & European Spallation Source | ||
This file is part of Mantid. | ||
Mantid is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation; either version 3 of the License, or | ||
(at your option) any later version. | ||
Mantid is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
File change history is stored at: <https://github.com/mantidproject/mantid> | ||
Code Documentation is available at: <http://doxygen.mantidproject.org> | ||
*/ | ||
class DLLExport EstimatePeakErrors : public API::Algorithm { | ||
public: | ||
EstimatePeakErrors(); | ||
|
||
const std::string name() const; | ||
virtual const std::string summary() const ; | ||
|
||
int version() const; | ||
const std::string category() const; | ||
|
||
private: | ||
void init(); | ||
void exec(); | ||
}; | ||
|
||
} // namespace CurveFitting | ||
} // namespace Mantid | ||
|
||
#endif /* MANTID_CURVEFITTING_ESTIMATEPEAKERRORS_H_ */ |
Oops, something went wrong.