SNTUtils Class Documentation#
Package: sc.fiji.snt
Static utilities for SNT
Methods#
Getters Methods#
- static getBackupCopies(File)
Retrieves a list of time-stamped backup files associated with a TRACES file
- static getContext()
Convenience method to access the context of the running Fiji instance
- static getDecimalFormat(double, int)
- static getElapsedTime(long)
- static getInstance()
- static getPluginInstance()
- static getReadableVersion()
- static getReconstructionFiles(File, String)
Retrieves a list of reconstruction files stored in a common directory matching the specified criteria.
- static getSanitizedUnit(String)
- static getTimeStamp()
- static getUniquelySuffixedFile(File, String)
- static getUniquelySuffixedTifFile(File)
- static isContextSet()
- static isDebugMode()
Assesses if SNT is running in debug mode
- static isReconstructionFile(File)
Setters Methods#
- static setContext(Context)
- static setDebugMode(boolean)
Enables/disables debug mode
- static setIsLoading(boolean)
Visualization Methods#
- static addViewer(Viewer3D)
- static removeViewer(Viewer3D)
I/O Operations Methods#
- static downloadToTempFile(String)
Downloads a file from the specified URL to a temporary file
Other Methods#
- static buildDate()
Retrieves Sholl Analysis implementation date
- static csvQuoteAndPrint(PrintWriter, Object)
- static error(String, Throwable)
- static extractReadableTimeStamp(File)
- static fileAvailable(File)
- static findClosestPair(File, String)
- static formatDouble(double, int)
- static log(String)
- static randomPaths()
Generates a list of random paths. Only useful for debugging purposes
- static startApp()
Convenience method to start up SNT’s GUI.
- static stripExtension(String)