The hawki_util_gendist recipe

hawki_util_gendist

Synopsis

(OBSOLETE) Distortion map creation

Description

(OBSOLETE) hawki_util_gendist – HAWK-I distortion calibration file creation.

The 4 files (chip 1 2 3 4) listed in the Set Of Frames (sof-file) must be tagged: raw-file_chip1.txt DIST_MAP raw-file_chip2.txt DIST_MAP raw-file_chip3.txt DIST_MAP raw-file_chip4.txt DIST_MAP

Constructor

cpl.Recipe("hawki_util_gendist")

Create an object for the recipe hawki_util_gendist.

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

Parameters

hawki_util_gendist.param.dim_x

Dimension of distortion image in X (int; default: 2048) [default=2048].

hawki_util_gendist.param.dim_y

Dimension of distortion image in Y (int; default: 2048) [default=2048].

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

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

hawki_util_gendist.param.dim_x = 2048
hawki_util_gendist.param.dim_y = 2048

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

import cpl
hawki_util_gendist = cpl.Recipe("hawki_util_gendist")
[...]
res = hawki_util_gendist( ..., param = {"dim_x":2048, "dim_y":2048})

See also

cpl.Recipe for more information about the recipe object.

Bug reports

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