We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b534f41 commit e9c6febCopy full SHA for e9c6feb
src/lsdb_crossmatch/mag_difference_crossmatch.py
@@ -76,18 +76,6 @@ def perform_crossmatch(
76
max_distance=max_d_chord,
77
)
78
79
- if len(left_idx_all) == 0:
80
- return (
81
- np.array([], dtype=np.int64),
82
83
- pd.DataFrame(
84
- {
85
- "_dist_arcsec": pd.Series(dtype=pd.ArrowDtype(pa.float64())),
86
- "_magnitude_difference": pd.Series(dtype=pd.ArrowDtype(pa.float64())),
87
- }
88
- ),
89
- )
90
-
91
arc_distances_all = np.degrees(2.0 * np.arcsin(0.5 * chord_distances_all)) * 3600
92
93
all_matches_df = pd.DataFrame(
0 commit comments