create(self,
run=None,
algor=' LM ' ,
dir=None,
force=0)
| source code
|
Function for creating the Dasha script.
Keyword Arguments
~~~~~~~~~~~~~~~~~
run: The name of the run.
algor: The minimisation algorithm.
dir: The directory to place the files. The default is the value of 'run'.
force: A flag which if set to 1 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 minisation, the function 'lmin' will be called, while for Newton
-Raphson, the function 'min' will be executed.
|