template_bank_generator_HM.TemplateBank.remove_nonphysical_templates ==================================================================== Back to :doc:`Class page <../classes/template_bank_generator_HM.TemplateBank>` Summary ------- Removes unphysical templates using the normalizing flow based on their astrophysical prior probability. Signature --------- .. code-block:: python def remove_nonphysical_templates(self, grid_axes, **kwargs) .. list-table:: Input variables :header-rows: 1 * - Name - Type - Default - Description * - ``grid_axes`` - - - - - - * - ``\*\*kwargs`` - - - - - - Output variables ---------------- .. list-table:: :header-rows: 1 * - Return annotation - Docstring type - Description * - ``None`` - - - - Docstring --------- .. code-block:: text Removes unphysical templates using the normalizing flow based on their astrophysical prior probability.