LSSTDESC / CCL

DESC Core Cosmology Library: cosmology routines with validated numerical accuracy
BSD 3-Clause "New" or "Revised" License
145 stars 68 forks source link

Question about tSZ tracer in angular power spectrum calculation #1206

Closed ethlau closed 1 day ago

ethlau commented 3 days ago

I am interested in modeling cross-correlation between tSZ and lensing shear. Does the current code support using pressure profile as tracer? The tSZTracer function in tracer.py does not seem to do that. Any clarification would be appreciated. Thanks!

damonge commented 3 days ago

Hi Erwin. You can see an example of how to generate power spectra for tSZ using pressure profiles in one of our benchmark scripts: https://github.com/LSSTDESC/CCL/blob/master/benchmarks/test_sz.py

To interpret what's going on there, the halo model example notebook may be useful: https://github.com/LSSTDESC/CCLX/blob/master/Halo-model-Pk.ipynb

ethlau commented 1 day ago

Thanks!