UserPointsSlicer

class rubin_sim.maf.slicers.UserPointsSlicer(ra, dec, lon_col='fieldRA', lat_col='fieldDec', lat_lon_deg=True, verbose=True, badval=-666, leafsize=100, radius=2.45, use_camera=True, camera_footprint_file=None, rot_sky_pos_col_name='rotSkyPos')

Bases: BaseSpatialSlicer

A spatial slicer that evaluates pointings overlapping user-provided list of points.

Parameters:
ralist or numpy.ndarray

User-selected RA points, in degrees. Stored internally in radians.

declist or numpy.ndarray

User-selected Dec points, in degrees. Stored internally in radians.

lon_colstr, optional

Name of the longitude (RA equivalent) column to use from the input data. Default fieldRA

lat_colstr, optional

Name of the latitude (Dec equivalent) column to use from the input data. Default fieldDec

latLonDegbool, optional

Flag indicating whether the lon and lat values will be in degrees (True) or radians (False). Default True (appropriate for opsim v4).

verbosebool, optional

Flag to indicate whether or not to write additional information to stdout during runtime. Default True.

badvalfloat, optional

Bad value flag, relevant for plotting. Default -666.

leafsizeint, optional

Leafsize value for kdtree. Default 100.

radiusfloat, optional

Radius for matching in the kdtree. Equivalent to the radius of the FOV. Degrees. Default 2.45.

use_camerabool, optional

Flag to indicate whether to use the LSST camera footprint or not. Default True.

camera_footprint_filestr, optional

Name of the camera footprint map to use. Can be None, which will use the default.

rotSkyPosColNamestr, optional

Name of the rotSkyPos column in the input data. Only used if use_camera is True. Describes the orientation of the camera orientation compared to the sky. Default rotSkyPos.