psambit9791 / jdsp

A Java Library for Digital Signal Processing
https://jdsp.dev
MIT License
240 stars 45 forks source link

Question regarding Phython Scipy Import Signal.Welch #83

Open TonySaad-CENA opened 4 weeks ago

TonySaad-CENA commented 4 weeks ago

Hi,

I´d like to know which is the JDSP API call, equivalent to Python Scipy Import Signal API:

--------- Compute Power Spectral Density ---------

    freq, psd = signal.welch(x=nni_normalized, fs=sampling_frequency, window='hann',
                             nfft=4096)

Thanks

psambit9791 commented 1 week ago

Currently, JDSP does not support power spectral density.

TonySaad-CENA commented 1 week ago

Ok Paul, thus, just two more questions for you, and I'll not disturb you again!

  1. Could you please point me to some other java lib, which I could use to calculate the PSD (AR and/or Welch and/or Lomb)?

  2. If I place the dependency "implementation 'com.github.psambit9791:jdsp:3.0.0'" in my Android App, it gives a Build error "App: check debug duplicate classes" which, unfortunately, I was unable to resolve in any way, till now. I am attaching the build.gradle file, if you could take a look and see if you recognize any potential class duplication conflicts, I would greatly appreciate it.

Finally, just in case you decide to implement PSD in JDSP, that would be great and, if you need it, you can count on my help (AR, Welch, and Lomb-Scargle), although I don't have a lot of knowledge in developing software, I have great theoretical knowledge (Formulas, Equations and Understanding) in such processes.

Best, Tony

Em qui., 20 de jun. de 2024 às 06:18, Sambit Paul @.***> escreveu:

Currently, JDSP does not support power spectral density.

— Reply to this email directly, view it on GitHub https://github.com/psambit9791/jdsp/issues/83#issuecomment-2180211746, or unsubscribe https://github.com/notifications/unsubscribe-auth/APBHSY65OXMIDJEJYQBQAKDZIKM7ZAVCNFSM6AAAAABIWWZQIKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBQGIYTCNZUGY . You are receiving this because you authored the thread.Message ID: @.***>