get_attrs_for_scope¶ torch_sim.state.get_attrs_for_scope(state, scope)[source]¶ Get attributes for a given scope. Parameters: state (SimState) – The state to get attributes for scope (Literal["per-atom", "per-system", "global"]) – The scope to get attributes for Returns: A generator of attribute names and values Return type: Generator[tuple[str, Any], None, None]