Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Add illustration of inhomogeneity from absorption #113
Add illustration of inhomogeneity from absorption #113
Changes from 2 commits
53343f5
c3c0a60
3401b79
aee7dc8
1822947
f361d77
1cf402a
de85d7d
bd985c9
9e0dd35
25a5ea6
7ac6968
7721efb
95cd61d
747a159
0bf788c
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn't look so uniform when you look at the figure... until you look at the colorbar.

Should we use some common colorbar limits for all 3 views?
Also, do we really have to use the heavy instrument view, or could we use 2d scatter plots instead?
You could make z-y plots for the mantle, and x-y plot for the end cap?
The 3d views dramatically increase the size of the docs, and thus the repository itself.
It would also mean that you don't need to mess around with Camera settings...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No I don't think that's important. It's better to keep it simple and to make it look like something they might encounter in their own notebook.
I didn't know that, why does it increase the size of the repo?I see what you mean.
Did you check how much the repo size is increased?
We could make it 2d, it's not good to make the repo cumbersome to download. Byt the 3d view is nicer to play around with.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Took a look at the sizes now, after building the docs locally I have the following files:
So it seems the absorption visualization notebook is significantly smaller than the instrument view notebook.
I also tried cloning
essdiffraction
to check how fast it was to download:Compressed it seems the size (of the current repo) is closer to 10Mb.
Overall I get the impression that it doesn't really matter if we put this file here, it's unlikely to make the repo hard to download for anyone.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
10Mb is a lot. Maybe we should really reduce the size of the instrument view notebook?
It might be nice to play with, but I don't think it adds any information to what we are viewing? I think the views might be clearer in 2D. I will have a go at making them and we can compare.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's just ask Celine if this solves her use-case? Then we don't have to guess and re-implement something that already works.