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

Make model plots interactive with ipywidgets sliders #31

Closed
7 tasks done
shenvitor opened this issue Jun 21, 2024 · 0 comments · Fixed by #75
Closed
7 tasks done

Make model plots interactive with ipywidgets sliders #31

shenvitor opened this issue Jun 21, 2024 · 0 comments · Fixed by #75
Assignees
Labels
🖱️ DX Improvements to the Developer Experience Epic Collection of issues ✨ Feature New feature added to the package

Comments

@shenvitor
Copy link
Member

shenvitor commented Jun 21, 2024

Make the model visualisations from #13, #28, and #29 interactive with ipywidgets.

For some examples of how to use ipywidgets see this search result on the ComPWA website the examples on the ampform-dpd website, e.g. this one). The examples only show the main idea of ipywidgets plus plotting; some translation will have to be done for what how we want to visualise the models exactly.

There are three types of widgets+matplotlib cells that need to be implemented:

  1. 1D histogram
  2. 2D histogram
  3. Line plots (e.g. Argand and BW lineshape plots)

Best to start with the notebook that was implemented in #17 ($p\gamma \to p \pi^0 \eta$: the model has the smallest number of parameters and it only contains 1D histograms.

Related PRs

  1. 📝 Docs
    redeboer shenvitor
  2. 📝 Docs
    shenvitor
  3. 📝 Docs
    shenvitor
  4. ✨ Feature 📝 Docs
    shenvitor
  5. ⚙️ Enhancement
    shenvitor
  6. ⚙️ Enhancement ✨ Feature
    shenvitor
  7. 4 of 4
    ⚙️ Enhancement
    shenvitor
@shenvitor shenvitor added the ✨ Feature New feature added to the package label Jun 21, 2024
@shenvitor shenvitor added 📝 Docs Improvements or additions to documentation and removed ✨ Feature New feature added to the package labels Jun 21, 2024
@redeboer redeboer removed their assignment Jun 21, 2024
@redeboer redeboer changed the title Add widget for scrolling around parameter valures Add widget for scrolling around parameter values Jun 25, 2024
@redeboer redeboer changed the title Add widget for scrolling around parameter values Add widget for investigating model behavior Jul 22, 2024
@redeboer redeboer changed the title Add widget for investigating model behavior Make model plots interactive with ipywidgets sliders Aug 1, 2024
@redeboer redeboer added Epic Collection of issues ✨ Feature New feature added to the package 🖱️ DX Improvements to the Developer Experience and removed 📝 Docs Improvements or additions to documentation labels Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🖱️ DX Improvements to the Developer Experience Epic Collection of issues ✨ Feature New feature added to the package
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants