Chris Beaumont's IDL Library

Download source code

single page | use frames     summary     class     fields     routine details     file attributes

./

nicest__define.pro

Class description for nicest

Inheritance

Fields in skymap

Routines

result = nicest::weight(id, x, y)

This class implements the NICEST algorithm to make smoothed extinction maps based on on stellar reddening data.

nicest::mapeMap [, nocorr=nocorr]

Creates a smoothed map, using the Nicest weighting scheme

nicest::setAlpha, alpha

Set the value of alpha, the slope of the number counts

result = nicest::getAlpha()

Return the value of alpha

result = nicest::init(map, x, y, val, dval, fwhm=fwhm, truncate=truncate, verbose=verbose, alpha=alpha, k=k)
nicest__define

Routine details

topnicest::weight

result = nicest::weight(id, x, y)

This class implements the NICEST algorithm to make smoothed extinction maps based on on stellar reddening data. The relevatn equations are

(1)A = sum(w_n A_n) / sum(w_n) - beta sum(w_n sigma_n^2) / sum(w_n) (2)beta = alpha * k * ln10

A_n, sigma_n are the individual measurements+errors alpha is the slope of the number counts N(mag) ~ 10^alpha mag k is the ratio A_lambda/A

w_n = w(x';x)10^[alpha * k * An], w(x';x) is a gaussian.

SUPERCLASSES: skymap

Parameters

id
x
y

topnicest::mapeMap

nicest::mapeMap [, nocorr=nocorr]

Creates a smoothed map, using the Nicest weighting scheme

Keywords

nocorr in optional

Set to exclude the second term in equation (1) above. This speeds up the calculation by about a factor of 2. Since the correction term is (to first order) constant, it only affects the zero-point, and can be removed via comparison to a control field.

topnicest::setAlpha

nicest::setAlpha, alpha

Set the value of alpha, the slope of the number counts

Parameters

alpha

topnicest::getAlpha

result = nicest::getAlpha()

Return the value of alpha

topnicest::init

result = nicest::init(map, x, y, val, dval, fwhm=fwhm, truncate=truncate, verbose=verbose, alpha=alpha, k=k)

Parameters

map
x
y
val
dval

Keywords

fwhm
truncate
verbose
alpha
k

topnicest__define

nicest__define

File attributes

Modifcation date: Wed Aug 24 21:56:32 2011
Lines: 102