TrackMateProxy¶
- public class TrackMateProxy¶
The tracking gateway used in scripting to configure and execute tracking in Mastodon scripts.
- Author:
Jean-Yves Tinevez
Methods¶
info¶
- public void info()¶
Prints the current tracking configuration.
infoDetectors¶
- public void infoDetectors()¶
Prints information on the collection of detectors currently usable in Mastodon.
infoLinkers¶
- public void infoLinkers()¶
Prints information on the collection of linkers currently usable in Mastodon.
resetDetectorSettings¶
- public void resetDetectorSettings()¶
Resets the detection settings to their default values.
resetLinkerSettings¶
- public void resetLinkerSettings()¶
Resets the linking settings to their default values.
run¶
- public boolean run()¶
Executes the tracking with current configuration.
- Returns:
true
if tracking completed successful. An error message will be printed otherwise.
setDetectorSetting¶
- public void setDetectorSetting(String key, Object value)¶
Configures one parameter of the current detector. The parameter key and value must be valid for the detector set with
useDetector(String)
, as shown ininfoDetectors()
.- Parameters:
key – the key of the parameter.
value – the value to set for this parameter.
setLinkerSetting¶
- public void setLinkerSetting(String key, Object value)¶
Configures one parameter of the current link. The parameter key and value must be valid for the linkset with
useLinker(String)
, as shown ininfoLinkers())
.- Parameters:
key – the key of the parameter.
value – the value to set for this parameter.
useDetector¶
- public void useDetector(String detector)¶
Configures this tracking session to use the specified detector. Prints an error message if the name is unknown.
- Parameters:
detector – the name of the detector, as returned in
infoDetectors()
.
useLinker¶
- public void useLinker(String linker)¶
Configures this tracking session to use the specified linker. Prints an error message if the name is unknown.
- Parameters:
linker – the name of the linker, as returned in
infoLinkers()
.