Package clickDetector
Class IDI_DisplayParams
java.lang.Object
clickDetector.IDI_DisplayParams
- All Implemented Interfaces:
Serializable
,Cloneable
,ManagedParameters
Parameters for the IDI Display
- Author:
- Michael Oswald
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the scale of the IDI bins (horizontal axis), in milliseconds/binint
Returns the scale of the IDI bins (horizontal axis), in milliseconds/binint
Gets the highest histogram count in the high-resolution colour barint
Returns the highest IDI bin number (horizontal axis) of the high- resolution histogram, in millisecondsint
Gets the highest histogram count in the low-resolution colour barint
Returns the highest IDI bin number (horizontal axis) of the low- resolution histogram, in millisecondsint
Gets the highest time bin value in the vertical axisGet a set of data that describes all of the parameters in a classstatic long
int
Returns the size (along the vertical axis) of the time bins, in milliseconds.boolean
void
setHighResIdiBinScale
(int idiBin) Sets the size (along the horizontal axis) of the IDI bins, in milliseconds/binvoid
setLowResIdiBinScale
(int idiBin) Sets the size (along the horizontal axis) of the IDI bins, in milliseconds/binvoid
setMaxHighCount
(int maxHighCount) Sets the highest histogram count in the high-resolution colour barvoid
setMaxHighResBin
(int maxHighRes) Sets the highest IDI bin number (horizontal axis) of the high- resolution histogram, in millisecondsvoid
setMaxLowCount
(int maxLowCount) Sets the highest histogram count in the low-resolution colour barvoid
setMaxLowResBin
(int maxLowRes) Sets the highest IDI bin number (horizontal axis) of the low- resolution histogram, in millisecondsvoid
setMaxTimeBin
(int maxTimeBin) Sets the highest time bin value to display in the vertical axisvoid
setOutputFilename
(File outputFilename) void
setSaveOutput
(boolean saveOutput) void
setTimeBinScale
(int timeBin) Sets the size (along the vertical axis) of the time bins, in milliseconds.
-
Field Details
-
serialVersionUID
public static final long serialVersionUIDfor serialization- See Also:
-
-
Constructor Details
-
IDI_DisplayParams
public IDI_DisplayParams()Constructor
-
-
Method Details
-
getHighResIdiBinScale
public int getHighResIdiBinScale()Returns the scale of the IDI bins (horizontal axis), in milliseconds/bin- Returns:
- width of IDI bins in milliseconds/bin
-
setHighResIdiBinScale
public void setHighResIdiBinScale(int idiBin) Sets the size (along the horizontal axis) of the IDI bins, in milliseconds/bin- Parameters:
idiBin
- width of IDI bins in milliseconds/bin
-
getLowResIdiBinScale
public int getLowResIdiBinScale()Returns the scale of the IDI bins (horizontal axis), in milliseconds/bin- Returns:
- width of IDI bins in milliseconds/bin
-
setLowResIdiBinScale
public void setLowResIdiBinScale(int idiBin) Sets the size (along the horizontal axis) of the IDI bins, in milliseconds/bin- Parameters:
idiBin
- width of IDI bins in milliseconds/bin
-
getMaxHighResBin
public int getMaxHighResBin()Returns the highest IDI bin number (horizontal axis) of the high- resolution histogram, in milliseconds- Returns:
- highest IDI bin number of high-res graph, in milliseconds
-
setMaxHighResBin
public void setMaxHighResBin(int maxHighRes) Sets the highest IDI bin number (horizontal axis) of the high- resolution histogram, in milliseconds- Parameters:
maxHighResBin
- highest IDI bin number of high-res graph, in milliseconds
-
getMaxLowResBin
public int getMaxLowResBin()Returns the highest IDI bin number (horizontal axis) of the low- resolution histogram, in milliseconds- Returns:
- highest IDI bin number of low-res graph, in milliseconds
-
setMaxLowResBin
public void setMaxLowResBin(int maxLowRes) Sets the highest IDI bin number (horizontal axis) of the low- resolution histogram, in milliseconds- Parameters:
maxLowRes
- highest IDI bin number of low-res graph, in milliseconds
-
getTimeBinScale
public int getTimeBinScale()Returns the size (along the vertical axis) of the time bins, in milliseconds. This is the value used to set the timer; whenever the timer reaches this value, the histogram data is compiled and displayed as a new line on the chart.- Returns:
- size of time bins, in milliseconds
-
setTimeBinScale
public void setTimeBinScale(int timeBin) Sets the size (along the vertical axis) of the time bins, in milliseconds. This is the value used to set the timer; whenever the timer reaches this value, the histogram data is compiled and displayed as a new line on the chart.- Parameters:
timeBin
- size of the time bins, in milliseconds
-
getMaxHighCount
public int getMaxHighCount()Gets the highest histogram count in the high-resolution colour bar- Returns:
- histogram count corresponding to the red color
-
setMaxHighCount
public void setMaxHighCount(int maxHighCount) Sets the highest histogram count in the high-resolution colour bar- Parameters:
histogram
- count corresponding to the red color
-
getMaxLowCount
public int getMaxLowCount()Gets the highest histogram count in the low-resolution colour bar- Returns:
- histogram count corresponding to the red color
-
setMaxLowCount
public void setMaxLowCount(int maxLowCount) Sets the highest histogram count in the low-resolution colour bar- Parameters:
histogram
- count corresponding to the red color
-
getMaxTimeBin
public int getMaxTimeBin()Gets the highest time bin value in the vertical axis- Returns:
- the largest time bin to display, in milliseconds
-
setMaxTimeBin
public void setMaxTimeBin(int maxTimeBin) Sets the highest time bin value to display in the vertical axis- Parameters:
maxTimeBin
- the largest time bin to display on the vertical axis, in milliseconds
-
getOutputFilename
-
setOutputFilename
-
isOutputSaved
public boolean isOutputSaved() -
setSaveOutput
public void setSaveOutput(boolean saveOutput) -
getSerialVersionUID
public static long getSerialVersionUID() -
getParameterSet
Description copied from interface:ManagedParameters
Get a set of data that describes all of the parameters in a class- Specified by:
getParameterSet
in interfaceManagedParameters
- Returns:
- description of the parameters in a class.
-