marco-congedo / fourieranalysis.jl Goto Github PK
View Code? Open in Web Editor NEWA Julia package for the Fourier analysis of Multivariate Data in the Frequency and Time-Frequency Domain
License: Other
A Julia package for the Fourier analysis of Multivariate Data in the Frequency and Time-Frequency Domain
License: Other
Hi
this is a wonderful library indeed, thanks for putting it together. Unfortunately, it seems to downgrade my libs, such as DataFrames to 0.19. I think it is coming from one of the imports.
do you think its possible to upgrade the project dependencies?
thanks
Rohit
@JuliaRegistrator register
@JuliaRegistrator register
Hi,
Forgive me about my ignorance in Fourier analysis. I have some questions about computing coherence and cross-spectrum and whether or not this package provides such functionalities.
I want to perform some analysis similar to the wavelet coherence as demonstrated in the link to MATLAB's documentation. Simply speaking, given two time-series x
and y
, I want to compute the correlation coefficients in the time-frequency domain. However, it seems to me that the word "coherence" and "cross-spectral" in Fourier analysis refer to cross-correlations, which I am not sure if that's what I'm looking for.
Do you know if it's possible to perform my desired analysis with this package?
Hi,
Thanks for building and sharing this package!
I tried to run the example in README.md, but something is not working:
t
in randn(t*16, 4)
not definedt
with wl
julia> heatmap(A)
ERROR: Cannot convert TFAmplitude to series data for plotting
AbstractFFTs, FFTW, PosDefManifold, and RecipesBase all have newer versions released than your Project.toml specifies is compatible. i would submit a PR to update the compat section of your Project.toml, but there are no tests for FourierAnalysis! so i wouldn't know if anything broke. could you please do so? thanks.
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.8.1 (2022-09-06)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
(TrainSpikingNet) pkg> activate foo
Activating new project at `~/projects/darshan/TrainSpikingNet/foo`
(foo) pkg> add FourierAnalysis
Updating registry at `~/.julia/registries/General.toml`
Resolving package versions...
Updating `~/projects/darshan/TrainSpikingNet/foo/Project.toml`
[e7e9c730] + FourierAnalysis v1.2.1
Updating `~/projects/darshan/TrainSpikingNet/foo/Manifest.toml`
⌅ [621f4979] + AbstractFFTs v0.5.0
[d360d2e6] + ChainRulesCore v1.15.5
[9e997f8a] + ChangesOfVariables v0.1.4
[34da2185] + Compat v4.2.0
[717857b8] + DSP v0.7.7
[ffbed154] + DocStringExtensions v0.9.1
⌅ [7a1cc6ca] + FFTW v1.3.0
[e7e9c730] + FourierAnalysis v1.2.1
[3587e190] + InverseFunctions v0.1.7
[92d709cd] + IrrationalConstants v0.1.1
[c8e1da08] + IterTools v1.4.0
[692b3bcd] + JLLWrappers v1.4.1
[2ab3a3ac] + LogExpFunctions v0.3.18
[f27b6e38] + Polynomials v3.2.0
⌅ [f45a3650] + PosDefManifold v0.4.9
[21216c6a] + Preferences v1.3.0
⌅ [3cdcf5f2] + RecipesBase v1.1.2
[189a3867] + Reexport v1.2.2
[276daf66] + SpecialFunctions v2.1.7
[f5851436] + FFTW_jll v3.3.10+0
[1d5cc7b8] + IntelOpenMP_jll v2018.0.3+2
⌅ [856f044c] + MKL_jll v2020.2.254+0
[efe28fd5] + OpenSpecFun_jll v0.5.5+0
[0dad84c5] + ArgTools v1.1.1
[56f22d72] + Artifacts
[2a0f44e3] + Base64
[ade2ca70] + Dates
[f43a241f] + Downloads v1.6.0
[7b1f6079] + FileWatching
[b77e0a4c] + InteractiveUtils
[b27032c2] + LibCURL v0.6.3
[76f85450] + LibGit2
[8f399da3] + Libdl
[37e2e46d] + LinearAlgebra
[56ddb016] + Logging
[d6f4376e] + Markdown
[ca575930] + NetworkOptions v1.2.0
[44cfe95a] + Pkg v1.8.0
[de0858da] + Printf
[3fa0cd96] + REPL
[9a3f8284] + Random
[ea8e919c] + SHA v0.7.0
[9e88b42a] + Serialization
[6462fe0b] + Sockets
[2f01184e] + SparseArrays
[10745b16] + Statistics
[fa267f1f] + TOML v1.0.0
[a4e569a6] + Tar v1.10.0
[8dfed614] + Test
[cf7118a7] + UUIDs
[4ec0a83e] + Unicode
[e66e0078] + CompilerSupportLibraries_jll v0.5.2+0
[deac9b47] + LibCURL_jll v7.84.0+0
[29816b5a] + LibSSH2_jll v1.10.2+0
[c8ffd9c3] + MbedTLS_jll v2.28.0+0
[14a3606d] + MozillaCACerts_jll v2022.2.1
[4536629a] + OpenBLAS_jll v0.3.20+0
[05823500] + OpenLibm_jll v0.8.1+0
[83775a58] + Zlib_jll v1.2.12+3
[8e850b90] + libblastrampoline_jll v5.1.1+0
[8e850ede] + nghttp2_jll v1.48.0+0
[3f19e933] + p7zip_jll v17.4.0+0
Info Packages marked with ⌅ have new versions available but cannot be upgraded. To see why use `status --outdated -m`
Precompiling project...
4 dependencies successfully precompiled in 11 seconds. 26 already precompiled.
(foo) pkg> status --outdated -m
Status `~/projects/darshan/TrainSpikingNet/foo/Manifest.toml`
⌅ [621f4979] AbstractFFTs v0.5.0 (<v1.2.1): FFTW, FourierAnalysis
⌅ [7a1cc6ca] FFTW v1.3.0 (<v1.5.0): FourierAnalysis
⌅ [f45a3650] PosDefManifold v0.4.9 (<v0.5.0): FourierAnalysis
⌅ [3cdcf5f2] RecipesBase v1.1.2 (<v1.2.1): FourierAnalysis
⌅ [856f044c] MKL_jll v2020.2.254+0 (<v2022.1.0+0): FFTW
How would feel about making Plots.jl an optional dependency? This should be easy to do using Requires.jl.
I am unable to add this package in Julia 1.5.2 / Windows 10.
Fyi, please find error log herein:
ERROR: Unsatisfiable requirements detected for package RecipesPipeline [01d81517]:
RecipesPipeline [01d81517] log:
├─possible versions are: 0.1.0-0.1.13 or uninstalled
├─restricted to versions 0.1.6-0.1 by StatsPlots [f3b207a7], leaving only versions 0.1.6-0.1.13
│ └─StatsPlots [f3b207a7] log:
│ ├─possible versions are: 0.14.13 or uninstalled
│ └─StatsPlots [f3b207a7] is fixed to version 0.14.13
└─restricted by compatibility requirements with RecipesBase [3cdcf5f2] to versions: uninstalled — no versions left
└─RecipesBase [3cdcf5f2] log:
├─possible versions are: [0.4.0, 0.5.0, 0.6.0, 0.7.0, 0.8.0, 1.0.0-1.0.2, 1.1.0] or uninstalled
├─restricted to versions [0.6-0.8, 1] by StatsPlots [f3b207a7], leaving only versions [0.6.0, 0.7.0, 0.8.0, 1.0.0-1.0.2, 1.1.0]
│ └─StatsPlots [f3b207a7] log: see above
└─restricted by compatibility requirements with FourierAnalysis [e7e9c730] to versions: 0.7.0
└─FourierAnalysis [e7e9c730] log:
├─possible versions are: [1.0.0-1.0.1, 1.1.0] or uninstalled
└─restricted to versions * by an explicit requirement, leaving only versions [1.0.0-1.0.1, 1.1.0]
Thanks for any recommendations to succeed.
I have a time series that I want to analyze, where the sampling time is 1.52 s and the sampling rate is therefore 1/1.52 Hz. Why is the parameter sr
of spectrum()
required to have integer value? Did I misunderstand something?
Hi again,
In the spectra demo, plan_rfft
comes from FFTW.jl
, but the package is not imported.
FourierAnalysis.jl/src/spectra.jl
Line 158 in ac11cda
Just below this line, Plots.jl
are imported twice.
It's great that these examples are organized in a natural order! However, some parts seem to be independent of each other, and if I blindly copy and paste the whole chunk into the REPL, interesting intermediate outputs are missing. I don't know if there are better ways to handle these demos 🤔
Installing this package has made Plots and DifferentialEquations no longer work in my Julia. This error does not resolve after installing/reinstalling Julia
This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml
to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix
on this issue.
I'll open a PR within a few hours, please be patient!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.