Skip to content

Commit 804e7b1

Browse files
committed
fix variables in jwst-image-scale-bar.md
variables were misnamed, prevented tutorial from being run
1 parent 56df545 commit 804e7b1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/src/tutorials/jwst-image-scale-bar.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ println(carina["CTYPE1", Comment])
9292
println(carina["CTYPE1"])
9393
```
9494
```
95-
first axis coordinate type
95+
Axis 1 type
9696
RA---TAN
9797
```
9898

@@ -152,7 +152,7 @@ b_px = world_to_pix(carina_full, b_deg)
152152
# Measure the angular distance in pixel coordinates
153153
# note: in theory this depends on where in the image we make this calculation
154154
# because the coordinate system is warped
155-
arcmin_px = norm(stop_coord_pix .- start_coord_pix)
155+
arcmin_px = norm(b_px .- a_px)
156156

157157
# Plot our image again
158158
implot(carina; grid=false, clims=Percent(98))

0 commit comments

Comments
 (0)