code: def save_analysis(self, filepath=None, **kwargs):
          
          # We pass a copy of the analysis attribute dictionary.
          dict_obj = deepcopy(self.analysis_output)
          # If no filepath is provided we create one.
          if filepath is None:
              filepath = "_".join(
                  (str(self.system_id), "pywindow_analysis")
              )
              filepath = '/'.join((os.getcwd(), filepath))
          # Dump the dictionary to json file.
          Output().dump2json(dict_obj, filepath, default=to_list, **kwargs)
          return
docs: Dump the content of :attr:`analysis_output` as JSON dictionary.
  
          Parameters
          ----------
          filepath : :class:`str`
              The filepath for the JSON file.
  
          Returns
          -------
          None : :class:`NoneType`