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.open - Function Up: dish - Tool Previous: dish.nogui - Function


dish.nregion - Function



Package dish
Module dish
Tool dish


Set the channel ranges for baseline subtraction.


Synopsis
nregion(...)


Description
This function sets the channel ranges for fitting polynomials in baseline subtraction. It is used by the bshape and baseline functions. It offers a direct (non-interactive) means of setting these ranges. setregion provides an alternative, interactive way of setting these ranges using the mouse cursor. nregion accepts a variable number of arguments. The arguments list the first and last channel of each segment of the range to be used in the polynomial fit. The total number of arguments should thus be a multiple of 2.



Arguments

...   channel numbers to demark a range
    Allowed: integers


Example
- d.nfit(3);
- d.nregion(10,100,400,512)          # use channels 10-100 and 400-512 for the fit
- d.bshape()
- d.nregion(10,100,120,130,400,512)  # use channels 10-100, 120-130 and 400-512 for the fit
- d.bshape()



Returns
Boolean




next up previous contents index
Next: dish.open - Function Up: dish - Tool Previous: dish.nogui - 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