Skip to content

Commit

Permalink
Merge pull request #81 from martinRenou/remove_ipyaladin
Browse files Browse the repository at this point in the history
Remove ipyaladin
  • Loading branch information
martinRenou committed Jun 22, 2020
2 parents a644162 + 8ed7699 commit 5322647
Showing 1 changed file with 0 additions and 79 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# *OPTIONAL* Astronomical widget libraries\n",
"\n",
"The libraries demonstrated here are not as mature as the ones we've seen so far. Keep an eye on them for future developments!"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -103,76 +94,6 @@
"wwt.pause_tour()"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## ipyaladdin - interactive sky atlas backed by simbad/vizier databases\n",
"\n",
"### https://github.com/cds-astro/ipyaladin\n",
"\n",
"The [Simbad catlog]() and [VizieR database interface]() serve as respositories for most public astronomical data. The Aladin sky atlas, originally developed as a desktop application, then an in-browser javascipt app, now has an experimental widget interface.\n",
"\n",
"### Installation\n",
"\n",
"Installation instructions are at: https://github.com/cds-astro/ipyaladin#installation "
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import ipyaladin.aladin_widget as ipyal"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"aladin = ipyal.Aladin(target='Orion Nebula', fov=10, survey='P/allWISE/color')\n",
"aladin"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Add markers for items in a data table "
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"from astroquery.simbad import Simbad\n",
"table = Simbad.query_region('Orion Nebula', radius=1 * u.degree)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import numpy as np\n",
"display_obj = np.random.choice(range(len(table)), size=100)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"aladin.add_table(table[display_obj])"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down

0 comments on commit 5322647

Please sign in to comment.