Running and changing algorithm programmatically via script_127565960 - Gumtree/gumtree GitHub Wiki
Created by Tony Lam, last modified on Aug 13, 2009
cam = CicadaDOM()
# Load the Echidna reduction algorithm
algorithm = cam.loadAlgorithm('Data Reduction V 1.4')
# Turn off angular correction programmatically
cam.setTuner('frame_stitchcorrect', Boolean.FALSE)
# To to Kakadu perspective
KakaduUI.openKakaduPerspective()
# Load an echidna dataset
KakaduUI.addDataSourceFile("C:\\Data\\ECH0002305.nx.hdf")
# Run the algorithm
KakaduUI.runAlgorithm(algorithm)
Document generated by Confluence on Apr 01, 2015 00:11