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

Create a new subpackage for jupyter-widgets and add shell info widgets #1166

Merged
merged 25 commits into from
Jun 23, 2020
Merged
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
ec3bc00
Create a widgets submodule
jaladh-singhal May 26, 2020
1539ad9
Creat a class for shell info with functions to extract tables data
jaladh-singhal May 27, 2020
b8a8d1e
Put all shell info widget code in its class
jaladh-singhal May 28, 2020
20a5d55
Debugged several logical errors in code due to copying
jaladh-singhal May 29, 2020
5c73269
Import main ShellInfoWidget class in init.py
jaladh-singhal May 29, 2020
3a8ca09
Removed default simulation argument from ShellInfoWidget class
jaladh-singhal May 29, 2020
812a90d
Created one method for creating 4 different table widgets in init
jaladh-singhal May 29, 2020
ae17ab7
Separated shell info data into HDF and Simulation child class
jaladh-singhal Jun 1, 2020
ba731f6
Made ShellInfoWidget work with both HDF & simulation object
jaladh-singhal Jun 2, 2020
0592a0e
Imputed NaN count values wih 0
jaladh-singhal Jun 2, 2020
68e0d61
Fixed settingwithcopy error in Z_count_table
jaladh-singhal Jun 3, 2020
5fd3ef3
Added widgets notebook to be put in docs and shell info demo gif
jaladh-singhal Jun 3, 2020
84aa842
Refactored Z to element and atomic_num to respect PEP8
jaladh-singhal Jun 3, 2020
07d7899
Added docstrings to multiple functions and classes
jaladh-singhal Jun 3, 2020
9335d4b
Converted 2 interdependent optional args of create_table_widget as 1 …
jaladh-singhal Jun 4, 2020
932698c
Added some docstrings and improved signature of display function
jaladh-singhal Jun 5, 2020
5f808db
Updated the way of accessing shell info widget from hdf and simulation
jaladh-singhal Jun 5, 2020
a11ca62
Added unit tests for shwll info data
jaladh-singhal Jun 9, 2020
df4cbb7
Added tests for ion_count and element_count
jaladh-singhal Jun 9, 2020
72de327
Added tests for shell info widget
jaladh-singhal Jun 11, 2020
19fad50
Added qgrid to tardis env file
jaladh-singhal Jun 12, 2020
f2ed5c3
Added jupyter-widgets notebook to index
jaladh-singhal Jun 13, 2020
dbb1200
Several fixes to docstrings
jaladh-singhal Jun 18, 2020
c6e85bf
Fixed typo in widgets notebook
jaladh-singhal Jun 18, 2020
ff70c2b
Applied black formatter to cover all pep8 changes
jaladh-singhal Jun 23, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added docs/running/images/shell-info-widget-demo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6,710 changes: 6,710 additions & 0 deletions docs/running/jupyter-widgets.ipynb

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions tardis/widgets/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from tardis.widgets.base import shell_info_from_simulation, shell_info_from_hdf
Loading