summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Darwin <bcdarwin@gmail.com>2021-11-29 16:33:16 -0500
committerGitHub <noreply@github.com>2021-11-29 15:33:16 -0600
commit02b4a65086a9e31ee49cbae44440e7ee7eef9ad2 (patch)
tree298ba67a19af46b7535779a1ac3c0ad5256bdee0
parent838294b10dbc8b97e77ac7532f847ee6aaf59dee (diff)
downloadspack-02b4a65086a9e31ee49cbae44440e7ee7eef9ad2.tar.gz
spack-02b4a65086a9e31ee49cbae44440e7ee7eef9ad2.tar.bz2
spack-02b4a65086a9e31ee49cbae44440e7ee7eef9ad2.tar.xz
spack-02b4a65086a9e31ee49cbae44440e7ee7eef9ad2.zip
py-intensity-normalization: add package (at version 2.1.1) (#27593)
* py-scikit-fuzzy: new package (at version 0.4.2) * py-intensity-normalization: new package (at version 2.1.1)
-rw-r--r--var/spack/repos/builtin/packages/py-intensity-normalization/package.py27
-rw-r--r--var/spack/repos/builtin/packages/py-scikit-fuzzy/package.py21
2 files changed, 48 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-intensity-normalization/package.py b/var/spack/repos/builtin/packages/py-intensity-normalization/package.py
new file mode 100644
index 0000000000..0a941d2b28
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-intensity-normalization/package.py
@@ -0,0 +1,27 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyIntensityNormalization(PythonPackage):
+ """Normalize intensities of images from various MRI modalities"""
+
+ homepage = "https://github.com/jcreinhold/intensity-normalization"
+ pypi = "intensity-normalization/intensity-normalization-2.1.1.tar.gz"
+
+ version('2.1.1', sha256='686b86754a9a520a03f793cb15c87e945f68ede78ac0ad1b3564c5d5b7ac9486')
+
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-setuptools', type=('build',))
+ depends_on('py-pytest-runner', type=('build',))
+ depends_on('py-matplotlib', type=('build', 'run'))
+ depends_on('py-nibabel', type=('build', 'run'))
+ depends_on('py-numpy', type=('build', 'run'))
+ depends_on('py-scikit-fuzzy', type=('build', 'run'))
+ depends_on('py-scikit-image', type=('build', 'run'))
+ depends_on('py-scikit-learn', type=('build', 'run'))
+ depends_on('py-scipy', type=('build', 'run'))
+ depends_on('py-statsmodels', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-scikit-fuzzy/package.py b/var/spack/repos/builtin/packages/py-scikit-fuzzy/package.py
new file mode 100644
index 0000000000..2c1ffe81e1
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-scikit-fuzzy/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyScikitFuzzy(PythonPackage):
+ """Fuzzy logic toolkit for SciPy"""
+
+ homepage = "https://github.com/scikit-fuzzy/scikit-fuzzy"
+ pypi = "scikit-fuzzy/scikit-fuzzy-0.4.2.tar.gz"
+
+ version('0.4.2', sha256='1ab12424d847ede1bc79670d8058167be7c8dd660b00756e9b844817ceb1e12e')
+
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-setuptools', type=('build',))
+ depends_on('py-networkx@1.9:', type=('build', 'run'))
+ depends_on('py-numpy@1.6:', type=('build', 'run'))
+ depends_on('py-scipy@0.9:', type=('build', 'run'))