Table Of Contents

Previous topic

The montecarlo recipe

This Page

The test_hough recipe

test_hough

Synopsis

Test Hough transform on any table of points

Description

This recipe is used to test the Hough transformation on any table.

Input files

DO category:      Type:       Explanation:
TABLE             Raw         Table with at least 2 numerical columns.

Output files

DO category:      Data type:  Explanation:
TRANSFORMED       FITS table  Table with estimates.

Constructor

cpl.Recipe("test_hough")

Create an object for the recipe test_hough.

import cpl
test_hough = cpl.Recipe("test_hough")

Parameters

test_hough.param.xcolumn

Table column with x coordinate (str; default: ‘0’) [default=”0”].

test_hough.param.ycolumn

Table column with y coordinate (str; default: ‘0’) [default=”0”].

The following code snippet shows the default settings for the available parameters.

import cpl
test_hough = cpl.Recipe("test_hough")

test_hough.param.xcolumn = "0"
test_hough.param.ycolumn = "0"

You may also set or overwrite some or all parameters by the recipe parameter param, as shown in the following example:

import cpl
test_hough = cpl.Recipe("test_hough")
[...]
res = test_hough( ..., param = {"xcolumn":"0", "ycolumn":"0"})

See also

cpl.Recipe for more information about the recipe object.

Bug reports

Please report any problems to Carlo Izzo. Alternatively, you may send a report to the ESO User Support Department.