public class PulseSizeCalculator extends Object implements stream.Processor
| Modifier and Type | Field and Description |
|---|---|
String |
arrivalTimeKey |
String |
key |
String |
outputKey |
int |
width |
| Constructor and Description |
|---|
PulseSizeCalculator() |
| Modifier and Type | Method and Description |
|---|---|
double[] |
calculateSizes(int pix,
int roi,
double[] data,
int[][] arrivalTimes) |
stream.Data |
process(stream.Data item) |
@Parameter(required=true) public String key
@Parameter(required=true) public String outputKey
@Parameter(required=true) public String arrivalTimeKey
@Parameter(required=true) public int width
public stream.Data process(stream.Data item)
process in interface stream.Processorpublic double[] calculateSizes(int pix,
int roi,
double[] data,
int[][] arrivalTimes)
pix - Pixel to checkroi - Basically the number of slices in one eventdata - the array which to checkCopyright © 2019. All rights reserved.