galactic_plane_healpixels

rubin_sim.scheduler.utils.galactic_plane_healpixels(nside=None, center_width=10.0, end_width=4.0, gal_long1=290.0, gal_long2=70.0)

Define a Galactic Plane region.

Parameters:
nsideint, optional

Resolution for the healpix maps. Default None uses rubin_sim.scheduler.utils.set_default_nside to set default (often 32).

center_widthfloat, optional

Width at the center of the galactic plane region.

end_widthfloat, optional

Width at the remainder of the galactic plane region.

gal_long1float, optional

Longitude at which to start the GP region.

gal_long2float, optional

Longitude at which to stop the GP region. Order matters for gal_long1 / gal_long2!

Returns:
np.ndarray

Healpix map with galactic plane regions set to 1.