LoopStructural
LoopStructural copied to clipboard
[Question] ImportError: cannot import name 'strike_dip_vector' from 'LoopStructural.utils.helper'
Hello, while conducting the finite fault example code, I encountered an error when trying to import the 'strike_dip_vector' function. I have checked all the files but cannot seem to find this function. Has the function name or its location been changed?
Hi @Keven-Gao, the function has changed names. If you replace line 4 with the following it should work.
from LoopStructural.utils import strikedip2vector as strike_dip_vector