-
-
Notifications
You must be signed in to change notification settings - Fork 431
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
Add modified Kromer plot to work with widgets #1241
Add modified Kromer plot to work with widgets #1241
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1241 +/- ##
==========================================
- Coverage 72.38% 70.04% -2.34%
==========================================
Files 66 67 +1
Lines 5098 5312 +214
==========================================
+ Hits 3690 3721 +31
- Misses 1408 1591 +183
Continue to review full report at Codecov.
|
4355fa1
to
c9ead8e
Compare
e412547
to
27f98ea
Compare
238bca6
to
f1d18c6
Compare
37059ba
to
25089cf
Compare
25089cf
to
aac6314
Compare
aac6314
to
cc0303e
Compare
cc0303e
to
bcce86a
Compare
Does not depend on minimal_model and contains data of both real & virtual mode
This uses tardis-sn/tardisanalysis#35 Co-authored-by: Marc Williamson <[email protected]>
And created a spectrum_frequency as a separate property for storing bins[:-1]
And for finding mid point to plot hidden scatter trace in center
bcce86a
to
af4380a
Compare
should be a quantity having units of Angstrom, containing two | ||
values - lower lambda and upper lambda i.e. | ||
[lower_lambda, upper_lambda] * u.AA | ||
distance : astropy.Quantity |
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.
@marxwillia test that the distance actually works.
self.plot_frequency = self.data[packets_mode].spectrum_frequency | ||
|
||
# Filter their plottable range based on packet_wvl_range specified | ||
if packet_wvl_range: |
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.
Plan is to merge, make a separate issue, fix any colormap bugs in separate PR.
…plot Add modified Kromer plot to work with widgets
This PR adds Kromer plot from tardisanalysis in simplified structure so that it can work with widgets being developed. The main changes made are:
To-dos
Note
Since this PR is already pretty bulky, documentation notebook and unit tests will be added in separate PR