}
}
if (!freqs.isEmpty()) {
try {
RefinementParameterDialog dialog = new RefinementParameterDialog(
parent, freqs, 6);
if (!dialog.isCancelled()) {
List<Double> variablePeriods = dialog
.getVariablePeriods();
List<Double> lockedPeriods = dialog
.getLockedPeriods();
// Perform a refinement operation and get the new
// top-hits resulting from the refinement.
List<PeriodAnalysisDataPoint> newTopHits = algorithm