From c9ca586520d358adde1a9211c88a6fbd4e7e64bc Mon Sep 17 00:00:00 2001 From: Jeremy Kubica <104161096+jeremykubica@users.noreply.github.com> Date: Thu, 17 Oct 2024 11:05:08 -0400 Subject: [PATCH] Change .value to .deg --- src/hats/pixel_math/margin_bounding.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hats/pixel_math/margin_bounding.py b/src/hats/pixel_math/margin_bounding.py index 845ab22e..a6713c5b 100644 --- a/src/hats/pixel_math/margin_bounding.py +++ b/src/hats/pixel_math/margin_bounding.py @@ -69,7 +69,7 @@ def check_margin_bounds(r_asc, dec, pixel_order, pixel, margin_threshold, step=1 points_coords = SkyCoord(ra=ra_matrix, dec=dec_matrix, unit="deg") bounds_coords = SkyCoord(ra=bounds_ra_matrix, dec=bounds_dec_matrix, unit="deg") - separations = points_coords.separation(bounds_coords).value + separations = points_coords.separation(bounds_coords).deg bisectors = np.apply_along_axis( _find_minimum_distance,