pst.pipeline.PstGetTilings

class pst.pipeline.PstGetTilings.PstGetTilings(name=None, ra=None, dec=None, fovra=None, fovdec=None, index=None, defconf=None, logger=None)
  • implement the following functions:

-> __init__(self, ra=None, dec=None,

fovra=None, fovdec=None, defconf=None, logger = None)

->

Methods

calc_prob_dis(self, triggerobj[, nest, limdist])

triggerobj PstParseTriggers object

calc_prob_loc(self, triggerobj[, nest])

triggerobj PstParseTriggers object

calc_prob_mass(self, galaxyobj[, nside, nest])

galaxyobj PstGetGalaxies object

divide_OB_one(rac, decc, fovw, fovh, nobw, nobh)

divide a pointing to a list of sub-pointings

generate(self[, limra, limdec, fovra, …])

create pointings by tiling sky

generate_mc(self, skymap, num[, limra, …])

create pointings by tiling sky monte carlo approach to maxmize trigger probability with num pointings

ipix_in_box(ra, dec, width, height, nside, nest)

Finding the healpix indices of a given box

obstime([t])

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

vertices(ra, dec, fovw, fovh)

Finding the vertices of a FoV given the central location (ra[deg], dec[deg]) and the FoV size (fovw [deg], fovh [deg]).

OACAPI

altaz

astrotab

calc_airmass

calc_solar

calc_sun

checkdata

divide_OB

lightcurve

overlapregion

read

readfile

remove_fields_file

remove_fileds_coo

run_config

save

set_name

calc_prob_dis(self, triggerobj, nest=None, limdist=400)

triggerobj PstParseTriggers object

calc_prob_loc(self, triggerobj, nest=None)

triggerobj PstParseTriggers object

calc_prob_mass(self, galaxyobj, nside=None, nest=None)

galaxyobj PstGetGalaxies object

static divide_OB_one(rac, decc, fovw, fovh, nobw, nobh)

divide a pointing to a list of sub-pointings

generate(self, limra=None, limdec=None, fovra=None, fovdec=None, shiftra=None, shiftdec=None)

create pointings by tiling sky

generate_mc(self, skymap, num, limra=None, limdec=None, fovra=None, fovdec=None)

create pointings by tiling sky monte carlo approach to maxmize trigger probability with num pointings

static ipix_in_box(ra, dec, width, height, nside, nest)

Finding the healpix indices of a given box

static obstime(t=None)

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

static vertices(ra, dec, fovw, fovh)

Finding the vertices of a FoV given the central location (ra[deg], dec[deg]) and the FoV size (fovw [deg], fovh [deg]).