entropyCMB: CMB Entropy

Description Usage Arguments Value References Examples

View source: R/Statistics.R

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

1
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

1
2
3
4
5
6
## 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)

rcosmo documentation built on Feb. 14, 2020, 5:06 p.m.