Skip to content

Commit

Permalink
fix example in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
snbianco committed Sep 25, 2024
1 parent 3471090 commit 735112e
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions astrocut/footprint_cutouts.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,13 +205,12 @@ def cube_cut_from_footprint(coordinates: Union[str, SkyCoord], cutout_size,
Example
-------
>>> from astrocut.footprint_cutouts import cube_cut_from_footprint
>>> cube_cut_from_footprint(
coordinates='83.40630967798376 -62.48977125108528',
cutout_size=64,
sequence=[1, 2], # TESS sectors
product='SPOC',
output_dir='./cutouts'
)
>>> cube_cut_from_footprint( # doctest: +SKIP
... coordinates='83.40630967798376 -62.48977125108528',
... cutout_size=64,
... sequence=[1, 2], # TESS sectors
... product='SPOC',
... output_dir='./cutouts')
['./cutouts/tess-s0001-4-4/tess-s0001-4-4_83.406310_-62.489771_64x64_astrocut.fits',
'./cutouts/tess-s0002-4-1/tess-s0002-4-1_83.406310_-62.489771_64x64_astrocut.fits']
"""
Expand Down

0 comments on commit 735112e

Please sign in to comment.