Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix docs build warnings and error #600

Merged
merged 1 commit into from
Mar 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions ndcube/ndcube.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ def axis_world_coords(self,
their corresponding array dimensions, unless ``pixel_corners=True``
in which case the length along each axis will be 1 greater than
the number of pixels.
Example
-------
Examples
--------
>>> NDCube.axis_world_coords('lat', 'lon') # doctest: +SKIP
>>> NDCube.axis_world_coords(2) # doctest: +SKIP

Expand Down Expand Up @@ -171,8 +171,8 @@ def axis_world_coords_values(self,
their corresponding array dimensions, unless ``pixel_corners=True``
in which case the length along each axis will be 1 greater than the number of pixels.

Example
-------
Examples
--------
>>> NDCube.axis_world_coords_values('lat', 'lon') # doctest: +SKIP
>>> NDCube.axis_world_coords_values(2) # doctest: +SKIP

Expand Down Expand Up @@ -214,8 +214,8 @@ def crop(self,
-------
result: `~ndcube..ndcube.NDCubeABC`

Example
-------
Examples
--------
An example of cropping a region of interest on the Sun from a 3-D image-time cube:
>>> point1 = [SkyCoord(-50*u.deg, -40*u.deg, frame=frames.HeliographicStonyhurst), None] # doctest: +SKIP
>>> point2 = [SkyCoord(0*u.deg, -6*u.deg, frame=frames.HeliographicStonyhurst), None] # doctest: +SKIP
Expand Down Expand Up @@ -266,8 +266,8 @@ def crop_by_values(self,
result: `~ndcube.ndcube.NDCubeABC`


Example
-------
Examples
--------
An example of cropping a region of interest on the Sun from a 3-D image-time cube:
>>> NDCube.crop_by_values((-600, -600, 0), (0, 0, 0), units=(u.arcsec, u.arcsec, u.s)) # doctest: +SKIP

Expand Down Expand Up @@ -710,9 +710,9 @@ def reproject_to(self, target_wcs, algorithm='interpolation', shape_out=None, re
See Also
--------

* `reproject.reproject_interp`
* `reproject.reproject_adaptive`
* `reproject.reproject_exact`
reproject.reproject_interp
reproject.reproject_adaptive
reproject.reproject_exact

Notes
-----
Expand Down