Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1488
News FAQ
Search Home


next up previous contents index
Next: dish.gsget - Function Up: dish - Tool Previous: dish.gms - Function


dish.gsflag - Function



Package dish
Module dish
Tool dish


Flag some channels in the globalscan1 spectrum


Synopsis
gsflag(pol, bchan, echan, flagval)


Description
This function is used to flag a channel range in the globalscan1 spectrum. Channels can be specified with the mouse cursor or with a parameter in the function call line. Also see the clip function for other flagging options.

If no value is passed for the bchan and echan parameters, the function will prompt you for input from the mouse to specify a flagging range.



Arguments

pol   polarization to flag; 0 means flag all
    Allowed: integer
    Default: 0
bchan   beginning channel in range
    Allowed: integer
    Default: F
echan   ending channel in range
    Allowed: integer
    Default: bchan
flagval   flag (T) or unflag (F)
    Allowed: boolean
    Default: T


Returns
boolean


Example
- d.gsflag()   # interactive flagging of all displayed polarizations



Example
- d.gsflag(pol=1,bchan=123)   # flag a single channel in a single polarization



Example
- d.gsflag(bchan=100,echan=200,flagval=F)   # unflag the specified range





next up previous contents index
Next: dish.gsget - Function Up: dish - Tool Previous: dish.gms - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-08-01