@@ -542,7 +542,8 @@ def print_results(self, concise=False):
542542 print (gen_results_fg_str (self , concise ))
543543
544544
545- def save_model_report (self , index , file_name , file_path = None , plt_log = False , ** plot_kwargs ):
545+ def save_model_report (self , index , file_name , file_path = None , plt_log = False ,
546+ add_settings = True , ** plot_kwargs ):
546547 """"Save out an individual model report for a specified model fit.
547548
548549 Parameters
@@ -555,14 +556,16 @@ def save_model_report(self, index, file_name, file_path=None, plt_log=False, **p
555556 Path to directory to save to. If None, saves to current directory.
556557 plt_log : bool, optional, default: False
557558 Whether or not to plot the frequency axis in log space.
559+ add_settings : bool, optional, default: True
560+ Whether to add a print out of the model settings to the end of the report.
558561 plot_kwargs : keyword arguments
559562 Keyword arguments to pass into the plot method.
560-
561563 """
562-
563- self .get_fooof (ind = index , regenerate = True ).save_report (file_name , file_path , plt_log , ** plot_kwargs )
564564
565-
565+ self .get_fooof (ind = index , regenerate = True ).save_report (\
566+ file_name , file_path , plt_log , ** plot_kwargs )
567+
568+
566569 def to_df (self , peak_org ):
567570 """Convert and extract the model results as a pandas object.
568571
0 commit comments