Skip to content

Commit 8ef7df7

Browse files
committed
Minor cleanups in the notebook
1 parent ed1c11f commit 8ef7df7

File tree

1 file changed

+12
-22
lines changed

1 file changed

+12
-22
lines changed

tutorials/firefly/NEOWISE_light_curve_demo.md

Lines changed: 12 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,8 @@ kernelspec:
1111
name: python3
1212
---
1313

14-
<a id="top"></a>
15-
1614
# Finding Light Curves of Solar System Objects
17-
***
15+
1816
## Learning Goals
1917

2018
By the end of this tutorial, you will:
@@ -67,7 +65,7 @@ ffplt.use_client(fc)
6765
You can re-initizialize the viewer to return to a clean slate with [`reinit_viewer`](https://caltech-ipac.github.io/firefly_client/api/firefly_client.FireflyClient.html#firefly_client.FireflyClient.reinit_viewer).
6866

6967
```{code-cell} ipython3
70-
# fc.reinit_viewer(); # The semi-colon suppresses the output of the method when ran
68+
# fc.reinit_viewer(); # The semi-colon suppresses the output of the method when ran
7169
```
7270

7371
## Step 2
@@ -118,23 +116,23 @@ Finally, we can overlay the catalog of data in the table onto a HiPS image using
118116

119117
You will notice that there are colored squares that signify where the object was observed based on the RA and Dec given in the catalog.
120118

121-
Alternatively, we can queue a HiPS image using the method [`show_hips`](https://caltech-ipac.github.io/firefly_client/api/firefly_client.FireflyClient.html#firefly_client.FireflyClient.show_hips). However, this method requires target coordinates for the object you want to analyze.
122-
123119
```{code-cell} ipython3
124120
r = fc.add_cell(2, 2, 2, 2, 'catalog-image', 'target')
125121
if r['success']:
126122
fc.show_coverage();
127123
```
128124

125+
Alternatively, we can queue a HiPS image using the method [`show_hips`](https://caltech-ipac.github.io/firefly_client/api/firefly_client.FireflyClient.html#firefly_client.FireflyClient.show_hips). However, this method requires target coordinates for the object you want to analyze.
126+
129127
```{code-cell} ipython3
130-
# target='229.851396;-9.720647;EQ_J2000'
131-
# viewer_id = 'hipsDiv'
132-
# hips_url = 'http://alasky.u-strasbg.fr/AllWISE/RGB-W4-W2-W1'
128+
target='229.851396;-9.720647;EQ_J2000'
129+
viewer_id = 'hipsDiv'
130+
hips_url = 'http://alasky.u-strasbg.fr/AllWISE/RGB-W4-W2-W1'
133131
134-
# r = fc.add_cell(2, 2, 2, 2, 'catalog-image', 'target')
135-
# if r['success']:
136-
# status = fc.show_hips(viewer_id=viewer_id, plot_id='aHipsID1-1', hips_root_url = hips_url,
137-
# Title='HiPS-WISE', WorldPt=target)
132+
r = fc.add_cell(2, 2, 2, 2, 'catalog-image', 'target')
133+
if r['success']:
134+
status = fc.show_hips(viewer_id=viewer_id, plot_id='aHipsID1-1', hips_root_url = hips_url,
135+
Title='HiPS-WISE', WorldPt=target)
138136
```
139137

140138
## Summary
@@ -158,13 +156,5 @@ Firefly allows you to visualize data for specific targets. In conjuction with As
158156
+++
159157

160158
**Author:** Eric Bratton II (IRSA Scientist) in conjunction with the IRSA Science Team<br>
161-
**Updated On:** 2024-04-30<br>
159+
**Updated On:** 2024-07-31<br>
162160
**Contact:** [email protected] or https://irsa.ipac.caltech.edu/docs/help_desk.html
163-
164-
+++
165-
166-
***
167-
168-
+++
169-
170-
<a href="#top">Top of the Page</a>

0 commit comments

Comments
 (0)