{
  "_id": "6a17fec2acfb0bcc41dab56e",
  "Package": "psd",
  "Type": "Package",
  "Title": "Adaptive, Sine-Multitaper Power Spectral Density and Cross\nSpectrum Estimation",
  "Version": "2.1.2",
  "Date": "2025-04-25",
  "Authors@R": "c(person(given = c(\"Andrew\",\"J.\"),\nfamily = \"Barbour\",\nrole = c(\"aut\", \"cre\"),\nemail = \"andy.barbour@gmail.com\",\ncomment = c(ORCID = \"0000-0002-6890-2452\")),\nperson(given = \"Jonathan\",\nfamily = \"Kennel\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0003-4474-6886\")),\nperson(given = c(\"Robert\",\"L.\"),\nfamily = \"Parker\",\nrole = \"aut\"))",
  "Description": "Produces power spectral density estimates through\niterative refinement of the optimal number of sine-tapers at\neach frequency. This optimization procedure is based on the\nmethod of Riedel and Sidorenko (1995), which minimizes the Mean\nSquare Error (sum of variance and bias) at each frequency, but\nmodified for computational stability. The same procedure can\nnow be used to calculate the cross spectrum (multivariate\nanalyses).",
  "License": "GPL (>= 2)",
  "URL": "https://github.com/abarbour/psd,\nhttps://doi.org/10.1016/j.cageo.2013.09.015",
  "BugReports": "https://github.com/abarbour/psd/issues",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.2",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-28 08:33:17 UTC",
    "User": "root"
  },
  "Author": "Andrew J. Barbour [aut, cre]\n(<https://orcid.org/0000-0002-6890-2452>), Jonathan Kennel\n[aut] (<https://orcid.org/0000-0003-4474-6886>), Robert L.\nParker [aut]",
  "Maintainer": "Andrew J. Barbour <andy.barbour@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-04-25 18:50:01 UTC",
  "RemoteUrl": "https://github.com/cran/psd",
  "RemoteRef": "HEAD",
  "RemoteSha": "d6b5a8d08c6335942e7e00b6dbc7eab14c6a5a9f",
  "MD5sum": "2086e93476cb7bc57a2823d6c2fbaeed",
  "_user": "cran",
  "_type": "src",
  "_file": "psd_2.1.2.tar.gz",
  "_fileid": "ab9a158685b298db454263df67799514dd44dc6c145ce224d76f2a2a41e1eae0",
  "_filesize": 2227940,
  "_sha256": "ab9a158685b298db454263df67799514dd44dc6c145ce224d76f2a2a41e1eae0",
  "_created": "2026-05-28T08:33:17.000Z",
  "_published": "2026-05-28T08:37:22.444Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78253767948,
      "time": 189,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7261377633"
    },
    {
      "job": 78253768005,
      "time": 145,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7261362568"
    },
    {
      "job": 78253768033,
      "time": 141,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7261360166"
    },
    {
      "job": 78253767972,
      "time": 155,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7261365287"
    },
    {
      "job": 78253032875,
      "time": 268,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7261309513"
    },
    {
      "job": 78253767937,
      "time": 128,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7261356131"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26563743734",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/psd",
  "_commit": {
    "id": "d6b5a8d08c6335942e7e00b6dbc7eab14c6a5a9f",
    "author": "Andrew J. Barbour <andy.barbour@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 2.1.2\n",
    "time": 1745607001
  },
  "_maintainer": {
    "name": "Andrew J. Barbour",
    "email": "andy.barbour@gmail.com",
    "login": "abarbour",
    "description": "",
    "uuid": 324751,
    "orcid": "0000-0002-6890-2452"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.14.1",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.11.5",
      "role": "Imports"
    },
    {
      "package": "RColorBrewer",
      "role": "Imports"
    },
    {
      "package": "bspec",
      "role": "Suggests"
    },
    {
      "package": "fftw",
      "version": ">= 1.0.3",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "version": ">= 0.9",
      "role": "Suggests"
    },
    {
      "package": "multitaper",
      "role": "Suggests"
    },
    {
      "package": "plyr",
      "role": "Suggests"
    },
    {
      "package": "RSEIS",
      "role": "Suggests"
    },
    {
      "package": "rbenchmark",
      "role": "Suggests"
    },
    {
      "package": "reshape2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "signal",
      "role": "Suggests"
    },
    {
      "package": "formatR",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 2.1.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 1,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "abarbour",
      "count": 11,
      "uuid": 324751
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 3835,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/psd"
  },
  "_mentions": 2,
  "_devurl": "https://github.com/abarbour/psd",
  "_searchresults": 109,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/psd.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/abarbour/psd",
  "_realowner": "abarbour",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.3-1",
      "date": "2013-03-13"
    },
    {
      "version": "0.3-2",
      "date": "2013-03-27"
    },
    {
      "version": "0.4-0",
      "date": "2013-09-20"
    },
    {
      "version": "0.4-1",
      "date": "2014-04-16"
    },
    {
      "version": "1.0-0",
      "date": "2015-03-18"
    },
    {
      "version": "1.0-1",
      "date": "2015-03-22"
    },
    {
      "version": "1.2.0",
      "date": "2019-03-20"
    },
    {
      "version": "2.0.0",
      "date": "2020-06-22"
    },
    {
      "version": "2.1.0",
      "date": "2020-06-29"
    },
    {
      "version": "2.1.1",
      "date": "2022-01-31"
    },
    {
      "version": "2.1.2",
      "date": "2025-04-25"
    }
  ],
  "_exports": [
    ".spec_confint",
    "adapt_message",
    "as.tapers",
    "coherence",
    "colvec",
    "constrain_tapers",
    "create_poly",
    "ctap_loess",
    "ctap_simple",
    "data.frame.tapers",
    "dB",
    "det_vector",
    "get_adapt_history",
    "get_psd_env_name",
    "get_psd_env_pointer",
    "is.amt",
    "is.spec",
    "is.tapers",
    "last_psd",
    "minspan",
    "mod",
    "modulo_floor",
    "na_locf",
    "na_mat",
    "new_adapt_history",
    "normalize",
    "ones",
    "parabolic_weights",
    "parabolic_weights_field",
    "parabolic_weights_rcpp",
    "pgram_compare",
    "phase",
    "pilot_spec",
    "prewhiten",
    "psd_envAssign",
    "psd_envAssignGet",
    "psd_envClear",
    "psd_envGet",
    "psd_envList",
    "psd_envRefresh",
    "psd_envStatus",
    "psdcore",
    "pspectrum",
    "pspectrum_basic",
    "rcpp_ctap_simple",
    "resample_fft_rcpp",
    "resample_mvfft",
    "riedsid",
    "riedsid_rcpp",
    "riedsid2",
    "rowvec",
    "spec_confint",
    "spec_details",
    "spectral_properties",
    "splineGrad",
    "tapers",
    "update_adapt_history",
    "varddiff",
    "vardiff",
    "vector_reshape",
    "zeros"
  ],
  "_datasets": [
    {
      "name": "hfsnm",
      "title": "Noise levels found in PBO strainmeter data at seismic frequencies.",
      "object": "hfsnm",
      "file": "hfsnm.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "freq",
        "P50",
        "P10",
        "meter.type"
      ],
      "rows": 141,
      "table": true,
      "tojson": true
    },
    {
      "name": "magnet",
      "title": "A single line of Project MAGNET horizontal field intensity",
      "object": "magnet",
      "file": "magnet.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "km",
        "raw",
        "clean",
        "mdiff"
      ],
      "rows": 2048,
      "table": true,
      "tojson": true
    },
    {
      "name": "Tohoku",
      "title": "Observations of teleseismic strains from the 2011 Tohoku earthquake.",
      "object": "Tohoku",
      "file": "Tohoku.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Dts",
        "areal",
        "areal_interp",
        "areal.tide",
        "areal.baro",
        "gamma1",
        "gamma1_interp",
        "gamma1.tide",
        "gamma1.baro",
        "gamma2",
        "gamma2_interp",
        "gamma2.tide",
        "pressure.atm",
        "pressure.pore",
        "version",
        "Dt",
        "Origin.secs",
        "epoch"
      ],
      "rows": 16000,
      "table": false,
      "tojson": true
    },
    {
      "name": "wipp30",
      "title": "Water levels from borehole WIPP30",
      "object": "wipp30",
      "file": "wipp30.rda",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "time",
        "wl",
        "baro",
        "et"
      ],
      "rows": 13413,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "psd-package",
      "title": "Adaptive power spectral density estimation using optimal sine multitapers",
      "topics": [
        "psd-package",
        "psd",
        "spec.psd"
      ]
    },
    {
      "page": "as.tapers",
      "title": "Coerce an object into a ''tapers'' object.",
      "topics": [
        "as.tapers",
        "tapers"
      ]
    },
    {
      "page": "coherence",
      "title": "coherence",
      "topics": [
        "coherence"
      ]
    },
    {
      "page": "ctap_loess",
      "title": "Taper constraints using loess smoothing",
      "topics": [
        "ctap_loess",
        "ctap_loess.default",
        "ctap_loess.tapers"
      ]
    },
    {
      "page": "det_vector",
      "title": "det_vector",
      "topics": [
        "det_vector"
      ]
    },
    {
      "page": "hfsnm",
      "title": "Noise levels found in PBO strainmeter data at seismic frequencies.",
      "topics": [
        "hfsnm"
      ]
    },
    {
      "page": "magnet",
      "title": "A single line of Project MAGNET horizontal field intensity",
      "topics": [
        "magnet"
      ]
    },
    {
      "page": "modulo_floor",
      "title": "Nearest value below",
      "topics": [
        "modulo_floor"
      ]
    },
    {
      "page": "parabolic_weights",
      "title": "parabolic_weights_field",
      "topics": [
        "parabolic_weights",
        "parabolic_weights.default",
        "parabolic_weights.tapers",
        "parabolic_weights_field",
        "parabolic_weights_rcpp"
      ]
    },
    {
      "page": "pgram_compare",
      "title": "Compare multitaper spectrum with cosine-tapered periodogram",
      "topics": [
        "pgram_compare",
        "pgram_compare.amt"
      ]
    },
    {
      "page": "phase",
      "title": "phase",
      "topics": [
        "phase"
      ]
    },
    {
      "page": "pilot_spec",
      "title": "Calculate initial power spectral density estimates",
      "topics": [
        "pilot_spec",
        "pilot_spec.default",
        "pilot_spec.matrix",
        "pilot_spec.ts",
        "pilot_spectrum",
        "spec.pilot"
      ]
    },
    {
      "page": "prewhiten",
      "title": "Prepare a series for spectral estimation",
      "topics": [
        "prewhiten",
        "prewhiten.default",
        "prewhiten.ts"
      ]
    },
    {
      "page": "psd-environment",
      "title": "Various environment manipulation functions.",
      "topics": [
        "get_adapt_history",
        "get_psd_env_name",
        "get_psd_env_pointer",
        "last_psd",
        "new_adapt_history",
        "psd-environment",
        "psd_envAssign",
        "psd_envAssignGet",
        "psd_envClear",
        "psd_envGet",
        "psd_envList",
        "psd_envRefresh",
        "psd_envStatus",
        "update_adapt_history",
        "update_adapt_history.default",
        "update_adapt_history.spec"
      ]
    },
    {
      "page": "psd-normalization",
      "title": "Normalization of power spectral density estimates.",
      "topics": [
        "normalization",
        "normalize",
        "normalize.amt",
        "normalize.list",
        "normalize.spec",
        "psd-normalization"
      ]
    },
    {
      "page": "psd-utilities",
      "title": "Various utility functions.",
      "topics": [
        "colvec",
        "create_poly",
        "dB",
        "db",
        "decibels",
        "is.amt",
        "is.spec",
        "is.tapers",
        "mod",
        "na_locf",
        "na_locf.default",
        "na_locf.matrix",
        "na_mat",
        "ones",
        "psd-utilities",
        "rowvec",
        "varddiff",
        "varddiff.default",
        "varddiff.spec",
        "vardiff",
        "vector_reshape",
        "zeros"
      ]
    },
    {
      "page": "psdcore",
      "title": "Multitaper power spectral density estimates of a series",
      "topics": [
        "psdcore",
        "psdcore.default",
        "psdcore.matrix",
        "psdcore.ts"
      ]
    },
    {
      "page": "pspectrum",
      "title": "Adaptive sine multitaper power spectral density estimation",
      "topics": [
        "adapt_message",
        "pspectrum",
        "pspectrum.default",
        "pspectrum.matrix",
        "pspectrum.spec",
        "pspectrum.ts",
        "pspectrum_basic"
      ]
    },
    {
      "page": "rcpp_ctap_simple",
      "title": "c++ implementation of the RLP constraint filter",
      "topics": [
        "rcpp_ctap_simple"
      ]
    },
    {
      "page": "resample_fft_rcpp",
      "title": "Resample an fft using varying numbers of sine tapers",
      "topics": [
        "resample_fft_rcpp"
      ]
    },
    {
      "page": "resample_mvfft",
      "title": "Resample an fft using varying numbers of sine tapers",
      "topics": [
        "resample_mvfft"
      ]
    },
    {
      "page": "riedsid",
      "title": "Constrained, optimal tapers using the Riedel & Sidorenko-Parker method",
      "topics": [
        "riedsid",
        "riedsid.default",
        "riedsid.spec",
        "riedsid2",
        "riedsid2.default",
        "riedsid2.spec"
      ]
    },
    {
      "page": "riedsid_rcpp",
      "title": "replaces time consuming portion of riedsid2",
      "topics": [
        "riedsid_rcpp"
      ]
    },
    {
      "page": "spec_confint",
      "title": "Confidence intervals for multitaper power spectral density estimates",
      "topics": [
        ".spec_confint",
        "spec_confint",
        "spec_confint.default",
        "spec_confint.spec",
        "spec_confint.tapers"
      ]
    },
    {
      "page": "spec-methods",
      "title": "Generic methods for objects with class ''spec''",
      "topics": [
        "as.data.frame.spec",
        "as.list.spec",
        "as.matrix.spec",
        "lines.spec",
        "spec-methods",
        "spec_details"
      ]
    },
    {
      "page": "spectral_properties",
      "title": "Calculate properties of multitaper power spectral density estimates",
      "topics": [
        "spectral_properties",
        "spectral_properties.default",
        "spectral_properties.spec",
        "spectral_properties.tapers"
      ]
    },
    {
      "page": "splineGrad",
      "title": "Numerical derivatives of a series based on its smooth-spline representation",
      "topics": [
        "splineGrad",
        "splineGrad.default"
      ]
    },
    {
      "page": "tapers-constraints",
      "title": "Taper constraint methods",
      "topics": [
        "constrain_tapers",
        "constrain_tapers.default",
        "constrain_tapers.tapers",
        "minspan",
        "minspan.default",
        "minspan.tapers",
        "tapers-constraints"
      ]
    },
    {
      "page": "tapers-methods",
      "title": "Generic methods for objects with class ''tapers''",
      "topics": [
        "as.data.frame.tapers",
        "data.frame.tapers",
        "lines.tapers",
        "plot.tapers",
        "points.tapers",
        "print.summary.tapers",
        "print.tapers",
        "summary.tapers",
        "tapers-methods"
      ]
    },
    {
      "page": "tapers-refinement",
      "title": "Taper constraints using simple derivatives",
      "topics": [
        "ctap_simple",
        "ctap_simple.default",
        "ctap_simple.tapers",
        "tapers-refinement"
      ]
    },
    {
      "page": "Tohoku",
      "title": "Observations of teleseismic strains from the 2011 Tohoku earthquake.",
      "topics": [
        "Tohoku"
      ]
    },
    {
      "page": "wipp30",
      "title": "Water levels from borehole WIPP30",
      "topics": [
        "wipp30"
      ]
    }
  ],
  "_readme": "https://github.com/cran/psd/raw/HEAD/README.md",
  "_rundeps": [
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "psd_overview.Rnw",
      "filename": "psd_overview.pdf",
      "title": "An overview of psd",
      "engine": "knitr::knitr",
      "headings": [],
      "created": "2013-03-12 00:00:00",
      "modified": "2022-01-31 20:30:02",
      "commits": 6
    },
    {
      "source": "fftw.Rnw",
      "filename": "fftw.pdf",
      "title": "DFT benchmarks: fft vs FFT",
      "engine": "knitr::knitr",
      "headings": [],
      "created": "2013-03-12 00:00:00",
      "modified": "2022-01-31 20:30:02",
      "commits": 3
    },
    {
      "source": "multivariate.Rnw",
      "filename": "multivariate.pdf",
      "title": "Multivariate PSD",
      "engine": "knitr::knitr",
      "headings": [],
      "created": "2020-06-22 04:10:02",
      "modified": "2022-01-31 20:30:02",
      "commits": 2
    },
    {
      "source": "normalization.Rnw",
      "filename": "normalization.pdf",
      "title": "Normalization of power spectral density estimates",
      "engine": "knitr::knitr",
      "headings": [],
      "created": "2013-03-12 00:00:00",
      "modified": "2025-04-25 18:50:01",
      "commits": 7
    }
  ],
  "_score": 5.700373112273248,
  "_indexed": false,
  "_nocasepkg": "psd",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://abarbour.r-universe.dev/psd",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.2",
      "date": "2026-05-28T08:36:29.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "d6b5a8d08c6335942e7e00b6dbc7eab14c6a5a9f",
      "fileid": "08c1e406e4ba90da85142a36be286c6c9b271f2bc7b7f602cd157fb445cabce6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26563743734"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.2",
      "date": "2026-05-28T08:35:47.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "d6b5a8d08c6335942e7e00b6dbc7eab14c6a5a9f",
      "fileid": "376dc2b62a28d0a8a35f568ff8c342348ac59f51d9d1274840892166f0443e29",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26563743734"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.1.2",
      "date": "2026-05-28T08:35:42.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "d6b5a8d08c6335942e7e00b6dbc7eab14c6a5a9f",
      "fileid": "df5bbde9566b401af050bc208c89ce2b705a3a06614ba6904f8d390a0b8aca19",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26563743734"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.1.2",
      "date": "2026-05-28T08:35:52.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "d6b5a8d08c6335942e7e00b6dbc7eab14c6a5a9f",
      "fileid": "445980e8a3af1e1c10b02bea88cc25497394464de501295bb42dab3d3a440f06",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26563743734"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.2",
      "date": "2026-05-28T08:35:55.000Z",
      "arch": "emscripten",
      "commit": "d6b5a8d08c6335942e7e00b6dbc7eab14c6a5a9f",
      "fileid": "ad34b25d05834bc9611866cdb90de9352c6b147e12b96409f9947db8292e46b3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26563743734"
    }
  ]
}