Pointings2hp

class rubin_sim.scheduler.utils.Pointings2hp(nside, radius=1.75)

Bases: object

Convert a list of telescope pointings and convert them to a pointing map

Methods Summary

__call__(ra, dec[, stack])

similar to utils.hp_in_lsst_fov, but can take a arrays of ra,dec.

Methods Documentation

__call__(ra, dec, stack=True)

similar to utils.hp_in_lsst_fov, but can take a arrays of ra,dec.

Parameters:
raarray_like

RA in radians

decarray_like

Dec in radians

Returns:
resulthealpy map

The number of times each healpxel is observed by the given pointings