freqToHarmonicsMap);
if (!dialog.isCancelled()) {
List<Harmonic> harmonics = dialog.getHarmonics();
if (!harmonics.isEmpty()) {
IPeriodAnalysisAlgorithm algorithm = new TSDcDft(obs);
model = new PeriodAnalysisDerivedMultiPeriodicModel(
harmonics, algorithm);
} else {
MessageBox.showErrorDialog("Fourier Model Creator",