Example 11: Catalog-based power spectra for spin-s fields ========================================================= This sample script showcases the use of the NmtFieldCatalog class for spin-2 source catalogs. .. literalinclude:: ../../test/sample_shearcatalog.py :language: python The result of running this is: .. image:: ../figs/sample_shearcatalog_mask.png :width: 500 :alt: Survey mask .. image:: ../figs/sample_shearcatalog_mask_pcl.png :width: 500 :alt: Coupled mask power spectrum .. image:: ../figs/sample_shearcatalog_decoupled.png :width: 500 :alt: Decoupled EE and BB power spectra