lsst.synpipe  19.0.0-4-g3d16501+14
Functions
lsst.synpipe.makeRaDecCat Namespace Reference

Functions

def polyReadWkb (wkbName, load=True)
 
def getImageRaDecRange (rootDir, dataId, dataType='calexp')
 
def getRandomRaDec (nRand, minRa, maxRa, minDec, maxDec, rad=None)
 
def plotRandomRaDec (randomRaDec, rangeRaDec=None)
 
def makeRaDecCat (nRand, dataId=None, rangeRaDec=None, rad=None, rootDir='/lustre/Subaru/SSP/rerun/yasuda/SSP3.8.5_20150725/', inputCat=None, plot=False, acpMask=None, rejMask=None)
 

Detailed Description

Create N random selected (RA, Dec) pairs within a desired region.
The inputs can be:
   1. RA, Dec range: (minRa, maxRa, minDec, maxDec)
   2. DataId for single frame image: (visit, ccd)
   3. DataId for coadd image: (tract, patch, filter)

Function Documentation

◆ getImageRaDecRange()

def lsst.synpipe.makeRaDecCat.getImageRaDecRange (   rootDir,
  dataId,
  dataType = 'calexp' 
)
Get the Ra,Dec range for certain single frame or coadded image

Definition at line 29 of file makeRaDecCat.py.

◆ getRandomRaDec()

def lsst.synpipe.makeRaDecCat.getRandomRaDec (   nRand,
  minRa,
  maxRa,
  minDec,
  maxDec,
  rad = None 
)
Randomly select Ra,Dec pairs from the input Ra,Dec range

Definition at line 57 of file makeRaDecCat.py.

◆ makeRaDecCat()

def lsst.synpipe.makeRaDecCat.makeRaDecCat (   nRand,
  dataId = None,
  rangeRaDec = None,
  rad = None,
  rootDir = '/lustre/Subaru/SSP/rerun/yasuda/SSP3.8.5_20150725/',
  inputCat = None,
  plot = False,
  acpMask = None,
  rejMask = None 
)
Generate nRand random RA,Dec pairs in a desired region of sky
The region can be defined by:
   1) Single frame image
   2) Coadd image
   3) RA, Dec range

Definition at line 127 of file makeRaDecCat.py.

◆ plotRandomRaDec()

def lsst.synpipe.makeRaDecCat.plotRandomRaDec (   randomRaDec,
  rangeRaDec = None 
)
Plot the distribution of radom Ra, Dec for examination

Definition at line 98 of file makeRaDecCat.py.

◆ polyReadWkb()

def lsst.synpipe.makeRaDecCat.polyReadWkb (   wkbName,
  load = True 
)

Definition at line 16 of file makeRaDecCat.py.