A simple user interface provides access to the processed PanSTARRS images. Both warp (single epoch) and stack (combined) images are available for the grizy filters in the 3PI survey. The stack images are also combined to create color images. Images may be extracted using an RA+Dec position or using an object name. The resulting cutout images (postage stamps) are available as JPEG images within the web browser or as FITS images. The interface also provides access to download skycell images covering larger sky regions, along with an interactive display for browsing larger sky regions. Finally, there are web services that can be used for access to the images via scripts.
The web interface
The PS1 images are accessible through http://plpsipp1v.stsci.edu/cgi-bin/ps1cutouts. (This is a temporary URL that will change in the near future.) The interface has a text box to enter a position or object name plus a few other options. Type an object name or position into the box and click Submit:
The search string can be a name that is recognized by NED or SIMBAD (e.g., "ring nebula" as above) or a position in various formats (RA and Dec in degrees, hh mm ss +dd mm ss, h:m:s d:m:s, etc.). A PanSTARRS image identifier (e.g., skycell.2069.026) is also accepted and is translated to the central position of that image.
The labels above each image identify the image type (stack or warp), the image identifier (these come from skycell.2069.026), and the filter. For warp images the labels also include the modified Julian date of the observations.
Changing the parameters
The default parameters for the search return 240x240 pixel cutout images (=1x1 arcmin for the PS1 scale of 0.25 arcsec/pixel), including a color image and all five filters, grizy. The filters used for the color image are the reddest (y), the bluest (g), and the middle image (i).
The parameters allow changing the defaults:
|Filters||Select a subset of the filters using check boxes|
|File types||Include the warp (single epoch) images in addition to or instead of the stack images|
|Auxiliary data||Include not just the data but also ancillary images such as masks, weights, and exposure times. These will show up as separate rows in the results.|
|Cutout size||Specify the extracted image size in pixels. The conversion to arcsec is shown. If this size is large, the cutout image may reach the edge of the PS1 image; in that case the pixels off the edge are filled with blanks.|
|Output size||Select a fixed size for the display images. The cutout is scaled to the selected size. This can be used either to shrink the images when the cutout size is large or to expand the image for small cutouts.|
As an example, here are images for the Ring Nebula with the cutout size increased to 512 pixels (128 arcsec), the output size set to 256 pixels (so the JPEG scale is 0.5 arcsec/pixel), and the gri filters selected (which changes the color image as well):
Warp (single epoch) images
If the warp box is checked, the results include all single-epoch PS1 images that overlap the requested sky position. Here is an example for the Ring Nebula g-band images:
The result page shows the stack image(s) followed by all the warp images. The warps are grouped by filter (grizy) and are sorted by epoch of observation. Note that the individual warps often show many regions of missing pixels due to gaps between detectors, bad pixel regions, etc. These bad pixels are rejected during stacking, and the warp pointing centers are dithered so that the final quality of the stack images is generally very good. Obviously users will need to take care in using the single-epoch images!
There are usually a large number (~20) of warp images for each filter. Some of the warp images are completely blank because the actual sky coverage for the exposure does overlap the large skycell image but does not necessarily cover the cutout image region. Currently our PS1 image database does not have a detailed map of the precise sky coverage for individual exposures, so the warp images that lack sky coverage in a region are not known before the cutout is extracted. That will be improved in future versions of the interface.
Access to FITS images
In addition to the titles that identify the cutouts, there are links above the images. Here is the result for NGC 7222:
The FITS link downloads the full skycell image for this field. In this example that is a 6240x6243 pixel image (~0.43 degrees across) of the g filter stack for skycell 1405.053. Note that these images are compressed using the FITS tile-compressed image convention. The format can be read by most FITS libraries or can be converted back to a standard uncompressed FITS image using the ftools package.
The FITS-cutout link downloads a FITS image of only the cutout region. Note that these images have not been rebinned to the output size – they have the full resolution of the original images. FITS cutout images are not compressed.
The FITS links are not available for color images. Since the various filter images for a skycell are matched pixel-by-pixel, the individual FITS and FITS-cutout filter images can be downloaded separately and assembled into multi-band FITS images if desired.
Interactive image display
The Display link opens an interactive FITS image viewer that allows browsing the skycell image. The interactive viewer (adapted from the version originally developed for the Hubble Legacy Archive) allows the panning, zooming and changing the image contrast. It is also possible to overlay external catalogs such as SDSS and 2MASS on the image. There is a Help page that describes the standard functionality of this tool. Here is a screenshot of the display in the vicinity of NGC 7222:
The Display link is also available for color images. Note that the compressed storage format of the FITS image makes the interactive display somewhat sluggish, especially for the color images (which are reading FITS images for all 3 filters being used). Options are being explored to improve the performance (which is currently tolerable if not ideal).
There is one custom catalog available for the PS1 image display: the PS1 checkbox overlays objects from the PanSTARRS catalog. Currently sources are shown from the PanSTARRS selected area, which covers about 70 square degrees in the sky region:
- 330o < RA < 338o (22h < RA < 22h 32m)
- -4o < Dec < +4o
When the final catalog is complete, sources from the entire 3PI survey area (Dec > -30o) will be available.
When catalogs are overlaid on the image, you can click on individual sources to see magnitudes and other properties.
A valuable option to speed up catalog loading, especially in crowded regions, is to change the Catalog Overlay Region. The default is to load all the sources that overlap the skycell. Click the Visible button and then the Set Region button to get only the catalog sources that are in the currently visible region of the image. That is much faster when only a small portion of the image is being viewed. The selected region remains fixed when you zoom and pan the image until you click the Set Region button again to change it to match the current viewport. When the region is changed, any catalogs that have been overlaid on the image are automatically reloaded.
Additional options for the PS1 catalog are available by clicking on PS1 controls. Currently the only option is to filter the catalog using the number of filters & epochs at which objects were detected. That is useful for filtering out single-epoch detections, which are often spurious. The default is nDetections>2, which produces a clean catalog but omits some faint objects.
Scripted extraction of cutouts
This section describe how to extract images using a script. In the near future an example Python script will be shown that finds and downloads FITS cutout images. Currently a high level description of the necessary web services is presented. Please ask Rick White if you need more details.
There are three basic services for accessing the PS1 images:
|Get list of images||http://plpsipp1v.stsci.edu/cgi-bin/ps1filenames.py||Returns a table with a list of available images at a given RA, Dec position or for a given skycell.|
|Download a file||http://plpsipp1v.stsci.edu/<filename>||Directly access a single file identified using the above query.|
|Get image cutout||http://plpsipp1v.stsci.edu/cgi-bin/fitscut.cgi||Extract a cutout image with a portion of a particular image. The image can be returned in FITS or JPEG format. For JPEG images, the image can be shrunk or expanded to a target output size.|
Image List Service
The image list service, http://plpsipp1v.stsci.edu/cgi-bin/ps1filenames.py, has a few parameters to determine which images are returned:
|skycell||skycell=1405.053||Any PS1 mmmm.nnn skycell||Return images associated with a known PS1 skycell|
|ra, dec||ra=334.0&dec=2.0||J2000 RA & Dec in degrees||Alternative to skycell: Return the image that covers the specified RA/Dec position.|
|filters||filters=griz||Any subset of grizy||Return only images from the specified filters. Default is all 5 PS1 filters (grizy).|
|type||type=stack,stack.wt||Comma-separated list of many choices||Include various auxiliary images. Default is stack; some common choices include warp (single-epoch images), stack.wt (weight image), stack.mask, stack.exp (exposure time), warp.wt, and warp.mask.|
|sep||sep=,||tab, comma, space||Separator used in the output table. Default is space.|
The Image List Service returns a table of values with a row of column headings followed by information on all images that match the requested criteria. Here is a sample result from the query http://plpsipp1v.stsci.edu/cgi-bin/ps1filenames.py?skycell=1405.053:
The projcell and subcell columns give the skycell information, and the RA and Dec are the position. If the query specified a skycell as input, the RA and Dec are the central position of the image. The next three columns give the filter, Modified Julian Date, and the type of this image (stack, warp, etc.) The 8th column is the filename for the image (which typically is very long with lots of gibberish). The last column is a short filename that we are adopting: it includes the skycell, information on the type of image, the filter, and (for warp images) the MJD of the observation.
Currently if RA & Dec are specified, only the best skycell image (where the position is farthest from the edge) is included.
Download a FITS File
The filename returned by the above service can be used to retrieve the FITS image directly from the web server by prepending the server name, "http://plpsipp1v.stsci.edu" before the "/data". So the URL to retrieve the first file in the table above is http://plpsipp1v.stsci.edu/data/ps1/node04/stps04.1/nebulous/56/3d/...unconv.fits Since the filenames are very long and complex, we recommend using the shortname when saving it. Then you will have a file with the same name when using a script as would be retrieved through the web interface.
The http://plpsipp1v.stsci.edu/cgi-bin/fitscut.cgi interface can be used to retrieve cutout images in FITS or JPEG format. To get a single band image, use the filename from the above table as the red parameter of fitscut.cgi. Additional files using other filters can be specified for the green and blue parameters to get color JPEG images. (To get color FITS images, download the files directly.) The format parameter specifies the output format (fits or jpeg). This script has many additional parameters; see the HLA fitscut documentation for more details, including control of the position, cutout size, contrast, etc.
Note that the image cutout interface works on any type of image (including masks, weights, etc.)
Plans for future additions & improvements
We plan to make a number of improvements and additions to this interface in the future. Suggestions for other additions are also welcome (send to email@example.com).
- Fill in blank pixels from neighboring skycells so that larger image cutouts are possible.
- Give user the ability to select which filters are used to create the color image.
- Give user the ability to adjust the contrast in the cutout images.
- Include more accurate footprints for the warp sky coverage in the database so that blank warp cutouts are rare.
- Speed up the interactive display and access to image cutouts either by recompressing the FITS skycell images to use blocks or by caching uncompressed versions of recently accessed images. Currently the images are compressed row by row, which is inefficient for access to randomly located blocks of pixels.
Color 6.9x5.3 arcmin image of M8 using the PS1 riz filters created using the image cutout interface.
|PS1 Image Cutouts|