Class CalibrationServiceImpl
java.lang.Object
gov.llnl.gnem.apps.coda.calibration.service.impl.CalibrationServiceImpl
- All Implemented Interfaces:
CalibrationService
@Service
@Transactional
public class CalibrationServiceImpl
extends Object
implements CalibrationService
The CalibrationServiceImpl class is the core control loop of the service
layer in CCT responsible for creating calibrations and measurement Mw values
given existing calibration parameters.
-
Constructor Summary
ConstructorDescriptionCalibrationServiceImpl
(WaveformService waveformService, PeakVelocityMeasurementService peakVelocityMeasurementsService, SharedFrequencyBandParametersService sharedParametersService, ShapeCalibrationService shapeCalibrationService, SpectraMeasurementService spectraMeasurementService, SyntheticCodaGenerationService syntheticGenerationService, PathCalibrationService pathCalibrationService, MdacParametersFiService mdacFiService, MdacParametersPsService mdacPsService, ReferenceMwParametersService referenceMwService, ValidationMwParametersService validationMwService, SiteCalibrationService siteCalibrationService, SyntheticService syntheticService, NotificationService notificationService, DatabaseCleaningService cleaningService, ConfigurationService configService, SiteFrequencyBandParametersService siteParamsService, SpectraCalculator spectraCalc, WaveformPickService pickService, AutopickingService picker, ExecutorService measureService) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
makeMwMeasurements
(boolean autoPickingEnabled, boolean persistResults) makeMwMeasurements
(boolean autoPickingEnabled, boolean persistResults, List<Waveform> waveforms) makeMwMeasurements
(boolean autoPickingEnabled, boolean persistResults, Set<String> eventIds) boolean
startCalibration
(boolean autoPickingEnabled) toggleAllByEventIds
(List<String> eventIds)
-
Constructor Details
-
Method Details
-
makeMwMeasurements
public Future<Result<MeasuredMwReportByEvent>> makeMwMeasurements(boolean autoPickingEnabled, boolean persistResults) - Specified by:
makeMwMeasurements
in interfaceCalibrationService
-
makeMwMeasurements
public Future<Result<MeasuredMwReportByEvent>> makeMwMeasurements(boolean autoPickingEnabled, boolean persistResults, Set<String> eventIds) - Specified by:
makeMwMeasurements
in interfaceCalibrationService
-
makeMwMeasurements
public Future<Result<MeasuredMwReportByEvent>> makeMwMeasurements(boolean autoPickingEnabled, boolean persistResults, List<Waveform> waveforms) - Specified by:
makeMwMeasurements
in interfaceCalibrationService
-
startCalibration
public boolean startCalibration(boolean autoPickingEnabled) - Specified by:
startCalibration
in interfaceCalibrationService
-
cancelCalibration
- Specified by:
cancelCalibration
in interfaceCalibrationService
-
clearData
public boolean clearData()- Specified by:
clearData
in interfaceCalibrationService
-
toggleAllByEventIds
- Specified by:
toggleAllByEventIds
in interfaceCalibrationService
-