pst.pipeline.PstPlotter

class pst.view.PstPlotter.PstPlotter(interactive=True, plot_dir=None, plot_name_tmpl='{objectId}.png', defconf=None, logger=None)
  • implement the following functions:

-> __init__() ->

Methods

compute_contours(proportions, samples[, nside])

Plot containment contour around desired level.

galaxies(self, pstgalaxies[, nest, coord, …])

galaxy dot plots: pstgalaxies: 1.

notes(self[, psttrigger, tellist, coord, …])

show specific coordiantes in healpy plots

obstime([t])

define observing time t: None, or float, unit in sec, or astropy.time

plot_sky(tellist, coord[, obstime, fignum])

tellist: list of PstGetTilings obj or PstGetGalaxies obj

triggershow(self, psttrigger[, theta, phi, …])

2d trigger healpix map

galaxy

locshow

plot_coord

run_config

static compute_contours(proportions, samples, nside=64)

Plot containment contour around desired level. E.g 90% containment of a PDF on a healpix map

galaxies(self, pstgalaxies, nest=None, coord=None, colors=None, fignum=1)

galaxy dot plots: pstgalaxies: 1. PstGetGalaxies obj 2. PstGetGalaxies obj list color: list

notes(self, psttrigger=None, tellist=None, coord=None, obstime=None, fignum=1, contours=None)

show specific coordiantes in healpy plots

static obstime(t=None)

define observing time t: None, or float, unit in sec, or astropy.time

static plot_sky(tellist, coord, obstime=None, fignum=1)

tellist: list of PstGetTilings obj or PstGetGalaxies obj

triggershow(self, psttrigger, theta=None, phi=None, psi=None, contours=None, nest=None, coord=None, norm=None, vmin=None, vmax=None, fignum=1, ptype=None, cbar=None, nside=None, title='sky localization')

2d trigger healpix map