besmarts.core namespace¶
Submodules¶
- besmarts.core.arrays module
argmax()argmin()argsort()array_abs()array_add()array_basis()array_cross()array_difference()array_distance()array_divide()array_inner_product()array_magnitude()array_mean()array_multiply()array_round()array_scale()array_sum()array_translate()array_unit()batched()bitvecbitvec_all()bitvec_and()bitvec_any()bitvec_bits()bitvec_clear()bitvec_copy()bitvec_equal()bitvec_explicit_flip()bitvec_is_inverted()bitvec_is_null()bitvec_not()bitvec_off()bitvec_off_first()bitvec_on()bitvec_on_first()bitvec_or()bitvec_reduce()bitvec_subset()bitvec_subtract()bitvec_sum()bitvec_superset()bitvec_xor()find_unsigned_typecode_min()flatten_list()intvecmeasure_distance()
- besmarts.core.assignments module
angle_assignment_floatangle_assignment_float_matrixangle_assignment_stratom_assignment_floatatom_assignment_strb2matrix()bmatrix()bond_assignment_floatbond_assignment_float_matrixbond_assignment_strgraph_assignmentgraph_assignment_copy()graph_assignment_floatgraph_assignment_float_matrixgraph_assignment_geometry_angle_matrix()graph_assignment_geometry_angles()graph_assignment_geometry_bond_matrix()graph_assignment_geometry_bonds()graph_assignment_geometry_outofplane_matrix()graph_assignment_geometry_outofplanes()graph_assignment_geometry_pair_matrix()graph_assignment_geometry_pairs()graph_assignment_geometry_position()graph_assignment_geometry_torsion_matrix()graph_assignment_geometry_torsions()graph_assignment_jacobian2_angle_matrix()graph_assignment_jacobian2_angles()graph_assignment_jacobian2_bond_matrix()graph_assignment_jacobian2_bonds()graph_assignment_jacobian2_outofplane_matrix()graph_assignment_jacobian2_outofplanes()graph_assignment_jacobian2_pair_matrix()graph_assignment_jacobian2_pairs()graph_assignment_jacobian2_torsion_matrix()graph_assignment_jacobian2_torsions()graph_assignment_jacobian_angle_matrix()graph_assignment_jacobian_angles()graph_assignment_jacobian_bond_matrix()graph_assignment_jacobian_bonds()graph_assignment_jacobian_distance_matrix()graph_assignment_jacobian_distances()graph_assignment_jacobian_outofplane_matrix()graph_assignment_jacobian_outofplanes()graph_assignment_jacobian_pair_matrix()graph_assignment_jacobian_pairs()graph_assignment_jacobian_torsion_matrix()graph_assignment_jacobian_torsions()graph_assignment_matrix_angle_indices()graph_assignment_matrix_bond_indices()graph_assignment_matrix_outofplane_indices()graph_assignment_matrix_pair_indices()graph_assignment_matrix_torsion_indices()graph_assignment_to_format_xyz()graph_assignment_to_graph_db_graph()graph_assignment_to_graph_db_row()graph_dbgraph_db_add_graph()graph_db_add_multi_molecule()graph_db_add_single_molecule_list()graph_db_add_single_molecule_state()graph_db_addressgraph_db_columngraph_db_entrygraph_db_entry_add_table()graph_db_get()graph_db_get_entries()graph_db_get_graphs()graph_db_graphgraph_db_graph_to_graph_assignment()graph_db_iter_values()graph_db_rowgraph_db_selectiongraph_db_set_gradient()graph_db_set_positions()graph_db_tablegraph_db_table_get_row_ids()make_structure_assignment_type()outofplane_assignment_floatoutofplane_assignment_float_matrixoutofplane_assignment_strpair_assignment_floatpair_assignment_float_matrixparse_xyz()smarts_assignmentsmarts_assignment_floatsmarts_assignment_strsmarts_hierarchy_assignmentsmiles_assignmentsmiles_assignment_copy()smiles_assignment_floatsmiles_assignment_geometry_angle_matrix()smiles_assignment_geometry_angles()smiles_assignment_geometry_distance_matrix()smiles_assignment_geometry_distances()smiles_assignment_geometry_outofplane_matrix()smiles_assignment_geometry_outofplanes()smiles_assignment_geometry_torsion_matrix()smiles_assignment_geometry_torsion_matrix_nonlinear()smiles_assignment_geometry_torsions()smiles_assignment_geometry_torsions_nonlinear()smiles_assignment_groupsmiles_assignment_group_angles()smiles_assignment_group_atoms()smiles_assignment_group_bonds()smiles_assignment_group_concatenate()smiles_assignment_group_copy()smiles_assignment_group_outofplanes()smiles_assignment_group_pairs()smiles_assignment_group_to_graph_db_entry()smiles_assignment_group_to_structure_assignment_group()smiles_assignment_group_torsions()smiles_assignment_jacobian2_angle_matrix()smiles_assignment_jacobian2_angles()smiles_assignment_jacobian2_distance_matrix()smiles_assignment_jacobian2_distances()smiles_assignment_jacobian2_outofplane_matrix()smiles_assignment_jacobian2_outofplanes()smiles_assignment_jacobian2_torsion_matrix()smiles_assignment_jacobian2_torsions()smiles_assignment_jacobian_angle_matrix()smiles_assignment_jacobian_angles()smiles_assignment_jacobian_distance_matrix()smiles_assignment_jacobian_distances()smiles_assignment_jacobian_outofplane_matrix()smiles_assignment_jacobian_outofplanes()smiles_assignment_jacobian_torsion_matrix()smiles_assignment_jacobian_torsions()smiles_assignment_to_graph_assignment()structure_assignment_floatstructure_assignment_groupstructure_assignment_group_copy()structure_assignment_strtopology_assignment_grouptorsion_assignment_floattorsion_assignment_float_matrixtorsion_assignment_strxyz_to_graph_assignment()
- besmarts.core.chem module
bechembechem_add()bechem_align_score()bechem_all()bechem_and()bechem_and_conditional()bechem_any()bechem_bits()bechem_bits_max()bechem_check_sane_compare()bechem_clear()bechem_copy()bechem_disable()bechem_dispatch_op()bechem_enable()bechem_fill()bechem_get()bechem_iadd()bechem_iand()bechem_identity()bechem_ior()bechem_is_fragment()bechem_is_null()bechem_is_valid()bechem_isubtract()bechem_iter()bechem_ixor()bechem_neg()bechem_or()bechem_recurse_fields()bechem_reduce()bechem_reduce_longest()bechem_subtract()bechem_subtract_conditional()bechem_to_fragments()bechem_xor()
- besmarts.core.clusters module
check_lbls_data_selections_equal()clustering_assign()clustering_build_assignment_mappings()clustering_build_label_mappings()clustering_build_ordinal_mappings()clustering_collect_split_candidates_ctxclustering_collect_split_candidates_serial()clustering_collect_split_candidates_single()clustering_collect_split_candidates_single_distributed()clustering_collect_structures()clustering_initial_conditions()clustering_node_remove_by_name()clustering_objectiveclustering_update_assignments()find_successful_candidates_distributed()get_assns()get_objective()match_group_assignments()objective_total()perform_operations()smarts_clusteringsmarts_clustering_find_max_depth()smarts_clustering_optimize()smarts_filter_bond_lengths()smarts_filter_data()
- besmarts.core.codecs module
SMILES_ELEMENT()graph_codecgraph_codec_chainintvec_codecintvec_codec_graph_decode()intvec_codec_graph_decode_auto()intvec_codec_structure_decode()intvec_codec_subgraph_decode()primitive_codec_aromaticprimitive_codec_bond_orderprimitive_codec_bond_ringprimitive_codec_chiralityprimitive_codec_connectivity_ringprimitive_codec_connectivity_totalprimitive_codec_elementprimitive_codec_formal_chargeprimitive_codec_formal_charge.count_charge_smiles()primitive_codec_formal_charge.decode_int()primitive_codec_formal_charge.decode_smarts()primitive_codec_formal_charge.encode_int()primitive_codec_formal_charge.encode_smarts()primitive_codec_formal_charge.encode_smiles()primitive_codec_formal_charge.tokenize_smarts()
primitive_codec_hydrogenprimitive_codec_link_dstprimitive_codec_link_srcprimitive_codec_ring_smallestprimitive_codec_unitprimitive_codec_unit_indexprimitive_codec_valenceprimitive_codec_variableprimitive_codecs_get()smarts_decode_distributed()smiles_decode_distributed()smiles_decode_list_distributed()
- besmarts.core.compute module
AutoProxy()BaseProxyClient()ConnectionListenerMakeProxyType()Process()ServerSocketClient()close_pools()close_workspaces()compute_remote()dispatch()dprint()manager_connect()manager_remote_get_iqueue()manager_remote_get_iqueue_thread()manager_remote_get_oqueue()manager_remote_get_oqueue_thread()manager_remote_get_state()manager_remote_get_state_thread()manager_remote_get_status()manager_remote_get_status_thread()manager_remote_queue_put()manager_remote_queue_put_thread()manager_remote_queue_qsize()manager_remote_queue_qsize_thread()myiqueuemyqueuequeue_get_nowait()queue_get_nowait_thread()register_pool()register_workspace()remote_connect()remote_init_thread()shm_init()shm_localsignal_kill_processes()thread_name_set()unregister_pool()unregister_workspace()workqueueworkqueue_get_workspace()workqueue_is_active()workqueue_list_workspaces()workqueue_localworkqueue_managerworkqueue_new_workspace()workqueue_push_workspace()workqueue_remoteworkqueue_remote_get_workspaces()workqueue_remote_get_workspaces_thread()workqueue_remote_is_active()workqueue_remote_put_workspaces()workqueue_remote_put_workspaces_thread()workqueue_remove_workspace()workspaceworkspace_flush()workspace_is_active()workspace_localworkspace_local.clear_iqueue()workspace_local.clear_oqueue()workspace_local.close()workspace_local.get_iqueue()workspace_local.get_oqueue()workspace_local.get_state()workspace_local.get_status()workspace_local.manager_start()workspace_local.pool_close()workspace_local.pool_start()workspace_local.reset()workspace_local.set_status()workspace_local.start()
workspace_local_remote_gather_thread()workspace_local_remote_loadbalance_thread()workspace_local_run()workspace_local_run_thread()workspace_local_submit()workspace_managerworkspace_poolworkspace_remoteworkspace_remote_compute()workspace_remote_local_gather_thread()workspace_remote_local_pusher_thread()workspace_remote_shm_init()workspace_remote_shm_init_thread()workspace_run()workspace_run_init()workspace_statusworkspace_submit_and_flush()
- besmarts.core.configs module
mapper_configsmarts_extender_configsmarts_perception_configsmarts_perception_config_copy()smarts_splitter_configsmarts_splitter_config.bit_search_limitsmarts_splitter_config.bit_search_minsmarts_splitter_config.branch_depth_limitsmarts_splitter_config.branch_depth_minsmarts_splitter_config.branch_limitsmarts_splitter_config.branch_minsmarts_splitter_config.copy()smarts_splitter_config.max_splitssmarts_splitter_config.primitivessmarts_splitter_config.return_matchessmarts_splitter_config.split_generalsmarts_splitter_config.split_specificsmarts_splitter_config.uniquesmarts_splitter_config.unique_complementssmarts_splitter_config.unique_complements_prefer_min
smiles_perception_config
- besmarts.core.db module
- besmarts.core.geometry module
angle()array_add()array_basis()array_cross()array_difference()array_distance()array_inner_product()array_magnitude()array_multiply()array_outer_product()array_round()array_scale()array_unit()bond()is_dihedral()is_outofplane()is_torsion()jacobian2_angle()jacobian2_angle_term_reduce()jacobian2_angle_terms()jacobian2_distance()jacobian2_distance_terms()jacobian2_outofplane()jacobian2_reshape_to_matrix()jacobian2_torsion()jacobian2_torsion_term_reduce()jacobian2_torsion_terms()jacobian_angle()jacobian_distance()jacobian_outofplane()jacobian_outofplane_v2()jacobian_torsion()jacobian_torsion_v2()measure_angle()measure_dihedral()measure_distance()outofplane()pair()torsion()
- besmarts.core.graph_visitors module
encoding_visitorenter_graph()find_branches()graph_visitorgraph_visitor.enter_graph()graph_visitor.on_ascend()graph_visitor.on_descend()graph_visitor.on_edge()graph_visitor.on_edge_enter()graph_visitor.on_edge_exit()graph_visitor.on_graph()graph_visitor.on_node()graph_visitor.on_node_edges()graph_visitor.on_node_enter()graph_visitor.on_node_exit()graph_visitor.on_start()graph_visitor.on_stop()
index_visitorlongest_path()smarts_visitorsmiles_visitorstructure_iter_bits()visit_descend()visit_graph()
- besmarts.core.graphs module
edge()graphgraph_all()graph_angles()graph_any()graph_as_structure()graph_as_subgraph()graph_atoms()graph_bits()graph_bits_max()graph_bonds()graph_clear()graph_complexity()graph_connection()graph_connections()graph_copy()graph_detect_rings()graph_disable_primitives_atom()graph_disable_primitives_bond()graph_edges_copy()graph_fill()graph_hash()graph_invert()graph_invert_all()graph_invert_any()graph_is_null()graph_is_valid()graph_minimum_spanning_tree()graph_nodes_copy()graph_outofplanes()graph_pairs()graph_relabel_nodes()graph_remove_hydrogen()graph_remove_nodes()graph_same()graph_set_primitives_atom()graph_set_primitives_bond()graph_shortest_path()graph_shortest_path_length()graph_shortest_paths()graph_symbols()graph_to_intvec()graph_to_structure()graph_to_structure_angles()graph_to_structure_atoms()graph_to_structure_bonds()graph_to_structure_outofplanes()graph_to_structure_pairs()graph_to_structure_topology()graph_to_structure_torsions()graph_to_structures()graph_to_subgraph()graph_to_subgraphs()graph_topology()graph_torsions()structurestructure_angle()structure_atom()structure_bits()structure_bond()structure_branch()structure_build()structure_clear()structure_connections()structure_copy()structure_edges()structure_extend()structure_fill()structure_frontier_nodes()structure_hash()structure_invert()structure_invert_any()structure_max_depth()structure_node_depth()structure_node_depths()structure_nodes()structure_outofplane()structure_print()structure_prune_null_nodes()structure_relabel_nodes()structure_remove_empty_leaves()structure_remove_full_leaves()structure_remove_hydrogen()structure_remove_nodes()structure_remove_unselected()structure_to_graph()structure_to_intvec()structure_to_subgraph()structure_topology_edges()structure_topology_nodes()structure_torsion()structure_unreachable_nodes()structure_up_to_depth()structure_vertices_at_depth()subgraphsubgraph_any()subgraph_as_graph()subgraph_as_structure()subgraph_bits()subgraph_connection()subgraph_connections()subgraph_copy()subgraph_edges()subgraph_fill()subgraph_hash()subgraph_invert()subgraph_invert_null()subgraph_nodes()subgraph_print()subgraph_relabel_nodes()subgraph_remove_unselected()subgraph_to_graph()subgraph_to_intvec()subgraph_to_structure()subgraph_to_structure_angle()subgraph_to_structure_bond()subgraph_to_structure_outofplane()subgraph_to_structure_torsion()subgraph_validate_structure()
- besmarts.core.hierarchies module
smarts_hierarchysmarts_hierarchy_copy()smarts_hierarchy_print()smarts_hierarchy_rename()smarts_hierarchy_to_structure_hierarchy()smarts_hierarchy_to_structure_hierarchy_angles()smarts_hierarchy_to_structure_hierarchy_atoms()smarts_hierarchy_to_structure_hierarchy_bonds()smarts_hierarchy_to_structure_hierarchy_outofplanes()smarts_hierarchy_to_structure_hierarchy_torsions()structure_hierarchystructure_hierarchy_copy()structure_hierarchy_to_smarts_hierarchy()
- besmarts.core.hierarchy_merge module
- besmarts.core.logs module
- besmarts.core.mapper module
align_score()align_score_ctxalign_score_parallel()difference()dispatch_boolean_op()filter_contains()filter_contains_ctxfilter_contains_parallel()group_by_isomorphism()intersection()intersection_conditional()intersection_list()intersection_list_dispatch()intersection_list_parallel()is_isomorphic()isomorphic()map_to()map_to_descend()map_vertices()map_vertices_ctxmap_vertices_parallel()mapped_typemapper()mapper_compose()mapper_compose_graphs()mapper_force_equality()mapper_force_subset()mapper_invert()mapper_match()neg()ordered_align_score()ordered_contains()overlap_scores()pairwise_overlap()subtract()subtract_conditional()subtract_conditional_left()subtract_conditional_right()union()union_ctxunion_list()union_list_dispatch()union_list_dispatch_distributed()union_list_distributed()union_list_parallel()xor()
- besmarts.core.optimization module
optimization_iterationoptimization_iteration_is_done()optimization_iteration_next()optimization_iteration_repeat_step()optimization_stepoptimization_step_copy()optimization_strategyoptimization_strategy.MERGEoptimization_strategy.MODIFYoptimization_strategy.SPLIToptimization_strategy.boundsoptimization_strategy.build_steps()optimization_strategy.filter_aboveoptimization_strategy.is_done()optimization_strategy.keep_belowoptimization_strategy.macro_accept_max_per_clusteroptimization_strategy.macro_accept_max_totaloptimization_strategy.macro_iteration()optimization_strategy.micro_accept_max_per_clusteroptimization_strategy.micro_accept_max_totaloptimization_strategy.repeat_step()optimization_strategy.restart()optimization_strategy.stepsoptimization_strategy.tree_iterator
optimization_strategy_build_macro_iterations()optimization_strategy_is_done()optimization_strategy_iteration_next()optimization_strategy_repeat_step()optimization_strategy_restart()
- besmarts.core.perception module
- besmarts.core.primitives module
primitive_codecprimitive_keyprimitive_key.AROMATICprimitive_key.BOND_ORDERprimitive_key.BOND_RINGprimitive_key.CHIRALITYprimitive_key.CONNECTIVITY_RINGprimitive_key.CONNECTIVITY_TOTALprimitive_key.ELEMENTprimitive_key.FORMAL_CHARGEprimitive_key.HYDROGENprimitive_key.LINK_DSTprimitive_key.LINK_SRCprimitive_key.RING_SMALLESTprimitive_key.UNITprimitive_key.UNIT_INDEXprimitive_key.VALENCEprimitive_key.VARIABLE
- besmarts.core.resolve module
- besmarts.core.returns module
- besmarts.core.rulesets module
- besmarts.core.splits module
assert_bonds()dprint()make_branches()process_split()process_split_ctxprocess_split_difference()process_split_difference_distributed()process_split_distributed()process_split_general_distributed()process_split_intersect()process_split_intersect_distributed()process_split_matches()process_split_matches_distributed()process_split_specific_distributed()split_all_partitions()split_branches()split_partition()split_return_typesplit_shm_load()split_single_bits()split_structures()split_structures_distributed()split_subgraphs()split_subgraphs_distributed()
- besmarts.core.topology module
- besmarts.core.tree_iterators module
tree_iter_breadth_first()tree_iter_breadth_first_single()tree_iter_depth_first()tree_iter_depth_first_single()tree_iter_dive()tree_iter_dive_reverse()tree_iter_dive_single()tree_iter_dive_single_reverse()tree_iter_to_root()tree_iter_to_root_single()yield_if()yield_if_single()yield_single()
- besmarts.core.tree_visitors module
tree_visitortree_visitor.on_ascend()tree_visitor.on_descend()tree_visitor.on_edge()tree_visitor.on_edge_enter()tree_visitor.on_edge_exit()tree_visitor.on_node()tree_visitor.on_node_edges()tree_visitor.on_node_enter()tree_visitor.on_node_exit()tree_visitor.on_start()tree_visitor.on_stop()tree_visitor.on_tree()
- besmarts.core.trees module