Skip to content
Snippets Groups Projects
Commit 04d14853 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

DOC: update CookBook with Get/SetParameters()

parent e5361790
No related branches found
No related tags found
1 merge request!16Param dict python
......@@ -56,6 +56,15 @@ application, changing the algorithm at each iteration.
# This will execute the application and save the output file
app.ExecuteAndWriteOutput()
If you want to handle the parameters from a Python dictionary, you can use the
functions *SetParameters()* and *GetParameters()*.
.. code-block:: python
params = {"in":"myInput.tif", "type.mean.radius":4}
app.SetParameters(params)
params2 = app.GetParameters()
Numpy array processing
----------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment