HpmapCross

class rubin_sim.scheduler.utils.HpmapCross(nside=32, radius=1.75, radius_search=1.75)

Bases: object

Find the cross-correlation of a healpix map and a bunch of rotated pointings

Methods Summary

__call__(x[, return_pointings_map])

Parameters:

minimize([ra_delta, dec_delta, rot_delta])

Let's find the minimum of the cross correlation.

set_map(inmap)

Set the map that will be cross correlated

Methods Documentation

__call__(x, return_pointings_map=False)
Parameters:
x[0], ra_rotfloat

Amount to rotate the fields in RA (radians)

x[1], dec_rotfloat

Amount to rotate the fields in Dec (radians)

x[2], im_rotfloat

Initial rotation to apply to fields (radians)

return_pointings_mapbool (False)

If set, return the overlapping fields and the resulting observing helpix map

Returns:
cross_corrfloat

If return_pointings_map is False, return the sum of the pointing map multipled with the

minimize(ra_delta=1.0, dec_delta=1.0, rot_delta=30.0)

Let’s find the minimum of the cross correlation.

set_map(inmap)

Set the map that will be cross correlated