diff --git a/python/lsst/sims/featureScheduler/utils/utils.py b/python/lsst/sims/featureScheduler/utils/utils.py index 19f306a..7ca1965 100644 --- a/python/lsst/sims/featureScheduler/utils/utils.py +++ b/python/lsst/sims/featureScheduler/utils/utils.py @@ -424,10 +424,10 @@ def __init__(self, nside=None, fov_radius=1.75, decimals=5): if nside is None: nside = set_default_nside() - self.tree = hp_kd_tree(nside=nside, decimals=decimals) - self.radius = np.round(xyz_angular_radius(fov_radius), decimals=self.decimals) self.decimals = decimals - + self.tree = hp_kd_tree(nside=nside, decimals=self.decimals) + self.radius = np.round(xyz_angular_radius(fov_radius), decimals=self.decimals) + def __call__(self, ra, dec, **kwargs): """ Parameters