PlateRow

class daschlab.plates.PlateRow(table, index)[source]

Bases: Row

A single row from a Plates table.

You do not need to construct these objects manually. Indexing a Plates table with a single integer will yield an instance of this class, which is a subclass of astropy.table.Row.

Methods Summary

plate_id()

Get a textual identifier for this plate.

show()

Display the cutout of this plate in the WWT view.

Methods Documentation

plate_id() str[source]

Get a textual identifier for this plate.

Returns:
str

The returned string has the form {series}{platenum}_{mosnum}, where the plate number is zero-padded to be five digits wide, and the mosaic number is zero-padded to be two digits wide.

show() ImageLayer[source]

Display the cutout of this plate in the WWT view.

Returns:
pywwt.layers.ImageLayer

This is the WWT image layer object corresponding to the displayed FITS file. You can use it to programmatically control aspects of how the file is displayed, such as the colormap.

Notes

In order to use this method, you must first have called daschlab.Session.connect_to_wwt(). If needed, this method will execute an API call and download the cutout to be displayed, which may be slow.