LsstCameraFootprint

class rubin_sim.utils.LsstCameraFootprint(units='degrees', footprint_file=None)

Bases: object

Identify point on the sky within an LSST camera footprint.

Parameters:
unitsstr, opt

Units for the object RA/Dec and boresight RA/Dec/rotation values. Default ‘degrees’. If not degrees, assumes incoming values are in radians.

footprint_filestr or None, opt

Location for the camera footprint map. Default None loads the default map from $RUBIN_SIM_DATA_DIR/maf/fov_map.npz

Methods Summary

__call__(obj_ra, obj_dec, boresight_ra, ...)

Determine which observations are within the actual camera footprint for a series of observations.

Methods Documentation

__call__(obj_ra, obj_dec, boresight_ra, boresight_dec, boresight_rot_sky_pos)

Determine which observations are within the actual camera footprint for a series of observations.

Parameters:
obj_ranp.ndarray

RA values for the objects (in the field of view?)

obj_decnp.ndarray

Dec values for the objects

boresight_rafloat

RA value for the pointing

boresight_decfloat

Dec value for the pointing

boresight_rot_sky_posfloat

RotSkyPos value for the pointing.

Returns:
indicesnp.ndarray

Returns the indexes of the numpy array of the object observations which are inside the fov and land on a science chip. Applying this to the input array (e.g. obj_ra[indices]) indicates the positions of the objects which fell onto active silicon.