RepulsiveRandomDitherFieldPerVisitStacker

class rubin_sim.maf.maf_contrib.RepulsiveRandomDitherFieldPerVisitStacker(ra_col='fieldRA', dec_col='fieldDec', field_id_col='fieldID', max_dither=1.75, random_seed=None, print_info=False)

Bases: BaseStacker

Repulsive-randomly dither the RA and Dec pointings up to max_dither degrees from center, different offset per visit for each field.

Note: dithers are confined to the hexagon inscribed in the circle 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’.

field_id_colstr

name of the fieldID column in the data. Default: ‘field_id_col’.

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