feat: Path can now be specified in Corr.dump

This commit is contained in:
Fabian Joswig 2021-12-23 14:42:57 +01:00
parent b8c26fd41d
commit 8d8fa82bbe

View file

@ -584,16 +584,17 @@ class Corr:
return
def dump(self, filename):
def dump(self, filename, **kwargs):
"""Dumps the Corr into a pickle file
Parameters
----------
filename : str
Name of the file
path : str
specifies a custom path for the file (default '.')
"""
dump_object(self, filename)
return
dump_object(self, filename, **kwargs)
def print(self, range=[0, None]):
print(self.__repr__(range))