| Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
| Version 1.9 Build 1488 |
|
| Package | general | |
| Module | ms | |
| Tool | ms |
| pixellevel | cliplevel for pixels | ||
| Allowed: | positive value | ||
| timelevel | cliplevel for time slots | ||
| Allowed: | positive value | ||
| channellevel | cliplevel for channels | ||
| Allowed: | positive value | ||
myms:=ms("3C273XC1.MS");
myms.select([antenna1=3]);
myms.fillbuffer("DATA");
stats:=myms.diffbuffer("TIME",15);
myms.clipbuffer(6,5,5);
We open the MS for reading, select a subset and read the data into the buffer. We then remove the average over a 15 point time window and clip the resulting data at 6 times the average absolute deviation from the median for individual pixels, and at 5 times this for channels and timeslots.