Skip to content

Commit 78b2129

Browse files
keflavichadrn
authored andcommitted
implement some more small changes
1 parent 929d906 commit 78b2129

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

tutorials/position-velocity-diagrams/PVDiagramPlotting.ipynb

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,9 @@
100100
"source": [
101101
"# PV Extraction from Pixel Coordinates\n",
102102
"\n",
103-
"First we create an extraction path. This path is the spatial coordinates through which we are cutting out our PV diagram.\n",
103+
"First we create an extraction _path_.\n",
104+
"This path is the two-dimensional spatial coordinates through which we are cutting out our PV diagram.\n",
105+
"It is drawn below.\n",
104106
"\n",
105107
"The entries are pairs of pixel coordinates, (x,y). In this case, we've selected arbitrary coordinates for our demonstration, but for your use case, you might pick the axis of an outflow, the major axis of an inclined disk, or a spiral following an arm of a galaxy."
106108
]
@@ -281,7 +283,7 @@
281283
"id": "f7643042",
282284
"metadata": {},
283285
"source": [
284-
"We can also make paths using celestial coordinates by passing coordinates defined in an`~astropy.coordinates.SkyCoord` object to `~pvextractor.Path`."
286+
"We can also make paths by supplying coordinates defined in an `astropy.coordinates.SkyCoord` to `pvextractor.Path`."
285287
]
286288
},
287289
{
@@ -416,7 +418,9 @@
416418
"id": "0824ae9d",
417419
"metadata": {},
418420
"source": [
419-
"`~pvextractor.Path` allows you to specify a `width` to average over, which specifies a spatial range around the path to average over:"
421+
"`pvextractor.Path` allows you to specify a `width` to average over, which specifies a spatial range around the path to average over.\n",
422+
"\n",
423+
"In other words, it turns our path into a series of consecutive rectangular regions."
420424
]
421425
},
422426
{
@@ -569,6 +573,11 @@
569573
}
570574
],
571575
"metadata": {
576+
"kernelspec": {
577+
"display_name": "Py 3.9",
578+
"language": "python",
579+
"name": "python39"
580+
},
572581
"language_info": {
573582
"codemirror_mode": {
574583
"name": "ipython",
@@ -578,7 +587,8 @@
578587
"mimetype": "text/x-python",
579588
"name": "python",
580589
"nbconvert_exporter": "python",
581-
"pygments_lexer": "ipython3"
590+
"pygments_lexer": "ipython3",
591+
"version": "3.9.7"
582592
}
583593
},
584594
"nbformat": 4,

0 commit comments

Comments
 (0)