-
Notifications
You must be signed in to change notification settings - Fork 6
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
Metadata #70
Conversation
…y range, undo label)
…pt layout (3 table widgets).
… for output csv files
I will test as soon as I can, but I am very busy the next few days. |
At first pass, it looks like the metadata processor is looking for header items that will definitely not be present in SDSS data:
In addition, line 263 in this snippet:
makes the assumption that the loop in lines 261-262 is always successful. This is not guaranteed even for DESI data, especially as we churn through constant commissioning & SV |
This was a bug, two variable names for one ( |
I'm getting a JavaScript error after loading prospect with SDSS data. It appears that some object in this line from update_plot.js is not actually defined:
Among other things, this prevents advancing from one spectrum to the next. |
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 noted a serious error in my previous comment on the main PR discussion page. I have a few more minor comments in this review.
…table 'table_z': now works with SDSS.
You're right, zcatalog-related metadata were not properly implemented in the case of SDSS. This time I tested the viewer on SDSS data, based on the notebook in doc/nb/Prospect_specutils.ipynb. From what I can see it works well. |
Thank you @armengau, I will test later today. |
I found no problems with my own tests this time. Merge when ready. |
- Restructure "metadata" handling ie. code around
viewer_cds.cds_targetinfo
, now renamedviewer_cds.cds_metadata
. Now much more metadata can be included, and are handled in a hopefully clean way.- Associated DataTables are handled in
viewer_widget.add_metadata_tables
: 3 or 4 DataTables are displayed, instead of one. Metadata to be displayed in the most visible table can be chosen with the option top_metadata=...- This solves several github issues.
- Bug fixes in archetypes.
- Plot display: overlap_band; O-II zoom region; legend (legend outside plot: prototype, deactivated by default, before more feedback by VI people)
- Make specutils dependency optional, with try..except on import.
- Update "major" emission lines.
- Renamed internal variables vi_class* to vi_quality*