diff --git a/steps/define_parset.cwl b/steps/define_parset.cwl index 79ca3f47e29dc982b8f113615bea517df53892f6..53a08606a47c5ed64d611b6d93d49f814bae62dc 100644 --- a/steps/define_parset.cwl +++ b/steps/define_parset.cwl @@ -5,28 +5,37 @@ class: CommandLineTool label: define_parset requirements: -- class: ShellCommandRequirement -- class: InitialWorkDirRequirement - listing: - - entryname: input.parset - entry: | - steps=[flagedge,flagelev$('is_raw'? ',aoflag,flagamp': '')$(inputs.demix? ',demix': '')] - # - flagedge.chan=[0..nchan/32-1,31*nchan/32..nchan-1] - flagedge.type=preflagger - # - aoflag.keepstatistics=true - aoflag.memoryperc=20 - aoflag.type=aoflagger - aoflag.autocorr=$(inputs.flag_autocorrelation?'True':'False') - aoflag.strategy=/usr/local/share/aoflagger/strategies/lofar-default.lua - # - flagelev.type=preflagger - flagelev.elevation=0deg..20deg - # - flagamp.amplmin=1e-30 - flagamp.type=preflagger -- class: InlineJavascriptRequirement + - class: ShellCommandRequirement + - class: InlineJavascriptRequirement + - class: InitialWorkDirRequirement + listing: + - entryname: input.parset + entry: | + steps=[flagedge,flagelev$('is_raw'? ',aoflag,flagamp': '')$(inputs.demix? ',demix': ''),filter,avg] + # + flagedge.chan=[0..nchan/32-1,31*nchan/32..nchan-1] + flagedge.type=preflagger + # + aoflag.keepstatistics=true + aoflag.memoryperc=20 + aoflag.type=aoflagger + aoflag.autocorr=$(inputs.flag_autocorrelation?'True':'False') + aoflag.strategy=/usr/local/share/aoflagger/strategies/lofar-default.lua + # + flagelev.type=preflagger + flagelev.elevation=0deg..20deg + # + flagamp.amplmin=1e-30 + flagamp.type=preflagger + # + filter.baseline="[CR]S*&" + filter.remove=True + filter.type=filter + # + avg.type=average + avg.timeresolution=4.0 + avg.freqresolution=48828.125Hz + inputs: - id: flag_autocorrelation