Closed dylanmikesell closed 1 year ago
The error is pretty straightforward, you need to define the arrays period
and velocity
first before calling
curves = [Curve(period, velocity, 0, "rayleigh", "phase")]
These arrays correspond to one measured dispersion curve you want to invert.
For a working example, refer to the script .github/sample.py
.
Description of the problem
I tried to run your example on the github page by directly copying and running. There is no "period" variable and hence the call to Curve() fails. Can you please provide a working example so I can see how your code is running? I would like to try your method with my own data, but there is no working example on your site.
Full code that generated the error
Full error message
System information