Skip to content

Commit

Permalink
Update rfi mode and enable param
Browse files Browse the repository at this point in the history
  • Loading branch information
Athanaseus committed Feb 23, 2024
1 parent 4f0d3e7 commit 713959a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rfinder/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,9 @@ def setArgs(self,args):
else:
self.cfg_par['general']['outlabel'] = '_'+self.cfg_par['general']['outlabel']

if (args.rfimode == 'rms_clip' or args.rfimode == 'use_flag'):
if (args.rfimode == 'rms_clip' or args.rfimode == 'use_flags'):
self.cfg_par['rfi']['RFInder_mode'] = args.rfimode
self.cfg_par['rfi']['rfi_enable'] = True
if args.sigma_clip:
self.cfg_par['rfi']['rms_clip'] = args.sigma_clip
if args.frequency_interval:
Expand Down

0 comments on commit 713959a

Please sign in to comment.