RepulsiveRandomDitherPerNightStacker¶
- class rubin_sim.maf.maf_contrib.RepulsiveRandomDitherPerNightStacker(ra_col='fieldRA', dec_col='fieldDec', night_col='night', max_dither=1.75, random_seed=None, print_info=False)¶
Bases:
RepulsiveRandomDitherFieldPerVisitStacker
Repulsive-randomly dither the RA and Dec pointings up to max_dither degrees from center, one dither offset per night for all the fields.
Note: dithers are confined to the hexagon inscribed in the circle with with radius max_dither
- Parameters:
- ra_col: str
name of the RA column in the data. Default: ‘fieldRA’.
- dec_colstr
name of the Dec column in the data. Default: ‘fieldDec’.
- night_colstr
name of the night column in the data. Default: ‘night’.
- max_dither: float
radius of the maximum dither offset, in degrees. Default: 1.75
- random_seed: int
random seed for the numpy random number generation for the dither offsets. Default: None.
- print_info: `bool`
set to True to print out information about the number of squares considered, number of points chosen, and the filling factor. Default: False