diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 000000000..cc8021225 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "vendor/lmfit-py"] + path = vendor/lmfit-py + url = https://github.com/lmfit/lmfit-py.git diff --git a/LICENSE b/LICENSE index ed5465309..ba5837384 100644 --- a/LICENSE +++ b/LICENSE @@ -27,3 +27,43 @@ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +## Some code has been taken from the [LMFIT](https://lmfit.github.io/lmfit-py/) library for `report.py` whose license is below. + +``` +BSD-3 + +Copyright 2022 Matthew Newville, The University of Chicago + Renee Otten, Brandeis University + Till Stensitzki, Freie Universitat Berlin + A. R. J. Nelson, Australian Nuclear Science and Technology Organisation + Antonino Ingargiola, University of California, Los Angeles + Daniel B. Allen, Johns Hopkins University + Michal Rawlik, Eidgenossische Technische Hochschule, Zurich + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from this + software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. +``` diff --git a/vendor/lmfit-py b/vendor/lmfit-py new file mode 160000 index 000000000..6bea57285 --- /dev/null +++ b/vendor/lmfit-py @@ -0,0 +1 @@ +Subproject commit 6bea5728529ae4d85ff22ed1869a476fa67e3a78