prepare.banks.data: Prepare data for estimating the background

Description Usage Arguments Details Value See Also

View source: R/interface.R

Description

prepare.banks.data sets all the fit parameters, such as sigma, lambda and SB for a set of detector banks.

Usage

1
2
prepare.banks.data(data, n.banks=4, lambda_1, lambda_2, lambda_0, 
                   x_1, x_2, n.atoms, scatter.length, ADP, n.regions)

Arguments

data

list of objects of type data. See read.sqa and set.data for details.

n.banks

numeric, number of banks.

lambda_1, lambda_2, lambda_0, x_1, x_2

parameters to be passed to set.lambda.

n.atoms, scatter.length, ADP

parameters to be passed to set.SB.

n.regions

parameter to be passed to set.sigma.

Details

This function simplifies setting the fit parameters for a set of detector banks by a multiple call of set.sigma, set.SB, and set.lambda.

Value

A list of objects of type data suitable for do.fit.banks.

See Also

set.sigma, set.SB, set.lambda


BBEST documentation built on Jan. 8, 2021, 2:22 a.m.