Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

461 spectral window #463

Merged
merged 21 commits into from
Jan 21, 2025
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
1513775
FFTandSpectralWindow plug-in: currently "Spectral Window" only is imp…
mpyat2 Dec 21, 2024
a73dbfe
DFT implementation
mpyat2 Dec 22, 2024
f092010
Plug-in pre-release
mpyat2 Dec 22, 2024
14468db
Default max frequency and resolution; list of opened resulting panes;…
mpyat2 Dec 26, 2024
2f6bb38
Log plot is allowed.
mpyat2 Dec 26, 2024
e2f6811
Fix: FFT replaced with DFT (Digital Fourier Transform)
mpyat2 Dec 26, 2024
0ef02e2
FFT/Spectral Window Documentation
mpyat2 Dec 26, 2024
3ac9fe5
in DFT calculation: ArrayList replaced with array (no performance imp…
mpyat2 Dec 27, 2024
3799117
Got rid of the 'long' type because such big values in practice are us…
mpyat2 Dec 27, 2024
d73a56f
DFT: Fourier model using org.apache.commons.math.stat.regression.OLSM…
mpyat2 Dec 29, 2024
62f4e40
Added DCDFT via OLSMultipleLinearRegression. Since it is slower than …
mpyat2 Dec 29, 2024
a8fe97d
Fix: several instances of PeriodAnalysisDialog may coexist and interf…
mpyat2 Dec 30, 2024
11ec227
UnitTest
mpyat2 Dec 31, 2024
b363212
DFT/SpectralWindow UnitTest is now in a separate file.
mpyat2 Dec 31, 2024
14715da
Set DFTandSpectralWindow.interrupted to false before executing the al…
mpyat2 Dec 31, 2024
819b331
Some optimization
mpyat2 Jan 1, 2025
218652d
Multi-threaded DFT
mpyat2 Jan 1, 2025
55d5649
FindHarmonic implementation.
mpyat2 Jan 8, 2025
1db9b5c
Frequency/Amplitude uncertainty calculation for DFT (Deeming) is disa…
mpyat2 Jan 8, 2025
76da61e
Tophits-related fix: We cannot determine if the last point is a top-h…
mpyat2 Jan 9, 2025
f2b8a03
calcMedianTimeInterval fix (used for the default parameters calculati…
mpyat2 Jan 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Frequency/Amplitude uncertainty calculation for DFT (Deeming) is disa…
…bled: I'm not sure that the current algorithm fits this variant of the analysis.
  • Loading branch information
mpyat2 committed Jan 8, 2025
commit 1db9b5c9bbaee6b97ff5d6ff5e3c5864d53d42ea
Original file line number Diff line number Diff line change
@@ -109,7 +109,7 @@ public class DFTandSpectralWindow extends PeriodAnalysisPluginBase {
private Double minFrequency, maxFrequency, resolution;

public enum FAnalysisType {
DFT("DFT (Deeming 1975)"), SPW("Spectral Window"), DCDFT("DC DFT");
DFT("DFT (Deeming 1975)"), SPW("Spectral Window (Deeming 1975)"), DCDFT("DC DFT (Ferraz-Mello 1981)");

public final String label;

@@ -419,10 +419,14 @@ public PeriodAnalysisDerivedMultiPeriodicModelMod(PeriodAnalysisDataPoint topDat

@Override
public String toUncertaintyString() throws AlgorithmError {
if (analysisType != FAnalysisType.SPW)
switch (analysisType) {
case DCDFT:
return super.toUncertaintyString();
else // we should never be here.
return "Not available for this type of analysis";
case DFT:
return "Not implemented for " + analysisType.label;
default:
return "Not available for " + analysisType.label;
}
}

}
Loading
Oops, something went wrong.