JMNocquet / pyeq36

Static and full time-dependent inversion of slip at faults from geodetic data
4 stars 0 forks source link

pyeq_parametrize_surface_curve.py and pyeq_make_green.py too slow #9

Open JMNocquet opened 3 years ago

JMNocquet commented 3 years ago

As the number of subfaults becomes large (~1000), these two script become very slow. This is partly due to loop on subfaults. All gmt reading should be done at once instead of trhough a loop scipy.spatial.matrixdistance could also help to spped up the computation of the distance matrix