The muse_scipost_subtract_sky_simple recipe

muse_scipost_subtract_sky_simple

Synopsis

Subtract night sky spectrum.

Description

Subtract the sky in a simple way, just using a sky spectrum created by muse_create_sky. This is a separated task of muse_scipost.

Constructor

cpl.Recipe("muse_scipost_subtract_sky_simple")

Create an object for the recipe muse_scipost_subtract_sky_simple.

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

Parameters

muse_scipost_subtract_sky_simple.param.lambdamin

Cut off the data below this wavelength after loading the pixel table(s). (float; default: 4000.0) [default=4000.0].

muse_scipost_subtract_sky_simple.param.lambdamax

Cut off the data above this wavelength after loading the pixel table(s). (float; default: 10000.0) [default=10000.0].

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

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

muse_scipost_subtract_sky_simple.param.lambdamin = 4000.0
muse_scipost_subtract_sky_simple.param.lambdamax = 10000.0

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

import cpl
muse_scipost_subtract_sky_simple = cpl.Recipe("muse_scipost_subtract_sky_simple")
[...]
res = muse_scipost_subtract_sky_simple( ..., param = {"lambdamin":4000.0, "lambdamax":10000.0})

See also

cpl.Recipe for more information about the recipe object.

Bug reports

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