flagMatrix

Return to directory of Todd's CASA extensions

Runs the agent flagger tool on every baseline and generates an ASCII plot showing which baselines are mostly flagged.

Usage:

amc.flagMatrix(vis, tool=aftool, report='report0', field='', spw='', array='', 
       feed='', scan='', correlation='', intent='', observation='', 
       thresholdPercent=95, showAutocorrelations=False)

Example:

CASA <3>: amc.flagMatrix('uid___A002_Xa57844_X117d.ms',spw='10',field='3',thresholdPercent=95)
332/435 baselines (76.000000%) are flagged
      C C C C C C C D D D D D D D D D D D D D D D D D D D D D P P 
      M M M M M M M A A A A A A A A A A A A V V V V V V V V V M M 
      0 0 0 0 1 1 1 4 4 4 5 5 5 5 5 5 6 6 6 0 1 1 1 1 2 2 2 2 0 0 
      2 4 6 7 0 1 2 2 3 4 1 2 5 7 8 9 1 2 3 5 0 2 5 8 0 1 2 4 2 3
CM02  . X X X X X   X X     X X       X X         X X X X X X X X
CM04    . X X X X X X X X X X X X X X X X X X X X X X X X X X X X
CM06      .   X       X X X X X X           X X X X   X X
CM07        . X X X X X     X X           X X X X       X X
CM10          . X X X X X X X X X X X X X X X X X X X X X X X X X
CM11            .   X X X X X X X X X X X X X X X X X X X
CM12              .   X X X X             X X X X X X X X X X X X
DA42                . X X X X X X X X X X X X X X X X X X X X X X
DA43                  . X X X X X X X X           X X X X
DA44                    .     X   X X X X           X X X X
DA51                      .       X   X X   X X X X X X X X X X X
DA52                        . X X X X X X X X X X X X X X X X X X
DA55                          . X X X X X X X X X X X X X X X X X
DA57                            . X X X X X X X X X X X X X X X X
DA58                              . X X X X X X X X X X X X X X X
DA59                                . X X X X X X X X X X X X X X
DA61                                  . X X X X X X X X X
DA62                                    .   X X X X             X
DA63                                      .   X X     X X X X X X
DV05                                        . X X X X X X X X X X
DV10                                          . X X X X X X X X X
DV12                                            . X X X X X X X X
DV15                                              . X           X
DV18                                                . X X X
DV20                                                  .       X
DV21                                                    . X X
DV22                                                      . X X X
DV24                                                        . X
PM02                                                          . X
PM03                                                            .
-- ToddHunter - 2015-08-12
Topic revision: r1 - 2015-08-12, ToddHunter
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback