ytree-project / ytree

A yt-based merger-tree code.
Other
15 stars 10 forks source link

Add some plotting examples and improve examples documentation. #142

Closed brittonsmith closed 2 years ago

brittonsmith commented 2 years ago

PR Summary

Following @manodeep's comment in PR #138, this adds a couple plotting examples to the docs.

This has now grown to include a few more things:

PR Checklist

manodeep commented 2 years ago

May I request more mergertree identification/plots :)

How does one plot the mergertree(s) for halos that pass certain criteria at different redshifts? For example:

brittonsmith commented 2 years ago

May I request more mergertree identification/plots :)

Yes, but perhaps in another PR. Vacation's just about over. Can you create a new issue with these? 1 and 3 are good, related, and people have asked me about this sort of thing. 2 is less well defined and we don't have any sample data to demonstrate with and test.

brittonsmith commented 2 years ago

Ok, the tests are passing and I'm happy with the initial examples. On top of the two plotting examples, I mainly wanted to get the framework in place for showing them in the docs and running them in the test suite. I'll merge this now, but I'm happy to add more examples later.