[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#60877] [PATCH 1/4] gnu: Add r-baseline.
From: |
Mădălin Ionel Patrașcu |
Subject: |
[bug#60877] [PATCH 1/4] gnu: Add r-baseline. |
Date: |
Tue, 17 Jan 2023 13:25:35 +0100 |
* gnu/packages/cran.scm (r-baseline): New variable.
---
gnu/packages/cran.scm | 27 ++++++++++++++++++++++++++-
1 file changed, 26 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 3fcbd3b9f6..53f3ebbcf5 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -11,7 +11,7 @@
;;; Copyright © 2018 Sandeep Subramanian <sandeepsubramanian94@gmail.com>
;;; Copyright © 2018 Charlie Ritter <chewzeirta@posteo.net>
;;; Copyright © 2018 Konrad Hinsen <konrad.hinsen@fastmail.net>
-;;; Copyright © 2018, 2020, 2021, 2022 Mădălin Ionel Patrașcu
<madalinionel.patrascu@mdc-berlin.de>
+;;; Copyright © 2018, 2020-2023 Mădălin Ionel Patrașcu
<madalinionel.patrascu@mdc-berlin.de>
;;; Copyright © 2018 Laura Lazzati <laura.lazzati.15@gmail.com>
;;; Copyright © 2018 Leo Famulari <leo@famulari.name>
;;; Copyright © 2018 Marius Bakke <mbakke@fastmail.com>
@@ -9241,6 +9241,31 @@ (define-public r-base64url
systems.")
(license license:gpl3)))
+(define-public r-baseline
+ (package
+ (name "r-baseline")
+ (version "1.3-4")
+ (source (origin
+ (method url-fetch)
+ (uri (cran-uri "baseline" version))
+ (sha256
+ (base32
+ "1kl68zvyi2zd73jy3axrvrymwn4y6l4pd62nz0fciwbgkjhz3yyx"))))
+ (properties `((upstream-name . "baseline")))
+ (build-system r-build-system)
+ (propagated-inputs (list r-limsolve r-sparsem))
+ (home-page "https://github.com/khliland/baseline/")
+ (synopsis "Baseline correction of spectra")
+ (description
+ "This package is a collection of baseline correction algorithms. Beside
+those it provides a framework and a Tcl/Tk enabled GUI for optimizing baseline
+algorithm parameters. Typical use is the removal of the background effects
from
+spectra, which are originating from various types of spectroscopy and
spectrometry.
+Also, there is a possibility of optimizing this with regard to regression or
+classification results. Correction methods include polynomial fitting,
weighted
+local smoothers and many more.")
+ (license license:gpl2)))
+
(define-public r-radiant-data
(package
(name "r-radiant-data")
base-commit: 789d73234d5b6bbd83bb054146d5bbd1d374d51a
--
2.38.1