Skip to content

Commit 0add399

Browse files
committed
Simplifying coordinates
1 parent a719538 commit 0add399

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

tutorials/euclid_access/Euclid_ERO.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,7 @@ else:
128128
search_radius = 1.5 * u.arcmin # search radius
129129
cutout_size = 1.5 * u.arcmin # cutout size
130130

131-
# Coordinates for NGC 6254
132-
#ra = 254.2923478
133-
#dec = -4.1020057
134-
135-
# Coordinates for NGC 6397
136-
ra = 265.1764034
137-
dec = -53.6746141
131+
coord = SkyCoord.from_name('NGC 6397')
138132
```
139133

140134
## Search Euclid ERO Images
@@ -153,7 +147,6 @@ Here we use the collection *euclid_ero*, containing the Euclid ERO images. We fi
153147

154148

155149
```python
156-
coord = SkyCoord(ra, dec, unit=(u.deg,u.deg), frame='icrs')
157150
image_tab = Irsa.query_sia(pos=(coord, search_radius), collection='euclid_ero').to_table()
158151
print("Number of images available: {}".format(len(image_tab)))
159152
```

0 commit comments

Comments
 (0)