MABeeskow / GebPy

GebPy is a Python-based, open source tool for the generation of geological data of minerals, rocks and complete lithological sequences. The data can be generated randomly or with respect to user-defined constraints, for example a specific element concentration within minerals and rocks or the order of units within a complete lithological profile.
GNU Lesser General Public License v3.0
25 stars 3 forks source link

Issue in running code #2

Open AhmedAlHeety opened 3 years ago

AhmedAlHeety commented 3 years ago

Dear Beeskovow thank you for sharing this amazing code..

I have an issue when I running code: TypeError Traceback (most recent call last)

in 4 dataT0 = data.calculatet0() 5 data = seismics(dataReflection) ----> 6 dataTrace = data.calculateTrace() 7 # data = seismics(dataWavelet) 8 # dataWiggle = data.seismic_wiggle() ~\Desktop\GebPy-master\modules\geophysics.py in calculateTrace(self) 110 # input = reflection 111 widths = np.arange(1, len(self.input)+1) --> 112 cwt, freq = pywt.cwt(self.input, widths, "mexh", method="conv") 113 data = [cwt, freq] 114 # TypeError: cwt() got an unexpected keyword argument 'method'
MABeeskow commented 3 years ago

Oh sorry, I forgot that there are still some code snippets that do not work at the moment. I want to continue the seismic part when I have finished the generation of "borehole" data for a 2D grid. But thank you very much for your feedback!