flagtemplate_add

interferopy.casatools_vla_pipe.flagtemplate_add(sdm='', flagcmds=[], outfile='')[source]

Append additional flagging commands to the flagtemplate if they are not present already. Useful for L-band VLA HI obs: e.g. flagcmds=[“mode=’manual’ spw=’1,2:0~64,4’”]

Parameters
  • sdm – path to visibility data, will append .flagtemplate.txt to it

  • flagcmds – list of commands to append into the template file

  • outfile – override naming to custom filename

Returns

None