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

5.1.6 Set the parameters of the line finding algorithm
Description

This method is used to set the parameters of the line finding algorithm. There are six parameters that can be set by this method. See description of this object for details about parameters.

Note that, for bad baselines, threshold should be increased, and avg_limit decreased (or even switched off completely by setting this parameter to 1) to avoid detecting baseline undulations instead of real lines.

Arguments





Inputs

threshold

A single channel S/N ratio above which the channel is considered to be a detection.

allowed:

float

Default:

sqrt(3)

min_nchan

A minimal number of consequtive channels, which should satisfy a threshold criterion to be a detection.

allowed:

integer

Default:

3

avg_limit

A number of consequtive channels not greater than this parameter can be averaged to search for broad lines.

allowed:

integer

Default:

8

box_size

A running mean/median box size specified as a fraction of the total spectrum length.

allowed:

float

Default:

0.2

noise_box

Area of the spectrum used to estimate noise stats

allowed:

float, string (’all’ or ’box’)

Default:

’all’

noise_stat

Statistics used to estimate noise

allowed:

string (’mean80’ or ’median’)

Default:

’mean80’





Returns

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