<jupyter_start><jupyter_text>Translate<jupyter_code>molecular_system = msm.demo['Met-enkephalin']['vacuum.msmpk']
molecular_system = msm.convert(molecular_system)
msm.info(molecular_system)
msm.get(molecular_system, coordinates=True)
n_atoms = msm.get(molecular_system, n_atoms=True)
shifts = np.ones([n_atoms,3], dtype=float)*msm.puw.unit('nm')
molecular_system = msm.structure.translate(molecular_system, translation=shifts)
coordinates = msm.get(molecular_system, coordinates=True)
coordinates
shifts = np.array([-1.0, -1.0, -1.0], dtype=float)*msm.puw.unit('nm')
molecular_system = msm.structure.translate(molecular_system, translation=shifts,
                                           selection=[0,1,2], in_place=False)
msm.get(molecular_system, coordinates=True)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.14017521902377972, 'fraction_numerical': 0.012515644555694618, 'mean_word_length': 6.407407407407407, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '212959', 'license': 'MIT', 'n_tokens_mistral': 292, 'n_tokens_neox': 272, 'n_words': 32, 'path': 'docs/contents/user/structure/translate.ipynb', 'repo_name': 'uibcdf/MolModSAKs', 'size': '799'}