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

Bases: RandomDitherFieldPerVisitStacker

Randomly dither the RA and Dec pointings up to max_dither degrees from center, one dither offset per night. All fields observed within the same night get the same offset.

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.

night_colstr, optional

The name of the night column in the data. Default ‘night’.

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 = ['randomDitherPerNightRa', 'randomDitherPerNightDec']