fmf: First Minkowski functional

Description Usage Arguments Value References Examples

View source: R/Statistics.R

Description

This function returns an area of the spherical region where measured values are above of the specified threshold level alpha.

Usage

1
fmf(cmbdf, alpha, intensities = "I")

Arguments

cmbdf

A CMBDataFrame.

alpha

A numeric threshold level.

intensities

A CMBDataFrame column with measured values.

Value

The area of the exceedance region

References

Leonenko N., Olenko A. (2014) Sojourn measures of Student and Fisher-Snedecor random fields. Bernoulli, 20:1454-1483.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
n <- 64
cmbdf <- CMBDataFrame(nside=n, I = rnorm(12*n^2),
                      coords = "cartesian",
                      ordering = "nested")
fmf(cmbdf, 0, 4)
fmf(cmbdf, 2, 4)

win <- CMBWindow(theta = c(0,pi/2,pi/2), phi = c(0,0,pi/2))
cmbdf.win <- window(cmbdf, new.window = win)
fmf(cmbdf.win, 0, 4)

rcosmo documentation built on Dec. 11, 2021, 9:29 a.m.