plot_finder_image¶
-
astroplan.plots.plot_finder_image(target, survey='DSS', fov_radius=<Quantity 10. arcmin>, log=False, ax=None, grid=False, reticle=False, style_kwargs=None, reticle_style_kwargs=None)[source]¶ Plot survey image centered on
target.Survey images are retrieved from NASA Goddard’s SkyView service via
astroquery.skyview.SkyView.If a
Axesobject already exists, plots the finder image on top. Otherwise, creates a newAxesobject with the finder image.Parameters: target :
FixedTarget,SkyCoordCoordinates of celestial object
survey : string
Name of survey to retrieve image from. For dictionary of available surveys, use
from astroquery.skyview import SkyView; SkyView.list_surveys(). Defaults to'DSS', the Digital Sky Survey.fov_radius :
QuantityRadius of field of view of retrieved image. Defaults to 10 arcmin.
log : bool, optional
Take the natural logarithm of the FITS image if
True. False by default.ax :
Axesor None, optional.The
Axesobject to be drawn on. If None, uses the currentAxes.grid : bool, optional.
Grid is drawn if
True.Falseby default.reticle : bool, optional
Draw reticle on the center of the FOV if
True. Default isFalse.style_kwargs : dict or
None, optional.A dictionary of keywords passed into
imshowto set plotting styles.reticle_style_kwargs : dict or
None, optionalA dictionary of keywords passed into
axvlineandaxhlineto set reticle style.Returns: ax :
AxesMatplotlib axes with survey image centered on
targethdu :
PrimaryHDUFITS HDU of the retrieved image
Notes
- Dependencies:
- In addition to Matplotlib, this function makes use of astroquery.