picogl.tests.test_calpha_mesh ============================= .. py:module:: picogl.tests.test_calpha_mesh .. autoapi-nested-parse:: Tests for :class:`~molib.gl.mesh.calpha.CalphaMeshBuilder`. Functions --------- .. autoapisummary:: picogl.tests.test_calpha_mesh._atom picogl.tests.test_calpha_mesh._chain_color_fn picogl.tests.test_calpha_mesh._domain_color_fn picogl.tests.test_calpha_mesh.test_calpha_mesh_filters_to_ca_and_sorts_by_residue picogl.tests.test_calpha_mesh.test_calpha_mesh_skips_chain_with_one_ca picogl.tests.test_calpha_mesh.test_calpha_mesh_chain_mode_broadcasts_chain_colors picogl.tests.test_calpha_mesh.test_calpha_mesh_domain_mode_uses_atom_color picogl.tests.test_calpha_mesh.test_calpha_mesh_as_meshdata_is_unindexed_line_strip Module Contents --------------- .. py:function:: _atom(name: str, residue_number: int, coords: tuple[float, float, float], *, chain_id: str = 'A', color: tuple[float, float, float] = (0.2, 0.3, 0.4)) -> types.SimpleNamespace .. py:function:: _chain_color_fn(ca_atoms: list[Any], chain_colors: dict[str, tuple[float, float, float]], chain_id: str) -> tuple[numpy.ndarray, numpy.ndarray] .. py:function:: _domain_color_fn(ca_atoms: list[Any], chain_colors: dict[str, tuple[float, float, float]], chain_id: str) -> tuple[numpy.ndarray, numpy.ndarray] .. py:function:: test_calpha_mesh_filters_to_ca_and_sorts_by_residue() -> None .. py:function:: test_calpha_mesh_skips_chain_with_one_ca() -> None .. py:function:: test_calpha_mesh_chain_mode_broadcasts_chain_colors() -> None .. py:function:: test_calpha_mesh_domain_mode_uses_atom_color() -> None .. py:function:: test_calpha_mesh_as_meshdata_is_unindexed_line_strip() -> None