-
Notifications
You must be signed in to change notification settings - Fork 2
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
Open
jokasimr
wants to merge
9
commits into
main
Choose a base branch
from
display-transmission
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
53343f5
add illustration of inhomogeneity from absorption
jokasimr c3c0a60
fix: move visualization to separate notebook
jokasimr 3401b79
fix: text in notebook
jokasimr aee7dc8
Merge branch 'main' into display-transmission
jokasimr 1822947
docs: add to index
jokasimr f361d77
Merge branch 'display-transmission' of github.com:scipp/essdiffractio…
jokasimr 1cf402a
docs: change title and add disk section
jokasimr de85d7d
fix
jokasimr bd985c9
Merge branch 'main' into display-transmission
jokasimr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
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.