From 1ca87549d4beca471df31afc7f9eed64be5ca56b Mon Sep 17 00:00:00 2001 From: psambit9791 Date: Mon, 1 Aug 2022 20:01:43 +0100 Subject: [PATCH] Updated docstring for getFFTFreq() --- pom.xml | 2 +- .../com/github/psambit9791/jdsp/transform/DiscreteFourier.java | 2 +- .../java/com/github/psambit9791/jdsp/transform/FastFourier.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 9e06162..fd33261 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.github.psambit9791 jdsp - 2.0.0-SNAPSHOT + 2.0.0 diff --git a/src/main/java/com/github/psambit9791/jdsp/transform/DiscreteFourier.java b/src/main/java/com/github/psambit9791/jdsp/transform/DiscreteFourier.java index 305dd7a..9307d16 100644 --- a/src/main/java/com/github/psambit9791/jdsp/transform/DiscreteFourier.java +++ b/src/main/java/com/github/psambit9791/jdsp/transform/DiscreteFourier.java @@ -49,7 +49,7 @@ public int getSignalLength() { /** - * Returns the frequencies of the FFT bins are computation + * Returns the frequencies of the FFT bins based on the signal length and sampling frequency * @param Fs Sampling frequency of the signal * @param onlyPositive Set to True if non-mirrored output is required * @return double[] Array of frequency bins diff --git a/src/main/java/com/github/psambit9791/jdsp/transform/FastFourier.java b/src/main/java/com/github/psambit9791/jdsp/transform/FastFourier.java index b382c2e..2437a65 100644 --- a/src/main/java/com/github/psambit9791/jdsp/transform/FastFourier.java +++ b/src/main/java/com/github/psambit9791/jdsp/transform/FastFourier.java @@ -58,7 +58,7 @@ public int getSignalLength() { } /** - * Returns the frequencies of the FFT bins are computation + * Returns the frequencies of the FFT bins based on the signal length and sampling frequency * @param Fs Sampling frequency of the signal * @param onlyPositive Set to True if non-mirrored output is required * @return double[] Array of frequency bins