ComputeProbGalTargeted#

tilepy.include.PointingTools.ComputeProbGalTargeted(prob, time, finalGals, visiGals, allGals, tsum_dP_dV, talreadysumipixarray, nside, thisminz, obspar, counter, dirName)[source] [edit on github]#

Compute the galaxy and GW probabilities in FoV, excluding already observed regions, and optionally plot the sky coverage and galaxy positions.

This function avoids recounting previously observed zones and returns the probability of galaxies (P_Gal) and GW signal (P_GW) in the current FoV, the galaxies outside the current FoV but within the LIGO signal region, and the updated list of observed pixels.

Returns:

  • P_Gal (float) – Probability of galaxies within FoV in the LIGO signal region.

  • P_GW (float) – Total probability within the FoV of the LIGO signal.

  • noncircleGal (astropy.table.Table) – Table of galaxies outside the current FoV but within the LIGO signal region.

  • talreadysumipixarray (list) – Updated list of observed HEALPix pixel indices.