-
Notifications
You must be signed in to change notification settings - Fork 1
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
update notebooks to lcviz 0.4.2 #5
Conversation
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.
I'm approving with just one edit that you need before it's merged.
In the short cadence notebook, you give a data label to the stitched light curve, but try to edit the plot options on a layer that used to exist when we loaded quarters separately, causing a failure:
ValueError: HAT-P-7 Q3 not one of ['HAT-P-7', 'binned HAT-P-7:default'], reverting selection to HAT-P-7
I've made suggestions to fix this.
Should we consider putting this repo as a submodule in the lcviz repo?
"\n", | ||
"plot_options = lcviz.plugins['Plot Options']\n", | ||
"plot_options.viewer = 'flux-vs-phase:default'\n", | ||
"plot_options.layer = 'HAT-P-7'\n", | ||
"plot_options.layer = 'HAT-P-7 Q3'\n", |
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.
"plot_options.layer = 'HAT-P-7 Q3'\n", | |
"plot_options.layer = 'HAT-P-7'\n", |
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.
hmmm are you on main or 0.4.2? I am pretty sure I ran this through and the quarter was appended to the input data-label. (0.4.x does not have spacetelescope/lcviz#120)
"plot_options.marker_opacity = 0.1\n", | ||
"plot_options.marker_size = 1\n", | ||
"\n", | ||
"plot_options.layer = 'binned HAT-P-7:default'\n", | ||
"plot_options.layer = 'binned HAT-P-7 Q3:default'\n", |
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.
"plot_options.layer = 'binned HAT-P-7 Q3:default'\n", | |
"plot_options.layer = 'binned HAT-P-7:default'\n", |
as well as some general cleanup to use public API calls, etc.