Skip to content

Add keyword argument for the initial guess with DEM solvers #409

Description

@namurphy

Description

Add a keyword argument within XRTDEMIterative or XRTDEMIterative.solve() (being added in #367) to provide an initial guess (starting point) for the DEMs.

Motivation

To test consistency between the IDL and Python implementations of the DEM, it would be helpful to take the best solution from IDL, and put it as an initial guess for Python. If the Python implementation continues to converge to the best solution from IDL, then that would show that there is good consistency between the solutions.

For users, it would be helpful to be able to provide an initial guess if the algorithm is having trouble with the provided initial guess (since minimization algorithms are sometimes sensitive to the initial guess).

Implementation

In #367, I believe this can be done around init_log_dem and XRTDEMIterative._estimate_initial_dem().

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions