Standalone Firefly Tools with an embedded Tomcat 7 No additional dependencies besides Java 1.8
Where is it? OR then click ‘releases’ tab
Steps Download fftools-exec.war from github Override properties with./config/fftools/app.prop Launch Firefly Server: java -jar fftools-exec.war
Options java -jar fftools-exec.war --help -extractDirectory -httpPort -Xmx -Dserver_config_dir=
External Task Launcher allows Firefly to get Image, Table or JSON from an external process allows user to extend Firefly server capabilities
Python Launcher – now and then For now, Python launcher is an executable on the same machine started with the same UID as Firefly server Later, Python launcher is local or remote need to handle both scenarios
Sample Python Task Launcher at Firefly Github src/firefly/python/SamplePythonLauncher.py Illustrates communication protocol between Firefly and Python code: -d DIR work directory -i FILE json file with task params -n TASK task name (no spaces) -o DIR output file directory
Setting Python Launcher Location Override the property: config/fftools/app.prop python.exe= python Pass it to Firefly Tools with embedded Tomcat: java -httpPort Xmx8g -jar fftools-exec.war -Dserver_config_dir=./config
JavaScript API Image Viewer with an image from external task Table or XY Plot Viewer with a table from external task Getting JSON data from an external task and passing them to - Firefly widget - another JS visualization tool
JavaScript API: JSON
Documentation On LSST Firefly Github: Check “Adding Python Launcher to Firefly”
JavaScript API: FITS
JavaScript API: Table