def save_photon_hdf5(self, identity=None, overwrite=True, path=None):
filepath = self.filepath<EOL>if path is not None:<EOL><INDENT>filepath = Path(path, filepath.name)<EOL><DEDENT>self.merge_da()<EOL>data = self._make_photon_hdf5(identity=identity)<EOL>phc.hdf5.save_photon_hdf5(data, h5_fname=str(filepath),<EOL>overwrite=overwrite)<EOL>
Create a smFRET Photon-HDF5 file with current timestamps.