Trees | Indices | Help |
|
---|
|
Class for interfacing with the program Dasha.
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
Function for creating the Dasha script. Keyword Arguments ~~~~~~~~~~~~~~~~~ algor: The minimisation algorithm. dir: The directory to place the files. force: A flag which if set to True will cause the results file to be overwritten if it already exists. Description ~~~~~~~~~~~ The script file created is called 'dir/dasha_script'. Optimisation algorithms ~~~~~~~~~~~~~~~~~~~~~~~ The two minimisation algorithms within Dasha are accessible through the algor argument which can be set to: 'LM' - The Levenberg-Marquardt algorithm. 'NR' - Newton-Raphson algorithm. For Levenberg-Marquardt minimisation, the function 'lmin' will be called, while for Newton -Raphson, the function 'min' will be executed. |
Function for executing Dasha. Keyword Arguments ~~~~~~~~~~~~~~~~~ dir: The directory to place the files. force: A flag which if set to True will cause the results file to be overwritten if it already exists. binary: The name of the executable Dasha program file. Execution ~~~~~~~~~ Dasha will be executed as $ dasha < dasha_script | tee dasha_results If you would like to use a different Dasha executable file, change the keyword argument 'binary' to the appropriate file name. If the file is not located within the environment's path, include the full path in front of the binary file name. |
Function for extracting data from the Dasha results file. Keyword Arguments ~~~~~~~~~~~~~~~~~ dir: The directory where the file 'dasha_results' is found. |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Apr 10 13:31:50 2013 | http://epydoc.sourceforge.net |