code: def write_metadata(self, fp):
          
          super(BaseDataModel, self).write_metadata(fp)
          fp.write_stilde(self.data)
docs: Adds data to the metadata that's written.
  
          Parameters
          ----------
          fp : pycbc.inference.io.BaseInferenceFile instance
              The inference file to write to.