public class InterpolateTimeSeries extends Object implements stream.Processor
Modifier and Type | Field and Description |
---|---|
String |
badPixelKey |
CalibrationService |
calibService |
String |
dataKey |
String |
dataOutputKey |
int |
minPixelToInterpolate |
String |
timeStampKey |
Constructor and Description |
---|
InterpolateTimeSeries() |
Modifier and Type | Method and Description |
---|---|
double[] |
interpolateTimeSeries(double[] data,
PixelSet badPixelSet) |
stream.Data |
process(stream.Data item) |
@Service(required=true, description="The calibration service which provides the information about the bad pixels") public CalibrationService calibService
@Parameter(required=true, description="The data key to work on") public String dataKey
@Parameter(required=true, description="The name of the interpolated data output") public String dataOutputKey
@Parameter(required=false, description="The minimum number of neighboring pixels required for interpolation", defaultValue="3") public int minPixelToInterpolate
@Parameter(required=false, description="The key for the resulting badPixelSet.") public String badPixelKey
@Parameter(required=false, description="The key to the timestamp of the Event.") public String timeStampKey
public stream.Data process(stream.Data item)
process
in interface stream.Processor
public double[] interpolateTimeSeries(double[] data, PixelSet badPixelSet)
Copyright © 2019. All rights reserved.