Spaces:
Running
Running
| # See also https://github.com/cds-astro/ipyaladin/blob/master/examples/01_Getting_Started.ipynb | |
| """# 🛸 Getting Started | |
| Displays an interactive sky view of the | |
| [Mars Viking MDIM21 survey](https://alasky.u-strasbg.fr/Planets/Mars_Viking_MDIM21/). | |
| Powered by \ | |
| [ipyaladin](https://github.com/cds-astro/ipyaladin) and \ | |
| [Panel](https://panel.holoviz.org/index.html). | |
| Check out the [**App Gallery**](./) | |
| """ | |
| import panel as pn | |
| from ipyaladin import Aladin | |
| pn.extension("ipywidgets", sizing_mode="stretch_width") | |
| aladin = Aladin( | |
| target="159.2135528 -58.6241989", | |
| survey="https://alasky.u-strasbg.fr/Planets/Mars_Viking_MDIM21", | |
| fov=10, | |
| height=800, | |
| ) | |
| panel = pn.panel(aladin, height=800) | |
| pn.template.FastListTemplate( | |
| site="ipyaladin and Panel", | |
| site_url="./", | |
| title="01 Getting Started", | |
| sidebar=[ | |
| pn.pane.PNG( | |
| "https://avatars.githubusercontent.com/u/26145382?s=200&v=4", | |
| link_url="https://cds.unistra.fr/", | |
| ), | |
| __doc__, | |
| ], | |
| main=[panel], | |
| accent="#296bb5", | |
| main_layout=None, | |
| ).servable() | |