Spaces:
Sleeping
Sleeping
File size: 1,089 Bytes
56d7445 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
# 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()
|