Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

taup: added a time plot -- analogue to the existing ray path plot #1877

Merged
merged 49 commits into from Oct 9, 2017

Commits on Sep 6, 2017

  1. Copy the full SHA
    6af9a64 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2017

  1. Copy the full SHA
    6506ac2 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    4faa0b8 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    46e5e58 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    faa6f7b View commit details
    Browse the repository at this point in the history
  5. Added "phases" to the doc string, and formatted the doc string to mat…

    …ch the convention in obspy.
    Kasper Van wijk committed Sep 7, 2017
    Copy the full SHA
    02f5c27 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2017

  1. Copy the full SHA
    c1bc501 View commit details
    Browse the repository at this point in the history
  2. Fixed format stuff.

    kaspervanwijk committed Sep 8, 2017
    Copy the full SHA
    de26df2 View commit details
    Browse the repository at this point in the history
  3. added import of traveltime_plot, so that we can use:

    "from obspy.taup import traveltime_plot"
    
    added add a short paragraph with timeplot method and traveltime_plot() function
    to the docstring.
    Kasper Van wijk committed Sep 8, 2017
    Copy the full SHA
    abf42a5 View commit details
    Browse the repository at this point in the history
  4. - changed source_depth to an argument (no obvious default value)

    - removed redundant "optional" to kwargs with default values
    - fixed the default mention on the model parameter (not on type)
    - fixed typo in call to example plot
    Kasper Van wijk committed Sep 8, 2017
    Copy the full SHA
    75d24ba View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    05650b4 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    430fdda View commit details
    Browse the repository at this point in the history
  7. adjusted this file to reflect the new traveltime__plot() method and w…

    …rapper function.
    Kasper Van wijk committed Sep 8, 2017
    Copy the full SHA
    3fa2308 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2017

  1. Added a timeplot() method for travel times to go parallel with the pl…

    …ot() method for ray paths. Added convenience wrapper functions for both.
    
    In the test_plotting and tutorial, I added these new features and streamlined some naming conventions, so that the file names of these plots
    more accurately represent what is in them.
    Kasper Van wijk committed Sep 14, 2017
    Copy the full SHA
    d26d964 View commit details
    Browse the repository at this point in the history
  2. Replaced occurances of

    +ax = plt.subplot(111, polar=True)
    +fig = ax.figure
    
    to
    
    fig, ax = plt.subplots(polar=True)
    
    in docs of tau.py and in the code snippet ray_path_plot.py
    Kasper Van wijk committed Sep 14, 2017
    Copy the full SHA
    8f0806e View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2017

  1. Added the plot_times() method, and therefore renamed the plot() metho…

    …d to plot_rays(). New convenience functions travel_time_plot() and ray_path_plot() wrap around the respective methods. The Gallery and testing environments contain new examples to illustrate these.
    Kasper Van wijk committed Sep 21, 2017
    Copy the full SHA
    8b4b675 View commit details
    Browse the repository at this point in the history
  2. For consistency, changed the name of the tutorial script for the ray …

    …path plot.
    Kasper Van wijk committed Sep 21, 2017
    Copy the full SHA
    63011e4 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2017

  1. Copy the full SHA
    d3c9a4c View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2017

  1. test images now created with tab20 colors from mpl 2.0.2.

    Kasper Van wijk committed Sep 23, 2017
    Copy the full SHA
    72d7ec2 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2017

  1. went back to the "Paired" colormap, as this one is backwards compatib…

    …le for mpl <2.0.2.
    Kasper Van wijk committed Sep 26, 2017
    Copy the full SHA
    f717099 View commit details
    Browse the repository at this point in the history
  2. Changed the name of the code snippet plot_ray_paths.py to match the …

    …name of the method (and to be consistent with the method and snippet plot_travel_times.py.
    Kasper Van wijk committed Sep 26, 2017
    Copy the full SHA
    5e90241 View commit details
    Browse the repository at this point in the history
  3. matched the wording in gallery.rst with the new name of the code snip…

    …pet plot_ray_paths.py
    Kasper Van wijk committed Sep 26, 2017
    Copy the full SHA
    c593b18 View commit details
    Browse the repository at this point in the history
  4. Reversed to the same hard-coded colors as in the past.

    Kasper Van wijk committed Sep 26, 2017
    Copy the full SHA
    3d34c70 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2017

  1. fixed some broken links and updated the tutorial.

    Kasper Van wijk committed Sep 27, 2017
    Copy the full SHA
    9f23eaf View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    6056434 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2017

  1. forgot to run the runtest, and found some doc build failures. Hopeful…

    …ly fixed now!
    Kasper Van wijk committed Sep 28, 2017
    Copy the full SHA
    f9431ed View commit details
    Browse the repository at this point in the history
  2. had a few gallery images that were too large.

    Kasper Van wijk committed Sep 28, 2017
    Copy the full SHA
    9c63d4b View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2017

  1. improved color schemes for ray path plots and fixed a bug to do with …

    …negative epicentral distances.
    Kasper Van wijk committed Oct 5, 2017
    Copy the full SHA
    57f9c1e View commit details
    Browse the repository at this point in the history
  2. amended the docstring to plot_rays(), explaining what will be plotted…

    … by default. Also increased the distance between symbol phase name label slightly, so it holds up on a smaller figure.
    Kasper Van wijk committed Oct 5, 2017
    Copy the full SHA
    2de9356 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2017

  1. Copy the full SHA
    f91ec12 View commit details
    Browse the repository at this point in the history
  2. avoid 1-tuple as default for a kwarg, think using None and setting

    default internally is nicer
    megies committed Oct 6, 2017
    Copy the full SHA
    8c7d776 View commit details
    Browse the repository at this point in the history
  3. add plot_all option to taup travel time plot (to suppress having

    traveltimes for both directions at individual epidistance, i.e. the
    normal Jeffreys/Bullen plot style)
    megies committed Oct 6, 2017
    Copy the full SHA
    5b36737 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    f872abb View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    58f317a View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    5db7f1f View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    ef5e58d View commit details
    Browse the repository at this point in the history
  8. update taup plot tests

    megies committed Oct 6, 2017
    Copy the full SHA
    3efc10c View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    27f14eb View commit details
    Browse the repository at this point in the history
  10. flake8

    megies committed Oct 6, 2017
    Copy the full SHA
    b849c90 View commit details
    Browse the repository at this point in the history
  11. Copy the full SHA
    b9e5b96 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2017

  1. Copy the full SHA
    cc1d4d7 View commit details
    Browse the repository at this point in the history
  2. taup ray path plotting: warn if provided axes doesn't match the selected

    plot type (Spherical/cartesian)
    megies committed Oct 7, 2017
    Copy the full SHA
    a2fd7bd View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    d99183a View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    fb42ed8 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    ab62644 View commit details
    Browse the repository at this point in the history
  6. add new test base line image

    megies committed Oct 7, 2017
    Copy the full SHA
    f37f531 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    b9e2a94 View commit details
    Browse the repository at this point in the history
  8. ImageComparison decorator: add option to deactivate imgur upload

    this can be used in tests that should fail and then might attempt to
    upload images which takes several seconds and is totally unwanted in
    this case
    megies committed Oct 7, 2017
    Copy the full SHA
    0d82278 View commit details
    Browse the repository at this point in the history
  9. taup plots: fix ax/fig setup that i garbled in one of the earlier com…

    …mits
    
    also sanitize ax/fig kwarg handling in one routine
    megies committed Oct 7, 2017
    Copy the full SHA
    a477f7d View commit details
    Browse the repository at this point in the history