entropyCMB: CMB Entropy

View source: R/Statistics.R

entropyCMBR Documentation

CMB Entropy

Description

This function returns an estimated entropy for the specified CMBDataFrame column intensities and CMBWindow region. The functions employs the function entropy and uses histogram counts of intensities for computations. All arguments of the standard entropy can be used.

Usage

entropyCMB(cmbdf, win, intensities = "I", method)

Arguments

cmbdf

A CMBDataFrame.

win

A CMBWindow

intensities

A CMBDataFrame column with measured values.

method

A method to estimate entropy, see entropy

Value

Estimated Shannon entropy for observations in CMBWindow

References

entropy

Examples

## Download the map first
# downloadCMBMap(foreground = "smica", nside = 1024)
# df <- CMBDataFrame("CMB_map_smica1024.fits")
# cmbdf <- sampleCMB(df, sample.size = 10000)
# win1 <- CMBWindow(theta = c(0,pi/2,pi/2), phi = c(0,0,pi/2))
# entropyCMB(cmbdf, win1)


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