public class PulseMaxAmplitude extends Object implements stream.Processor
modified by Katie Gray (kathryn.gray@tu-dortmund.de) from MaxAmplitudePosition
Modifier and Type | Field and Description |
---|---|
String |
key |
String |
outputKey |
String |
pulsePositionKey |
Constructor and Description |
---|
PulseMaxAmplitude() |
Modifier and Type | Method and Description |
---|---|
int[] |
findMaximumPositions(int pix,
int roi,
double[] data,
int[][] pulsePositions)
finds the position of the highest value in the pulse.
|
stream.Data |
process(stream.Data item) |
@Parameter(required=true) public String key
@Parameter(required=true) public String outputKey
@Parameter(required=true) public String pulsePositionKey
public stream.Data process(stream.Data item)
process
in interface stream.Processor
public int[] findMaximumPositions(int pix, int roi, double[] data, int[][] pulsePositions)
pix
- Pixel to checkroi
- Basically the number of slices in one eventdata
- the array which to checkCopyright © 2019. All rights reserved.