-
Notifications
You must be signed in to change notification settings - Fork 0
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
research how to add JS visualization library for spectra and lightcurves #1
Comments
@burnout87 could you give a reference to the code about visualization with bokeh/python? @motame could you put a reference to HEAVENS visualization library for the record? |
Need to discuss metadata needed for the visualization (e.g. units from fits file header) |
If you manage to open fits files from javascript library and access header, we can see how to do this. |
About bokeh, within the dispatcher, it is used mainly here: https://github.com/oda-hub/dispatcher-app/blob/master/cdci_data_analysis/analysis/plot_tools.py where the An example of usage of those classes is within the https://github.com/oda-hub/oda_api/blob/master/oda_api/plot_tools.py Where for the gallery, bokeh is used for lightcurves and spectra products. check the |
@volodymyrss thanks for the write access, I have pushed the headers data from https://www.astro.unige.ch/mmoda/gallery/sites/default/files/IBIS_lc_1E_1145.1-6141_Eta_Carinae_7790003.0.fits in the "data_sample" folder |
see aladinlite, how it opens fits
need to to open astropy fits table, plot it with errorbars
https://www.astro.unige.ch/mmoda/gallery/data-products/1e-11451-6141-isgri-light-curve-61
https://www.astro.unige.ch/mmoda/gallery/data-products/1e-11451-6141-isgri-spectrum-59
this is done with bokeh (link missing)
other options are :
flot
plotly
d3
may reach into previous work of MM
The text was updated successfully, but these errors were encountered: