GalacticPlanePriorityMap¶
- class rubin_sim.maf.maps.GalacticPlanePriorityMap(interp=False, nside=64, map_path=None)¶
Bases:
BaseMap
Read and return the galactic plane priority map data at each slice_point.
Primarily, this calls galactic_plane_priority_map to read the map data, and then assigns the appropriate values to each slice_point. If the slicer is an nside=64 healpix slicer, this is trivial. (other use-cases currently experimental and not supported).
- Parameters:
- interp
bool
, opt Interpolate the dust map at each slice_point (True) or just use the nearest value (False). Default is False.
- nside
int
, opt Default nside value to read the dust map from disk. Primarily useful if the slicer is not a healpix slicer. Default 64.
- map_path
str
, opt Define a path to the directory holding the dust map files. Default None, which uses RUBIN_SIM_DATA_DIR.
- interp
Methods Summary
run
(slice_points)Given slice_points (dict containing metadata about each slice_point, including ra/dec),
Methods Documentation
- run(slice_points)¶
- Given slice_points (dict containing metadata about each slice_point, including ra/dec),
adds additional metadata at each slice_point and returns updated dict.