NRAO Home > CASA > CASA Toolkit Reference Manual
sd.linefinder.find_lines - Function

5.1.6 Search for spectral lines in the scan
Description

Search for spectral lines in the scan assigned in set_scan. A number of lines found will be returned.

The method allows to set optional masks for the search. The mask parameter is a bool array that sets channel-by-channel masking. On the other hand, the edge parameter set a number of channels to drop at the edge of the spectrum. The number can be set for each side as an integer array with length of two. If only one value is specified, the same number will be dropped from both sides of the spectrum.

Arguments





Inputs

nRow

A row number in the scantable to work with

allowed:

integer

Default:

0

mask

An optional mask

allowed:

bool array

Default:

[] (no mask)

edge

An optional number of channels to drop at the edge of the spectrum

allowed:

integer, integer array

Default:

(0,0) (keep all channels)





Returns
integer

Example


More information about CASA may be found at the CASA web page

Copyright 2016 Associated Universities Inc., Washington, D.C.

This code is available under the terms of the GNU General Public Lincense


Home | Contact Us | Directories | Site Map | Help | Privacy Policy | Search