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

update notebooks to lcviz 0.4.2 #5

Merged
merged 1 commit into from
Aug 23, 2024
Merged

update notebooks to lcviz 0.4.2 #5

merged 1 commit into from
Aug 23, 2024

Conversation

kecnry
Copy link
Owner

@kecnry kecnry commented Aug 21, 2024

as well as some general cleanup to use public API calls, etc.

@kecnry kecnry requested a review from bmorris3 August 21, 2024 17:30
Copy link
Collaborator

@bmorris3 bmorris3 left a 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",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"plot_options.layer = 'HAT-P-7 Q3'\n",
"plot_options.layer = 'HAT-P-7'\n",

Copy link
Owner Author

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",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"plot_options.layer = 'binned HAT-P-7 Q3:default'\n",
"plot_options.layer = 'binned HAT-P-7:default'\n",

@kecnry kecnry merged commit d79b4ad into main Aug 23, 2024
@kecnry kecnry deleted the updates-0.4.x branch August 23, 2024 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants