This procedure is simply a thin wrapper around IDL's native Powell routine. It takes the name of a cost function and a parameter vector and passes back the optimised parameter vector to the client. It is used interally by the AlignVolumes routine.
Syntax
PowellMinimisation, CostFunction, Parameters
Arguments
CostFunction
Name of a user-defined IDL function that takes a parameter vector and returns a scalar. This routine will seek the set of parameters that minimises the value returned.
Parameters
Vector containing cost function parameters. On entry, this should contain an initial guess at the optimum parameter values. On exit, it will contain the parameters that minimise the return value of the nominated cost function.
PowellMinimisation