ism3d.uvhelper.ms¶
Functions
check flag consistancy across channels it’s able to handle ms with multiple spw/pol. |
|
doesn’t really work yet (see statwt.py) performe the following procedures: 1. save current flagging 2. use statwt to recalculate weight 3. flag weightoutlier. |
|
flagged the channel if the data from contributing rows are partially flagged this is <unchflag> in the CASA 5 xutils |
|
flagged the entire row if it’s partially flagged use this with cautions and you’re removing potentially large amount of rows |
|
edge_list: for each vis, we exclude some edge channels for evluation as they might be flagged in pipeline chanbin: the channel width will be chanbin*max(chanwidth among vis_list) output freqgrid will be covered by all vis_list fgrid: freqeuncy grid df: frequency resolution |
|
get the frequency sampling grid of one SPW in a MS, in a specified frame edge is for original grid |
|
Note: |
|
remove columns from MS (only handle one column currently) By default, the function will check the available column names without removing any column. |
|
Empty the POINTING table |
|
attach new visibility data/model values into an MS |