smc_lammps.generate.structures package¶
Subpackages¶
- smc_lammps.generate.structures.dna package
- Submodules
- smc_lammps.generate.structures.dna.dna module
StrandIdDnaParametersInteractionParametersInteractionParameters.sigma_DNA_DNAInteractionParameters.epsilon_DNA_DNAInteractionParameters.rcut_DNA_DNAInteractionParameters.k_bond_DNA_DNAInteractionParameters.sigma_SMC_DNAInteractionParameters.epsilon_SMC_DNAInteractionParameters.rcut_SMC_DNAInteractionParameters.sigma_upper_site_DNAInteractionParameters.rcut_lower_site_DNAInteractionParameters.epsilon_upper_site_DNAInteractionParameters.__init__()
TetherTether.ObstacleTether.WallTether.GoldTether.polymerTether.dna_tether_idTether.obstacleTether.bondsTether.anglesTether.get_gold_mass()Tether.get_obstacle()Tether.create_tether()Tether.move()Tether.get_all_groups()Tether.handle_end_points()Tether.add_interactions()Tether.add_tether_interactions()Tether.get_bonds()Tether.get_angles()Tether.__init__()
class_decorator_factory()with_tether()DnaConfigurationDnaConfiguration.PostProcessParametersDnaConfiguration.set_parameters()DnaConfiguration.set_smc()DnaConfiguration.__init__()DnaConfiguration.beadsDnaConfiguration.bead_sizesDnaConfiguration.bead_bondsDnaConfiguration.molecule_overridesDnaConfiguration.tetherDnaConfiguration.all_dna_groupsDnaConfiguration.get_all_groups()DnaConfiguration.get_dna_config()DnaConfiguration.get_post_process_parameters()DnaConfiguration.strand_concat()DnaConfiguration.dna_indices_list_get_all_dna()DnaConfiguration.dna_indices_list_get_dna_from_to()DnaConfiguration.dna_indices_list_get_dna_to()DnaConfiguration.add_interactions()DnaConfiguration.map_to_atom_id()DnaConfiguration.get_bonds()DnaConfiguration.get_angles()DnaConfiguration.update_tether_bond()DnaConfiguration.change_dna_stiffness()DnaConfiguration.add_bead_to_dna()DnaConfiguration.get_stopper_ids()DnaConfiguration.str_to_config()
LineFoldedRightAngleDoubledObstacleSafetyObstacleSafetyAdvancedObstacleSafetyAdvancedObstacleSafety.__init__()AdvancedObstacleSafety.get_dna_config()AdvancedObstacleSafety.get_post_process_parameters()AdvancedObstacleSafety.get_stopper_ids()AdvancedObstacleSafety.add_interactions()AdvancedObstacleSafety.get_all_groups()AdvancedObstacleSafety.get_angles()AdvancedObstacleSafety.get_bonds()
- smc_lammps.generate.structures.dna.dna_creator module
- smc_lammps.generate.structures.smc package
- Submodules
- smc_lammps.generate.structures.smc.smc module
SMCSMC.use_rigid_hingeSMC.posSMC.t_arms_headsSMC.t_kleisinSMC.t_shieldSMC.t_hingeSMC.t_atpSMC.t_upper_siteSMC.t_middle_siteSMC.t_lower_siteSMC.t_ref_siteSMC.t_side_siteSMC.k_bondSMC.k_hingeSMC.max_bond_lengthSMC.k_elbowSMC.k_armSMC.k_align_siteSMC.k_foldSMC.k_asymmetrySMC.bridge_widthSMC.__init__()SMC.arm_lengthSMC.arms_angle_ATPSMC.folding_angle_ATPSMC.folding_angle_APOSMC.elbow_attractionSMC.elbow_spacingSMC.hinge_radiusSMC.get_molecule_ids()SMC.has_toroidal_hinge()SMC.has_side_site()SMC.get_groups()SMC.get_repulsive_groups()SMC.get_bonds()SMC.get_angles()SMC.get_impropers()SMC.add_repel_interactions()
- smc_lammps.generate.structures.smc.smc_creator module
SMC_PosSMC_CreatorSMC_Creator.SMC_spacingSMC_Creator.upper_site_hSMC_Creator.upper_site_vSMC_Creator.middle_site_hSMC_Creator.middle_site_vSMC_Creator.lower_site_hSMC_Creator.lower_site_vSMC_Creator.__init__()SMC_Creator.arm_lengthSMC_Creator.bridge_widthSMC_Creator.use_toroidal_hingeSMC_Creator.hinge_radiusSMC_Creator.hinge_openingSMC_Creator.add_side_siteSMC_Creator.kleisin_radiusSMC_Creator.folding_angle_APOSMC_Creator.seedSMC_Creator.small_noiseSMC_Creator.get_arms()SMC_Creator.get_bridge()SMC_Creator.get_heads_kleisin()SMC_Creator.shielded_site_template()SMC_Creator.transpose_rotate_transpose()SMC_Creator.get_interaction_sites()SMC_Creator.get_toroidal_hinge()SMC_Creator.get_smc()SMC_Creator.get_mass_per_atom()
Submodules¶
smc_lammps.generate.structures.polymer module¶
- class smc_lammps.generate.structures.polymer.Polymer(*atom_groups: AtomGroup)¶
Bases:
objectOne connected polymer / strand, comprised of any number of atom groups
- split(split: tuple[AtomGroup, int]) tuple[AtomGroup, AtomGroup]¶
split the polymer in two pieces, with the split atom id part of the second group. Note: this simply changes the underlying atom groups
- full_list() ndarray[tuple[Any, ...], dtype[float32]]¶
- full_list_length() int¶
- handle_negative_index(index: int) int¶
- indices_list_from_to(from_index: int, to_index: int) list[tuple[tuple[AtomGroup, int], tuple[AtomGroup, int]]]¶
- convert_ratio(ratio: float) int¶
smc_lammps.generate.structures.structure_creator module¶
- smc_lammps.generate.structures.structure_creator.get_interpolated(spacing: float, values) ndarray[tuple[Any, ...], dtype[float32]]¶
spacing: distance between points along curve values: list of 3d points to use in the interpolation returns n equidistant points on an interpolated curve
- smc_lammps.generate.structures.structure_creator.get_straight_segment(n: int, direction=(1, 0, 0)) ndarray[tuple[Any, ...], dtype[float32]]¶
returns a straight segment of n beads with unit spacing starting at the origin and going the in provided direction (positive x-axis by default)
- smc_lammps.generate.structures.structure_creator.get_circle_segment_unit_radius(n: int, end_inclusive: bool, theta_start: float = 0, theta_end: float = 6.283185307179586, normal_direction=(0, 0, 1)) ndarray[tuple[Any, ...], dtype[float32]]¶
- smc_lammps.generate.structures.structure_creator.get_circle_segment(n: int, end_inclusive: bool, theta_start: float = 0, theta_end: float = 6.283185307179586, normal_direction=(0, 0, 1)) ndarray[tuple[Any, ...], dtype[float32]]¶
returns a segment of a circle of n beads with unit spacing centered at the origin within the plane perpendical to the given normal_direction (in the x-y plane by default)
- smc_lammps.generate.structures.structure_creator.attach(reference_segment: ndarray[tuple[Any, ...], dtype[float32]], other_segment: ndarray[tuple[Any, ...], dtype[float32]], delete_overlap: bool, extra_distance: float = 0.0) ndarray[tuple[Any, ...], dtype[float32]]¶
attaches the other_segment by moving its beginning to the end of the reference_segment
- smc_lammps.generate.structures.structure_creator.attach_chain(reference_segment: ndarray[tuple[Any, ...], dtype[float32]], list_of_args) list[ndarray[tuple[Any, ...], dtype[float32]]]¶
returns a list of the updated segments