Skip to content

Commit

Permalink
fix: rebase merged two cells
Browse files Browse the repository at this point in the history
  • Loading branch information
ManonMarchand committed Sep 18, 2024
1 parent 0f3d61b commit 63ea7e3
Showing 1 changed file with 38 additions and 3 deletions.
41 changes: 38 additions & 3 deletions examples/02_Base_Commands.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,15 @@
"aladin.target = \"sgr a*\""
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"aladin.layers"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down Expand Up @@ -101,8 +110,8 @@
"metadata": {},
"outputs": [],
"source": [
"aladin.overlay_survey = \"P/allWISE/color\"\n",
"aladin.overlay_survey_opacity = 0.5"
"aladin.add_hips(\"P/allWISE/color\", name=\"overlay\")\n",
"aladin.set_layer_opacity(\"overlay\", 0.5)"
]
},
{
Expand Down Expand Up @@ -172,12 +181,38 @@
"aladin.add_fits(Path(\"images/m31.fits\"), name=\"M31\", opacity=0.5)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"aladin.layers"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"And the fits image can be removed (as any other layer except `base`) with:"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"aladin.remove_layer(\"M31\")"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"You can add markers to the view of the widget with custom popup title and description.\n",
"Here we will add markers for Messier objects M1 to M10."
"Here we will add markers for Messier objects M1 to M10.\n",
"You can get all layers identified by their name."
]
},
{
Expand Down

0 comments on commit 63ea7e3

Please sign in to comment.