convenient shortcut

This commit is contained in:
Martin Diehl 2023-12-17 07:02:53 +01:00
parent 7544e81349
commit db09ca37e6
No known key found for this signature in database
GPG Key ID: 1FD50837275A0A9B
1 changed files with 13 additions and 0 deletions

View File

@ -444,6 +444,19 @@ class Result:
return self._manage_view('del',increments,times,phases,homogenizations,fields)
def view_reset(self):
"""
Reset to initial view.
Returns
-------
modified_view : damask.Result
View with all attributes visible.
"""
return self.view(increments='*',phases='*',homogenizations='*',fieds='*',protected=True)
def rename(self,
name_src: str,
name_dst: str):