drphilmarshall / Pangloss

Line of sight mass reconstruction in the Universe
GNU General Public License v2.0
10 stars 10 forks source link

Background galaxy catalogs should be able to bin themselves #68

Closed sweverett closed 8 years ago

sweverett commented 9 years ago

It could be useful for a BackgroundCatalog to be able to plot a map of itself with the average value of different quantities (ellipticity, shear, convergence, etc) plotted as a colormap over an inputted bin-size. This method should also be able to bin the Kappamaps and Shearmaps in the same way for direct comparison.

drphilmarshall commented 9 years ago

Also visualizing cosmological density fields is the thing that will make us all famous.

sweverett commented 9 years ago

Good point, forgot the most important part.

sweverett commented 9 years ago

Switched this issue to you @drphilmarshall. Have fun making mass maps!

drphilmarshall commented 9 years ago

Will do! :-)

On Thu, Aug 6, 2015 at 3:08 PM, Spencer Everett notifications@github.com wrote:

Switched this issue to you @drphilmarshall https://github.com/drphilmarshall. Have fun making mass maps!

— Reply to this email directly or view it on GitHub https://github.com/drphilmarshall/Pangloss/issues/68#issuecomment-128523328 .

drphilmarshall commented 9 years ago

PS. I am working on demos/LensByHalos.nb, so best keep off that notebook for now to avoid conflicts. Thanks!

sweverett commented 8 years ago

While more features could be added at a later time, background catalogs can now bin their convergence and shear values into corresponding kappamaps and shearmaps with a desired binsize. The lensing values binned can be from either lens_by_maps() or lens_by_halos(). Saving the figure directly to data/binned_maps is an option. Here are two examples, the first from lensed=map and the second from `lensed=halo': Map: kappa_map Halo: kappa_halo