photometry

nyx.emitter.catalogs.gaia.photometry(catalog)[source]

(G, BP, RP) magnitudes, with missing BP/RP filled by median colour.

Parameters:

catalog (numpy.ndarray) – Structured catalog array.

Returns:

g, bp, rp – One finite entry per catalog row.

Return type:

numpy.ndarray

Raises:

ValueError – If no source has both BP and RP measured.