Skip to content

Commit

Permalink
Update app/routes/docs.client.samples.md
Browse files Browse the repository at this point in the history
Co-authored-by: Leo Singer <[email protected]>
  • Loading branch information
Vidushi-GitHub and lpsinger authored Dec 22, 2024
1 parent b9f1b53 commit d95568f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/docs.client.samples.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ radius = 2.5
xyz = hp.ang2vec(ra, dec, lonlat=True)

# Obtain an array of indices for the pixels inside the circle
ipix_disc = hp.query_disc(nside, xyz, radius)
ipix_disc = hp.query_disc(nside, xyz, np.deg2rad(radius))

# Sum the probability in all of the matching pixels:
hpx[ipix_disc].sum()
Expand Down

0 comments on commit d95568f

Please sign in to comment.