예제 #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)