dkist-processing-math 2.1.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- changelog/.gitempty +0 -0
- dkist_processing_math/__init__.py +9 -0
- dkist_processing_math/arithmetic.py +125 -0
- dkist_processing_math/feature.py +62 -0
- dkist_processing_math/linear_algebra.py +109 -0
- dkist_processing_math/statistics.py +40 -0
- dkist_processing_math/tests/__init__.py +0 -0
- dkist_processing_math/tests/conftest.py +68 -0
- dkist_processing_math/tests/test_arithmetic.py +128 -0
- dkist_processing_math/tests/test_feature.py +76 -0
- dkist_processing_math/tests/test_linear_algebra.py +190 -0
- dkist_processing_math/tests/test_statistics.py +62 -0
- dkist_processing_math/tests/test_transform.py +548 -0
- dkist_processing_math/transform/__init__.py +24 -0
- dkist_processing_math/transform/affine.py +260 -0
- dkist_processing_math/transform/binary.py +37 -0
- dkist_processing_math/transform/binning.py +192 -0
- dkist_processing_math/transform/hough.py +44 -0
- dkist_processing_math-2.1.1.dist-info/METADATA +107 -0
- dkist_processing_math-2.1.1.dist-info/RECORD +29 -0
- dkist_processing_math-2.1.1.dist-info/WHEEL +5 -0
- dkist_processing_math-2.1.1.dist-info/top_level.txt +4 -0
- docs/Makefile +134 -0
- docs/changelog.rst +7 -0
- docs/conf.py +46 -0
- docs/index.rst +9 -0
- docs/make.bat +170 -0
- docs/requirements.txt +1 -0
- licenses/LICENSE.rst +11 -0
docs/Makefile
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
# Makefile for Sphinx documentation
|
|
2
|
+
#
|
|
3
|
+
|
|
4
|
+
# You can set these variables from the command line.
|
|
5
|
+
SPHINXOPTS =
|
|
6
|
+
SPHINXBUILD = sphinx-build
|
|
7
|
+
PAPER =
|
|
8
|
+
BUILDDIR = _build
|
|
9
|
+
|
|
10
|
+
# Internal variables.
|
|
11
|
+
PAPEROPT_a4 = -D latex_paper_size=a4
|
|
12
|
+
PAPEROPT_letter = -D latex_paper_size=letter
|
|
13
|
+
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
|
|
14
|
+
|
|
15
|
+
.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest
|
|
16
|
+
|
|
17
|
+
#This is needed with git because git doesn't create a dir if it's empty
|
|
18
|
+
$(shell [ -d "_static" ] || mkdir -p _static)
|
|
19
|
+
|
|
20
|
+
help:
|
|
21
|
+
@echo "Please use \`make <target>' where <target> is one of"
|
|
22
|
+
@echo " html to make standalone HTML files"
|
|
23
|
+
@echo " dirhtml to make HTML files named index.html in directories"
|
|
24
|
+
@echo " singlehtml to make a single large HTML file"
|
|
25
|
+
@echo " pickle to make pickle files"
|
|
26
|
+
@echo " json to make JSON files"
|
|
27
|
+
@echo " htmlhelp to make HTML files and a HTML help project"
|
|
28
|
+
@echo " qthelp to make HTML files and a qthelp project"
|
|
29
|
+
@echo " devhelp to make HTML files and a Devhelp project"
|
|
30
|
+
@echo " epub to make an epub"
|
|
31
|
+
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
|
|
32
|
+
@echo " latexpdf to make LaTeX files and run them through pdflatex"
|
|
33
|
+
@echo " text to make text files"
|
|
34
|
+
@echo " man to make manual pages"
|
|
35
|
+
@echo " changes to make an overview of all changed/added/deprecated items"
|
|
36
|
+
@echo " linkcheck to check all external links for integrity"
|
|
37
|
+
|
|
38
|
+
clean:
|
|
39
|
+
-rm -rf $(BUILDDIR)
|
|
40
|
+
-rm -rf api
|
|
41
|
+
-rm -rf generated
|
|
42
|
+
-rm -rf autoapi
|
|
43
|
+
|
|
44
|
+
html:
|
|
45
|
+
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
|
|
46
|
+
@echo
|
|
47
|
+
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
|
|
48
|
+
|
|
49
|
+
dirhtml:
|
|
50
|
+
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
|
|
51
|
+
@echo
|
|
52
|
+
@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
|
|
53
|
+
|
|
54
|
+
singlehtml:
|
|
55
|
+
$(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
|
|
56
|
+
@echo
|
|
57
|
+
@echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
|
|
58
|
+
|
|
59
|
+
pickle:
|
|
60
|
+
$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
|
|
61
|
+
@echo
|
|
62
|
+
@echo "Build finished; now you can process the pickle files."
|
|
63
|
+
|
|
64
|
+
json:
|
|
65
|
+
$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
|
|
66
|
+
@echo
|
|
67
|
+
@echo "Build finished; now you can process the JSON files."
|
|
68
|
+
|
|
69
|
+
htmlhelp:
|
|
70
|
+
$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
|
|
71
|
+
@echo
|
|
72
|
+
@echo "Build finished; now you can run HTML Help Workshop with the" \
|
|
73
|
+
".hhp project file in $(BUILDDIR)/htmlhelp."
|
|
74
|
+
|
|
75
|
+
qthelp:
|
|
76
|
+
$(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
|
|
77
|
+
@echo
|
|
78
|
+
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
|
|
79
|
+
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
|
|
80
|
+
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/Astropy.qhcp"
|
|
81
|
+
@echo "To view the help file:"
|
|
82
|
+
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/Astropy.qhc"
|
|
83
|
+
|
|
84
|
+
devhelp:
|
|
85
|
+
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
|
|
86
|
+
@echo
|
|
87
|
+
@echo "Build finished."
|
|
88
|
+
@echo "To view the help file:"
|
|
89
|
+
@echo "# mkdir -p $$HOME/.local/share/devhelp/Astropy"
|
|
90
|
+
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/Astropy"
|
|
91
|
+
@echo "# devhelp"
|
|
92
|
+
|
|
93
|
+
epub:
|
|
94
|
+
$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
|
|
95
|
+
@echo
|
|
96
|
+
@echo "Build finished. The epub file is in $(BUILDDIR)/epub."
|
|
97
|
+
|
|
98
|
+
latex:
|
|
99
|
+
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
|
|
100
|
+
@echo
|
|
101
|
+
@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
|
|
102
|
+
@echo "Run \`make' in that directory to run these through (pdf)latex" \
|
|
103
|
+
"(use \`make latexpdf' here to do that automatically)."
|
|
104
|
+
|
|
105
|
+
latexpdf:
|
|
106
|
+
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
|
|
107
|
+
@echo "Running LaTeX files through pdflatex..."
|
|
108
|
+
make -C $(BUILDDIR)/latex all-pdf
|
|
109
|
+
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
|
|
110
|
+
|
|
111
|
+
text:
|
|
112
|
+
$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
|
|
113
|
+
@echo
|
|
114
|
+
@echo "Build finished. The text files are in $(BUILDDIR)/text."
|
|
115
|
+
|
|
116
|
+
man:
|
|
117
|
+
$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
|
|
118
|
+
@echo
|
|
119
|
+
@echo "Build finished. The manual pages are in $(BUILDDIR)/man."
|
|
120
|
+
|
|
121
|
+
changes:
|
|
122
|
+
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
|
|
123
|
+
@echo
|
|
124
|
+
@echo "The overview file is in $(BUILDDIR)/changes."
|
|
125
|
+
|
|
126
|
+
linkcheck:
|
|
127
|
+
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
|
|
128
|
+
@echo
|
|
129
|
+
@echo "Link check complete; look for any errors in the above output " \
|
|
130
|
+
"or in $(BUILDDIR)/linkcheck/output.txt."
|
|
131
|
+
|
|
132
|
+
doctest:
|
|
133
|
+
@echo "Run 'python setup.py test' in the root directory to run doctests " \
|
|
134
|
+
@echo "in the documentation."
|
docs/changelog.rst
ADDED
docs/conf.py
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"""Configuration file for the Sphinx documentation builder."""
|
|
2
|
+
# -- stdlib imports ------------------------------------------------------------
|
|
3
|
+
import importlib
|
|
4
|
+
import sys
|
|
5
|
+
import warnings
|
|
6
|
+
from importlib.metadata import distribution
|
|
7
|
+
|
|
8
|
+
from dkist_sphinx_theme.conf import *
|
|
9
|
+
from dkist_sphinx_theme.create_intersphinx_mapping import create_intersphinx_mapping
|
|
10
|
+
from packaging.version import Version
|
|
11
|
+
|
|
12
|
+
# Need a name for the overall repo
|
|
13
|
+
# __name__ where this code executes is "builtins" so that is no help
|
|
14
|
+
repo_name = "dkist-processing-math"
|
|
15
|
+
package_name = repo_name.replace("-", "_")
|
|
16
|
+
|
|
17
|
+
dist = distribution(package_name)
|
|
18
|
+
package = importlib.import_module(package_name)
|
|
19
|
+
|
|
20
|
+
# -- Check for docs dependencies ----------------------------------------------------
|
|
21
|
+
missing_requirements = missing_dependencies_by_extra(package_name, extras=["docs"])
|
|
22
|
+
if missing_requirements["docs"]:
|
|
23
|
+
print(
|
|
24
|
+
f"The {' '.join(missing_requirements['docs'])} package(s) could not be found and "
|
|
25
|
+
"is needed to build the documentation, please install the 'docs' requirements."
|
|
26
|
+
)
|
|
27
|
+
sys.exit(1)
|
|
28
|
+
|
|
29
|
+
# auto api parameters that cannot be moved into the theme:
|
|
30
|
+
autoapi_dirs = [Path(package.__file__).parent]
|
|
31
|
+
# Uncomment this for debugging
|
|
32
|
+
# autoapi_keep_files = True
|
|
33
|
+
|
|
34
|
+
# -- Options for intersphinx extension -----------------------------------------
|
|
35
|
+
intersphinx_mapping = create_intersphinx_mapping(repo_name)
|
|
36
|
+
# Remaining sphinx settings are in dkist-sphinx-theme conf.py
|
|
37
|
+
|
|
38
|
+
# -- Project information -------------------------------------------------------
|
|
39
|
+
project = "DKIST-PROCESSING-MATH"
|
|
40
|
+
|
|
41
|
+
# The full version, including alpha/beta/rc tags
|
|
42
|
+
dkist_version = Version(dist.version)
|
|
43
|
+
is_release = not (dkist_version.is_prerelease or dkist_version.is_devrelease)
|
|
44
|
+
# We want to ignore all warnings in a release version.
|
|
45
|
+
if is_release:
|
|
46
|
+
warnings.simplefilter("ignore")
|
docs/index.rst
ADDED
docs/make.bat
ADDED
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
@ECHO OFF
|
|
2
|
+
|
|
3
|
+
REM Command file for Sphinx documentation
|
|
4
|
+
|
|
5
|
+
if "%SPHINXBUILD%" == "" (
|
|
6
|
+
set SPHINXBUILD=sphinx-build
|
|
7
|
+
)
|
|
8
|
+
set BUILDDIR=_build
|
|
9
|
+
set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% .
|
|
10
|
+
if NOT "%PAPER%" == "" (
|
|
11
|
+
set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%
|
|
12
|
+
)
|
|
13
|
+
|
|
14
|
+
if "%1" == "" goto help
|
|
15
|
+
|
|
16
|
+
if "%1" == "help" (
|
|
17
|
+
:help
|
|
18
|
+
echo.Please use `make ^<target^>` where ^<target^> is one of
|
|
19
|
+
echo. html to make standalone HTML files
|
|
20
|
+
echo. dirhtml to make HTML files named index.html in directories
|
|
21
|
+
echo. singlehtml to make a single large HTML file
|
|
22
|
+
echo. pickle to make pickle files
|
|
23
|
+
echo. json to make JSON files
|
|
24
|
+
echo. htmlhelp to make HTML files and a HTML help project
|
|
25
|
+
echo. qthelp to make HTML files and a qthelp project
|
|
26
|
+
echo. devhelp to make HTML files and a Devhelp project
|
|
27
|
+
echo. epub to make an epub
|
|
28
|
+
echo. latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter
|
|
29
|
+
echo. text to make text files
|
|
30
|
+
echo. man to make manual pages
|
|
31
|
+
echo. changes to make an overview over all changed/added/deprecated items
|
|
32
|
+
echo. linkcheck to check all external links for integrity
|
|
33
|
+
echo. doctest to run all doctests embedded in the documentation if enabled
|
|
34
|
+
goto end
|
|
35
|
+
)
|
|
36
|
+
|
|
37
|
+
if "%1" == "clean" (
|
|
38
|
+
for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i
|
|
39
|
+
del /q /s %BUILDDIR%\*
|
|
40
|
+
goto end
|
|
41
|
+
)
|
|
42
|
+
|
|
43
|
+
if "%1" == "html" (
|
|
44
|
+
%SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html
|
|
45
|
+
if errorlevel 1 exit /b 1
|
|
46
|
+
echo.
|
|
47
|
+
echo.Build finished. The HTML pages are in %BUILDDIR%/html.
|
|
48
|
+
goto end
|
|
49
|
+
)
|
|
50
|
+
|
|
51
|
+
if "%1" == "dirhtml" (
|
|
52
|
+
%SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml
|
|
53
|
+
if errorlevel 1 exit /b 1
|
|
54
|
+
echo.
|
|
55
|
+
echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml.
|
|
56
|
+
goto end
|
|
57
|
+
)
|
|
58
|
+
|
|
59
|
+
if "%1" == "singlehtml" (
|
|
60
|
+
%SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml
|
|
61
|
+
if errorlevel 1 exit /b 1
|
|
62
|
+
echo.
|
|
63
|
+
echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml.
|
|
64
|
+
goto end
|
|
65
|
+
)
|
|
66
|
+
|
|
67
|
+
if "%1" == "pickle" (
|
|
68
|
+
%SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle
|
|
69
|
+
if errorlevel 1 exit /b 1
|
|
70
|
+
echo.
|
|
71
|
+
echo.Build finished; now you can process the pickle files.
|
|
72
|
+
goto end
|
|
73
|
+
)
|
|
74
|
+
|
|
75
|
+
if "%1" == "json" (
|
|
76
|
+
%SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json
|
|
77
|
+
if errorlevel 1 exit /b 1
|
|
78
|
+
echo.
|
|
79
|
+
echo.Build finished; now you can process the JSON files.
|
|
80
|
+
goto end
|
|
81
|
+
)
|
|
82
|
+
|
|
83
|
+
if "%1" == "htmlhelp" (
|
|
84
|
+
%SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp
|
|
85
|
+
if errorlevel 1 exit /b 1
|
|
86
|
+
echo.
|
|
87
|
+
echo.Build finished; now you can run HTML Help Workshop with the ^
|
|
88
|
+
.hhp project file in %BUILDDIR%/htmlhelp.
|
|
89
|
+
goto end
|
|
90
|
+
)
|
|
91
|
+
|
|
92
|
+
if "%1" == "qthelp" (
|
|
93
|
+
%SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp
|
|
94
|
+
if errorlevel 1 exit /b 1
|
|
95
|
+
echo.
|
|
96
|
+
echo.Build finished; now you can run "qcollectiongenerator" with the ^
|
|
97
|
+
.qhcp project file in %BUILDDIR%/qthelp, like this:
|
|
98
|
+
echo.^> qcollectiongenerator %BUILDDIR%\qthelp\Astropy.qhcp
|
|
99
|
+
echo.To view the help file:
|
|
100
|
+
echo.^> assistant -collectionFile %BUILDDIR%\qthelp\Astropy.ghc
|
|
101
|
+
goto end
|
|
102
|
+
)
|
|
103
|
+
|
|
104
|
+
if "%1" == "devhelp" (
|
|
105
|
+
%SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp
|
|
106
|
+
if errorlevel 1 exit /b 1
|
|
107
|
+
echo.
|
|
108
|
+
echo.Build finished.
|
|
109
|
+
goto end
|
|
110
|
+
)
|
|
111
|
+
|
|
112
|
+
if "%1" == "epub" (
|
|
113
|
+
%SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub
|
|
114
|
+
if errorlevel 1 exit /b 1
|
|
115
|
+
echo.
|
|
116
|
+
echo.Build finished. The epub file is in %BUILDDIR%/epub.
|
|
117
|
+
goto end
|
|
118
|
+
)
|
|
119
|
+
|
|
120
|
+
if "%1" == "latex" (
|
|
121
|
+
%SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
|
|
122
|
+
if errorlevel 1 exit /b 1
|
|
123
|
+
echo.
|
|
124
|
+
echo.Build finished; the LaTeX files are in %BUILDDIR%/latex.
|
|
125
|
+
goto end
|
|
126
|
+
)
|
|
127
|
+
|
|
128
|
+
if "%1" == "text" (
|
|
129
|
+
%SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text
|
|
130
|
+
if errorlevel 1 exit /b 1
|
|
131
|
+
echo.
|
|
132
|
+
echo.Build finished. The text files are in %BUILDDIR%/text.
|
|
133
|
+
goto end
|
|
134
|
+
)
|
|
135
|
+
|
|
136
|
+
if "%1" == "man" (
|
|
137
|
+
%SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man
|
|
138
|
+
if errorlevel 1 exit /b 1
|
|
139
|
+
echo.
|
|
140
|
+
echo.Build finished. The manual pages are in %BUILDDIR%/man.
|
|
141
|
+
goto end
|
|
142
|
+
)
|
|
143
|
+
|
|
144
|
+
if "%1" == "changes" (
|
|
145
|
+
%SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes
|
|
146
|
+
if errorlevel 1 exit /b 1
|
|
147
|
+
echo.
|
|
148
|
+
echo.The overview file is in %BUILDDIR%/changes.
|
|
149
|
+
goto end
|
|
150
|
+
)
|
|
151
|
+
|
|
152
|
+
if "%1" == "linkcheck" (
|
|
153
|
+
%SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck
|
|
154
|
+
if errorlevel 1 exit /b 1
|
|
155
|
+
echo.
|
|
156
|
+
echo.Link check complete; look for any errors in the above output ^
|
|
157
|
+
or in %BUILDDIR%/linkcheck/output.txt.
|
|
158
|
+
goto end
|
|
159
|
+
)
|
|
160
|
+
|
|
161
|
+
if "%1" == "doctest" (
|
|
162
|
+
%SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest
|
|
163
|
+
if errorlevel 1 exit /b 1
|
|
164
|
+
echo.
|
|
165
|
+
echo.Testing of doctests in the sources finished, look at the ^
|
|
166
|
+
results in %BUILDDIR%/doctest/output.txt.
|
|
167
|
+
goto end
|
|
168
|
+
)
|
|
169
|
+
|
|
170
|
+
:end
|
docs/requirements.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# git deps for read the docs
|
licenses/LICENSE.rst
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
Copyright 2021 National Solar Observatory
|
|
2
|
+
|
|
3
|
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
4
|
+
|
|
5
|
+
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
6
|
+
|
|
7
|
+
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.
|
|
8
|
+
|
|
9
|
+
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.
|
|
10
|
+
|
|
11
|
+
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.
|