Skip to content

Commit

Permalink
enable detail plot
Browse files Browse the repository at this point in the history
  • Loading branch information
Athanaseus committed Feb 26, 2025
1 parent 94e06e4 commit 7ba690d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions rfinder/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ def setArgs(self, kwargs):
elif kwargs.get('chunks_spw_enable') is False:
self.cfg_par['rfi']['chunks']['spw_enable'] = False

if kwargs.get('plot_details_movies_movies_in_report') is True:
if kwargs.get('plot_details_movies_in_report') is True:
self.cfg_par['plots']['plot_details']['movies']['movies_in_report'] = True
elif kwargs.get('plot_details_movies_movies_in_report') is False:
elif kwargs.get('plot_details_movies_in_report') is False:
self.cfg_par['plots']['plot_details']['movies']['movies_in_report'] = False

if kwargs.get('cleanup_enable') is True:
Expand All @@ -138,7 +138,10 @@ def setArgs(self, kwargs):
self.cfg_par['rfi']['noise_measure_edges'] = kwargs['frequency_interval']
if kwargs.get('plot_details_enable'):
self.cfg_par['plots']['plot_details']['enable'] = True
if kwargs.get('rfi_enable') is False:
if kwargs.get('rfi_enable') is True:
self.cfg_par['rfi']['rfi_enable'] = True
self.cfg_par['plots']['plot_details']['enable'] = True
elif kwargs.get('rfi_enable') is False:
self.cfg_par['rfi']['rfi_enable'] = False
self.cfg_par['plots']['plot_details']['enable'] = False
if kwargs.get('plot_summary_enable') is True:
Expand Down
2 changes: 1 addition & 1 deletion rfinder/rfinder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ cabs:
info: "Generate Alt/Az GIF movies"
dtype: bool
default: true
movies-in-report:
in-report:
info: "Include movies in the generated report"
dtype: bool
default: true
Expand Down

0 comments on commit 7ba690d

Please sign in to comment.