示例#1
0
    def save(self, path):
        """
        Saves an instance of the class using `amitgroup.io.save`.

        Parameters
        ----------
        path : str
            Output path to HDF5 file.
        """
        io.save(path, self.save_to_dict())
示例#2
0
    def save(self, path):
        """
        Saves an instance of the class using `amitgroup.io.save`. 

        Parameters
        ----------
        path : str
            Output path to HDF5 file.
        """
        io.save(path, self.save_to_dict())
示例#3
0
 def save(self, path):
     d = self.save_to_dict()
     d['name'] = self.name
     io.save(path, d)
示例#4
0
 def save(self, path):
     d = self.save_to_dict()
     d['name'] = self.name
     io.save(path, d)