public class BasicCleaning extends Object
| Modifier and Type | Field and Description |
|---|---|
CalibrationService |
calibService |
protected PixelSet |
notUsablePixelSet |
| Constructor and Description |
|---|
BasicCleaning() |
| Modifier and Type | Method and Description |
|---|---|
PixelSet |
addCorePixel(PixelSet showerPixel,
double[] photonCharge,
double corePixelThreshold,
ZonedDateTime eventTimeStamp)
Add all pixel with a weight > corePixelThreshold to the showerpixel list.
|
void |
addLevelToDataItem(PixelSet showerPixel,
String name,
stream.Data item) |
PixelSet |
addNeighboringPixels(PixelSet showerPixel,
double[] photonCharge,
double neighborPixelThreshold,
ZonedDateTime eventTimeStamp)
add all neighboring pixels of the core pixels, with a weight > neighborPixelThreshold to the showerpixellist
|
PixelSet |
removeSmallCluster(PixelSet showerPixel,
int minNumberOfPixel)
Remove all clusters of pixels with less than minNumberOfPixel pixels in the cluster
|
PixelSet |
removeStarIslands(PixelSet showerPixel,
CameraCoordinate starPosition,
PixelSet starSet,
double starRadiusInCamera,
org.slf4j.Logger log)
Remove pixel clusters which contains only pixels around a star
|
void |
setCalibService(CalibrationService calibService) |
@Service(required=true) public CalibrationService calibService
protected PixelSet notUsablePixelSet
public PixelSet addCorePixel(PixelSet showerPixel, double[] photonCharge, double corePixelThreshold, ZonedDateTime eventTimeStamp)
showerPixel - photonCharge - corePixelThreshold - public PixelSet addNeighboringPixels(PixelSet showerPixel, double[] photonCharge, double neighborPixelThreshold, ZonedDateTime eventTimeStamp)
showerPixel - photonCharge - public PixelSet removeSmallCluster(PixelSet showerPixel, int minNumberOfPixel)
showerPixel - minNumberOfPixel - public PixelSet removeStarIslands(PixelSet showerPixel, CameraCoordinate starPosition, PixelSet starSet, double starRadiusInCamera, org.slf4j.Logger log)
showerPixel - starPosition - starSet - PixelOverlay which contains the pixels around the starstarRadiusInCamera - Radius around the star position, which defines, which pixels are declared as star pixellog - public void addLevelToDataItem(PixelSet showerPixel, String name, stream.Data item)
public void setCalibService(CalibrationService calibService)
Copyright © 2019. All rights reserved.