frb.surveys.images

Module for image routines

frb.surveys.images.grab_from_url(url)[source]

Grab a PIL Image from a URL

Args:

url (str) – URL

Returns:

Image retrieved from the URL

Return type:

PIL.Image

frb.surveys.images.gen_snapshot_plt(img, imsize, show=False)[source]

Generate a simple figure from an input PIL.Image

Args:
  • img (PIL.Image) – Image to plot

  • imsize – Angle Angular dimension of the image

  • show (bool, optional) – Show to the screen? If done, will need to regenerate to then save to disk

Returns:

Allows one to further modify the plot

Return type:

matplotlib.pyplot