Skip to content

Adaptive, Sine-Multitaper Power Spectral Density and Cross Spectrum Estimation

1packages dependsuggested by 2
29.8Kdownloads / year
85.3%test coverage
13/13flavors OK

Overview

About

Produces power spectral density estimates through iterative refinement of the optimal number of sine-tapers at each frequency. This optimization procedure is based on the method of Riedel and Sidorenko (1995), which minimizes the Mean Square Error (sum of variance and bias) at each frequency, but modified for computational stability. The same procedure can now be used to calculate the cross spectrum (multivariate analyses).

Changes in 2.1.2
  • Minor version bump do address cran check
  • CI is now through github actions

From inst/NEWS.Rd in the release

Install

Health

CRAN checks
13OK
Slowest check: 5.2 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK12 OK2026-04-25
Show 3 earlier changesHide 3 earlier changes
  • NOTE12 OK, 2 NOTE2026-04-22
  • ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 2.1.2
READMEYes · 540 wordsVignettesYes · 4 · dynamicNEWSYes · mentions 2.1.2Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
32includes a package overview page
Examples that run
40%10 run in a plain check · 15 never run
Exported functions with examples
78%
Documented parameters
99%
Return-value docs
74%
Help pages citing references
16%

Also includes 3 demo scripts (run with demo())

Downloads

29.8K
CRAN downloads in the past year
Rank #2,690 · ~82/day · ~2.5K/mo
Daily download trend is not available in this view yet.
2K30 days
5.7K90 days
29.8K1 year
Compare downloads with other packages →
Also on425 r2u6 autocran180 c2d4u

Repository

9Stars
6Forks
2Open issues
0Open PRs
0Releases
440Commits
3Commit identities
spectrumpsdmultitaperpower-spectrumspectral-density-estimatesrpower-spectral-density
440 commits · Last activity 2025-04-25
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
18
Median days to close, 50 most recently updated closed PRs
1

Stars over time

2023-12-22 · 92026-07-07 · 9
PracticesBeta

6 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/abarbour/psd on 2026-10-25.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Coverage (1)
Coverage reporting (Codecov)
CRAN release process (3)
cran-comments.mdrevdep/CRAN-SUBMISSION
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
17 external dependencies (excludes base and recommended)

Installing psd adds 3 packages (2 with compiled code, 2.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppArmadillo 1.0 MB, RColorBrewer 11 KB.

Depends (1)
R >= 2.14.1
Imports (2)
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Suggested by 2
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (3)
Author, Maintainer since 0.3-1 (2013)
Author · added in 1.2.0
Listed in earlier versions (3)
Show 3 peopleHide 3 people
with contributions from David Myer
no longer listed · 1.0-0 to 1.0-1
Barbour
no longer listed · 2.0.0 to 2.1.2
Parker
no longer listed · 2.0.0 to 2.1.2
Releases (11)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 2.1.2Latest
    record
    2025-04-25 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 2.1.1
    record
    2022-01-31 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 2.1.0
    record
    2020-06-29 · diff ↗ ·
    added 1 export
    na_locf
  • 2.0.0
    record
    2020-06-22 · diff ↗ ·
    removed 2 exports
    parabolic_weights_rcpp2, resample_fft_rcpp2
    added 6 exports
    coherence, det_vector, parabolic_weights_field, phase, resample_mvfft, riedsid_rcpp
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 1.2.0
    record
    2019-03-20 · diff ↗ ·
    removed 5 exports
    as.spec, ctap_simple_rcpp, data.frame.spec, parabolic_weights_fast, pattern:^[[:alpha:]]+
    added 4 exports
    .spec_confint, parabolic_weights_rcpp2, resample_fft_rcpp2, spec_details
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
Show 10 earlier eventsHide 10 earlier events
  • R
    R 3.2.0 released · 2015-04-16
  • 1.0-1
    record
    2015-03-22 · diff ↗
  • 1.0-0
    record
    2015-03-18 · diff ↗ ·
    removed 2 exports
    char2envir, envir2char
    added 16 exports
    adapt_message, as.spec, create_poly, ctap_simple_rcpp, data.frame.spec, data.frame.tapers, is.amt, last_psd, modulo_floor, parabolic_weights_rcpp, pgram_compare, pspectrum_basic, rcpp_ctap_simple, resample_fft_rcpp, riedsid2, pattern:^[[:alpha:]]+
  • 0.4-1
    record
    2014-04-16 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 0.4-0
    record
    2013-09-20 · diff ↗ ·
    removed 2 exports
    ctap_friedman, ctap_markov
    added 1 export
    psd_envClear
  • R
    R 3.0.0 released · 2013-04-03
  • 0.3-2
    record
    2013-03-27 · diff ↗
  • 0.3-1
    record
    2013-03-13
  • R
    R 2.15.0 released · 2012-03-30

Package metadata

First published
2013-03-13
Total releases
11 / 13 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 2.14.1
Bundled data
287 KB / 4 files
Download size
1.8 MB
Appears in task views

Cite

Cite this package

Run in R for the authors' entry:

citation("psd")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.1016/j.cageo.2013.09.015.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for psd version 2.1.2 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy