class rubin_sim.maf.stackers.SpiralDitherFieldPerVisitStacker(ra_col='fieldRA', dec_col='fieldDec', degrees=True, field_id_col='fieldId', num_points=60, max_dither=1.75, n_coils=5, in_hex=True)

Bases: BaseDitherStacker

Offset along an equidistant spiral with num_points, out to a maximum radius of max_dither. Each visit to a field receives a new, sequential 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.

field_id_colstr, optional

The name of the fieldId column in the data. Used to identify fields which should be identified as the ‘same’. Default ‘fieldId’.

num_pointsint, optional

The number of points in the spiral. Default 60.

max_ditherfloat, optional

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

n_coilsint, optional

The number of coils the spiral should have. Default 5.

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.

Attributes Summary


Attributes Documentation

cols_added = ['spiralDitherFieldPerVisitRa', 'spiralDitherFieldPerVisitDec']