fmf: First Minkowski functional

View source: R/Statistics.R

fmfR Documentation

First Minkowski functional

Description

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

Usage

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


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)


frycast/rcosmo documentation built on Oct. 11, 2022, 5:21 p.m.