/
package.py
28 lines (20 loc) · 1.19 KB
/
package.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 2013-2024 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.package import *
class RMultitaper(RPackage):
"""Spectral Analysis Tools using the Multitaper Method.
Implements multitaper spectral analysis using discrete prolate spheroidal
sequences (Slepians) and sine tapers. It includes an adaptive weighted
multitaper spectral estimate, a coherence estimate, Thomson's Harmonic
F-test, and complex demodulation. The Slepians sequences are generated
efficiently using a tridiagonal matrix solution, and jackknifed confidence
intervals are available for most estimates. This package is an
implementation of the method described in D.J. Thomson (1982) "Spectrum
estimation and harmonic analysis" <doi:10.1109/PROC.1982.12433>."""
cran = "multitaper"
license("GPL-2.0-or-later")
version("1.0-15", sha256="837d71f3b46fbce2bea210449cf75e609f5363ff23b7808f5f115fdc51e6a3be")
version("1.0-14", sha256="c84c122541dc2874131446e23b212259b3b00590d701efee49e6740fd74a8d13")
depends_on("r@3.0:", type=("build", "run"))