public class TwoLevelTimeNeighbor 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 |
|---|
TwoLevelTimeNeighbor() |
| Modifier and Type | Method and Description |
|---|---|
PixelSet |
applyTimeNeighborCleaning(PixelSet showerPixel,
double[] arrivalTime,
double timeThreshold,
int minNumberOfNeighborPixel)
Remove pixels with less than minNumberOfNeighborPixel neighboring shower pixel,
which arrival time differs more than the timeThreshold from the current pixel
|
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 aloud 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(description="Add PixelSets for the different cleaning steps") public boolean showDifferentCleaningSets
public stream.Data process(stream.Data item)
process in interface stream.Processorpublic PixelSet applyTimeNeighborCleaning(PixelSet showerPixel, double[] arrivalTime, double timeThreshold, int minNumberOfNeighborPixel)
showerPixel - arrivalTime - timeThreshold - minNumberOfNeighborPixel - Copyright © 2019. All rights reserved.