public class TwoLevelTimeMedian extends BasicCleaning implements stream.Processor
Modifier and Type | Field and Description |
---|---|
String |
arrivalTimeKey |
double |
corePixelThreshold |
int |
minNumberOfPixel |
double |
neighborPixelThreshold |
String |
outputKey |
String |
photonChargeKey |
boolean |
showDifferentCleaningSets |
String |
starPositionsKey |
double |
starRadiusInCamera |
double |
timeLimit |
calibService, notUsablePixelSet
Constructor and Description |
---|
TwoLevelTimeMedian() |
Modifier and Type | Method and Description |
---|---|
PixelSet |
applyTimeMedianCleaning(PixelSet showerPixel,
double[] arrivalTime,
double timeThreshold)
Remove pixels with a difference in the arrivalTime to the median of the arrivalTimes of all pixels, larger than the timeLimit
|
stream.Data |
process(stream.Data item) |
addCorePixel, addLevelToDataItem, addNeighboringPixels, removeSmallCluster, removeStarIslands, setCalibService
@Parameter(required=true) public String photonChargeKey
@Parameter(required=true) public String arrivalTimeKey
@Parameter(required=true) public String outputKey
@Parameter(required=true, description="The smallest PhotonCharge a Pixel must have to be identified as a CorePixel") public double corePixelThreshold
@Parameter(required=true, description="The smallest PhotonCharge a Pixel must have that is adjacent to a previously identified corePixel") public double neighborPixelThreshold
@Parameter(required=true, description="Maximal difference in arrival time to the median of the arrival times of the shower, which a pixel is alound to have after cleaning") public double timeLimit
@Parameter(required=true, description="Number of Pixels a patch of CorePixel must have before its Neighbours are even considered for NeighbourCorePixel. If Size is smaller than minSize the Pixels will be discarded.") public int minNumberOfPixel
@Parameter(required=false, description="Key pointing to a CameraCoordinate[] for star positons, calculate with StarsInFOV") public String starPositionsKey
@Parameter(required=false, defaultValue="11.0", description="Maximum distance of star position to pixel center") public double starRadiusInCamera
@Parameter public boolean showDifferentCleaningSets
public stream.Data process(stream.Data item)
process
in interface stream.Processor
public PixelSet applyTimeMedianCleaning(PixelSet showerPixel, double[] arrivalTime, double timeThreshold)
showerPixel
- arrivalTime
- timeThreshold
- Copyright © 2019. All rights reserved.