-
-
Notifications
You must be signed in to change notification settings - Fork 426
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
GSoC Objective-1 Rewrite the TARDIS visualisation module using Panel #2990
base: master
Are you sure you want to change the base?
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
*beep* *bop* 4 F401 [*] `numpy` imported but unused
2 I001 [*] Import block is un-sorted or un-formatted
2 F821 [ ] Undefined name `GrotrianWidget`
1 E999 [ ] SyntaxError: Expected an expression
1 W292 [*] No newline at end of file
Complete output(might be large): .mailmap:1:38: E999 SyntaxError: Expected an expression
docs/analysing_tardis_outputs/visualization/how_to_generating_widgets.ipynb:cell 5:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/analysing_tardis_outputs/visualization/how_to_generating_widgets.ipynb:cell 5:1:17: F401 [*] `panel` imported but unused
docs/analysing_tardis_outputs/visualization/how_to_generating_widgets.ipynb:cell 14:1:20: F821 Undefined name `LineInfoWidget`
docs/analysing_tardis_outputs/visualization/how_to_generating_widgets.ipynb:cell 19:1:23: F821 Undefined name `GrotrianWidget`
tardis/visualization/widgets/shell_info.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/visualization/widgets/shell_info.py:1:20: F401 [*] `tardis.run_tardis` imported but unused
tardis/visualization/widgets/shell_info.py:2:33: F401 [*] `tardis.io.atom_data.download_atom_data` imported but unused
tardis/visualization/widgets/shell_info.py:8:17: F401 [*] `numpy` imported but unused
tardis/visualization/widgets/shell_info.py:391:44: W292 [*] No newline at end of file
Found 10 errors.
[*] 7 fixable with the `--fix` option.
|
*beep* *bop* Hi, human. The Click here to see the build log. |
Parameters | ||
---------- | ||
hdf_fpath : str | ||
A valid path to a simulation HDF file (HDF file must be created | ||
from a TARDIS Simulation object using :code:`to_hdf` method with | ||
default arguments) | ||
|
||
Returns |
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.
Why remove them?
It consists of four interlinked table widgets - shells table; element count, | ||
ion count and level count tables - allowing to explore fractional abundances | ||
all the way from elements, to ions, to levels by clicking on the rows of | ||
tables. | ||
""" |
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.
Same here
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 aimed to make docstring more concise while maintaining clarity,.However, if the additional details are necessary for completeness, I’m open to refining the balance between brevity and informativeness.
Type: 🚀 Feature | ☣️ Breaking Change | 📝 Documentation
🔹 This PR migrates the TARDIS visualization module to Panel, eliminating dependencies on qgrid, qgridnext, and IPython. This transition improves compatibility with Sphinx documentation while maintaining full interactivity.
🔹 The hierarchical dataset is now visualized as interlinked tables using SimulationShellInfo:
Selecting a row in the shell data table dynamically updates the element abundances table.
Further selection in the element abundances table updates additional tables showing ion count and level count.
🔹 The widget is fully operational in:
Jupyter Notebooks (inline execution)
📌 Resources
Full Video [watch here]
https://drive.google.com/drive/folders/1YX5T1tSHyy8AaJRWUM8WE__Y4BRUfObF?usp=sharing
🚦 Testing
How did you test these changes?
☑️ Checklist
build_docs
label