Giter Site home page Giter Site logo

tutorials-2014's People

Contributors

kwinkunks avatar mycarta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tutorials-2014's Issues

issue with syntheic data generation

hi
i have an issue if you plz help me out here
when i use the code

area = [5000, 25000, 5000, 25000]
bounds = [0, 30000, 0, 30000, 0, 5000]
mpl_fig = plt.figure()

mpl.axis('scaled')
mpl.square(area)
dike_verts = mpl.draw_polygon(bounds[:4], mpl.gca(), xy2ne=True)
dike_verts
dike = PolygonalPrism(dike_verts, 0, 5000, {'magnetization': 10})
myv.figure(size=(600, 400))
myv.polyprisms([dike], linewidth=2)
myv.axes(myv.outline(bounds), ranges=[b*0.001 for b in bounds], nlabels=3, fmt='%.1f')
myv.wall_north(bounds)
myv.wall_bottom(bounds)
myv.savefig('tmp/model_dike.png')
myv.show()
Image(filename='tmp/model_dike.png')

i receive this error

C:\ProgramData\Anaconda2\lib\site-packages\fatiando\vis\mpl.py:70: UserWarning: This module will be removed in v0.6. We recommend the use of matplotlib.pyplot module directly. Some of the fatiando specific functions will remain.
"specific functions will remain.")
C:\ProgramData\Anaconda2\lib\site-packages\fatiando\vis\myv.py:53: UserWarning: This module will be removed in v0.7.
warnings.warn("This module will be removed in v0.7.")

AttributeError Traceback (most recent call last)
in ()
8 from fatiando.vis import myv, mpl
9 import fatiando
---> 10 print("Using Fatiando a Terra version {0}".format((fatiando.version)))
11 area = [5000, 25000, 5000, 25000]
12 bounds = [0, 30000, 0, 30000, 0, 5000]

AttributeError: 'module' object has no attribute 'version'

i am stuck here would you please help me thanks

Amplitude extraction

Hello! I've been working for a few days with the wedge model code (1412_Tuning_and_AVO/tuning_wedge_v2.py). Thanks for sharing it. I'm not a programmer and it is really helping me.

I would like to share a question and hear your opinion about it: in the algorithm, the graph "thickness vs amplitude" is constructed by extracting the amplitude over the upper time of the modeled wedge layer, that is, a time-slice extraction. However, as the algorithm itself shows, sometimes the seismic reflector mismatches the modeled interface.

So, my question is: wouldn't it be more appropriate to make te code extract the maximum amplitude of the synthetic reflector? By doing this we would be simulating how the amplitude would actually be if the reflector was mapped.

To illustrate, I made this change in the code and generated two figures, comparing this graph to the scenarios:

First, as the code is now:
image

And with the suggested amplitude extraction to the maximum:
image

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.