improve efficency of least_squares algorithm for speed increase
Arrange quad tree algorithm so that all datapoints contribute to interpolation matrix A, without having to set the expand search flag to true.
Currently this is fixed by expand search but that can be very slow.
Need e.g. algorithm for searching neighbouring treenodes.
Change History (9)
| Milestone: |
AnuGA ready for release →
least_squares module finished
|
| Description: |
modified (diff)
|
| Description: |
modified (diff)
|
| Description: |
modified (diff)
|
| Summary: |
least_squares fit does not always use all datapoints →
improve efficency of least_squares algorithm for speed increase
|
| Severity: |
normal →
enhancement
|
| Component: |
Compilation and installation →
Efficiency and optimisation
|
| Resolution: |
→ fixed
|
| Status: |
assigned →
closed
|
The slowness occurs when expand_search is True and cropping is False. This can happen when you want to fit a mesh to grid points. There will be no values to the grid points outside of the mesh.
A solution would be to always crop and return the cropped points, so they aren't lost.