class rubin_sim.maf.stackers.RandomDitherFieldPerVisitStacker(ra_col='fieldRA', dec_col='fieldDec', degrees=True, max_dither=1.75, in_hex=True, random_seed=None)

Bases: BaseDitherStacker

Randomly dither the RA and Dec pointings up to max_dither degrees from center, with a different offset for each field, for each visit.

ra_colstr, optional

The name of the RA column in the data. Default ‘fieldRA’.

dec_colstr, optional

The name of the Dec column in the data. Default ‘fieldDec’.

degreesbool, optional

Flag whether RA/Dec should be treated as (and kept as) degrees.

max_ditherfloat, optional

The radius of the maximum dither offset, in degrees. Default 1.75 degrees.

in_hexbool, optional

If True, offsets are constrained to lie within a hexagon inscribed within the max_dither circle. If False, offsets can lie anywhere out to the edges of the max_dither circle. Default True.

random_seedint or None, optional

If set, then used as the random seed for the numpy random number generation for the dither offsets. Default None.

Attributes Summary


Attributes Documentation

cols_added = ['randomDitherFieldPerVisitRa', 'randomDitherFieldPerVisitDec']