Skip to content

Running and changing algorithm programmatically via script_127565960

nxi edited this page Apr 9, 2015 · 1 revision

Gumtree : Running and changing algorithm programmatically via script

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
Clone this wiki locally