LSSTDESC/healsparse

Add information on quick visualization to the documentation

Closed this issue · 1 comments

I regularly use the following pattern for the quick visualization of a healsparse map:

vpix, ra, dec = hsp_map.valid_pixels_pos(return_pixels=True)
plt.hexbin(ra, dec, C=hsp_map[vpix])
plt.colorbar()
plt.show()

This isn't necessarily obvious, and doesn't make things super fancy, but it does work in a pinch and is helpful to know. This should be added to the documentation in a short section on visualization.

When we are comfortable with cartosky we can also recommend that as a way to do more sophisticated visualization.

closed by #109