public class SlimData extends Object implements ActionListener, CurveListener
Modifier and Type | Field and Description |
---|---|
protected boolean |
allowCurveFit |
protected int |
binRadius |
protected int |
channels |
protected boolean |
computeFWHMs |
protected Class |
curveFitterClass |
protected CurveCollection[] |
curves
Per-pixel curve estimates, dimensioned [channels].
|
protected int |
cutBins |
protected boolean[] |
cVisible |
protected int[][][][] |
data
Actual data values, dimensioned [channel][row][column][bin].
|
protected int |
height |
protected int |
maxPeak |
protected int |
maxWave |
protected int |
minWave |
protected int |
numExp |
protected int |
timeBins |
protected float |
timeRange |
static String |
TITLE |
protected int |
waveStep |
protected int |
width |
Constructor and Description |
---|
SlimData(String id,
ProgressMonitor progress)
Extracts data from the given file.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e)
Handles OK button press.
|
static JTextField |
addRow(JPanel p,
String label,
double value,
String unit) |
float |
binsToPico(float bins)
Converts value in histogram bins to picoseconds.
|
void |
curveChanged(CurveEvent e)
Handles curve collection computation progress.
|
static float |
parse(String s,
float last) |
static int |
parse(String s,
int last) |
float |
picoToBins(float pico)
Converts value in picoseconds to histogram bins.
|
public static final String TITLE
protected int[][][][] data
protected CurveCollection[] curves
protected int width
protected int height
protected int channels
protected int timeBins
protected float timeRange
protected int minWave
protected int waveStep
protected int maxWave
protected int numExp
protected Class curveFitterClass
protected boolean allowCurveFit
protected int binRadius
protected int cutBins
protected int maxPeak
protected boolean computeFWHMs
protected boolean[] cVisible
public SlimData(String id, ProgressMonitor progress) throws FormatException, IOException
FormatException
IOException
public float picoToBins(float pico)
public float binsToPico(float bins)
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
public void curveChanged(CurveEvent e)
curveChanged
in interface CurveListener
public static JTextField addRow(JPanel p, String label, double value, String unit)
public static int parse(String s, int last)
public static float parse(String s, float last)
Copyright © 2015–2022 SciJava. All rights reserved.