Table Of Contents

Previous topic

The sinfo_utl_skycor recipe

Next topic

The sinfo_utl_cube_create recipe

This Page

The sinfo_utl_spectrum_divide_by_blackbody recipe

sinfo_utl_spectrum_divide_by_blackbody

Synopsis

Spectrum normalization by a blackbody

Description

This recipe divides a spectrum by a black body spectrum of given temperature.

The input file is a spectrum. Its associated tag must be SPECTRUM.

The output is a spectrum Parameter is sinfoni.sinfo_utl_spectrum_divide_by_blackbody.temperature having aliases ‘temp’

Constructor

cpl.Recipe("sinfo_utl_spectrum_divide_by_blackbody")

Create an object for the recipe sinfo_utl_spectrum_divide_by_blackbody.

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

Parameters

sinfo_utl_spectrum_divide_by_blackbody.param.temp

Black Body Temperature (float; default: 100000.0) [default=100000.0].

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

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

sinfo_utl_spectrum_divide_by_blackbody.param.temp = 100000.0

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

import cpl
sinfo_utl_spectrum_divide_by_blackbody = cpl.Recipe("sinfo_utl_spectrum_divide_by_blackbody")
[...]
res = sinfo_utl_spectrum_divide_by_blackbody( ..., param = {"temp":100000.0})

See also

cpl.Recipe for more information about the recipe object.

Bug reports

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