rcosmo (version 1.1.2)

summary.CMBDataFrame: Summarise a CMBDataFrame

Description

This function produces a summary from a CMBDataFrame.

Usage

# S3 method for CMBDataFrame
summary(object, intensities = "I", ...)

Arguments

object
intensities

the name of a column specifying CMB intensities (or potentially another numeric quantity of interest)

...

Unused arguments.

Value

A summary includes window's type and area, total area covered by observations, and main statistics for intensity values

Examples

Run this code
# NOT RUN {
## First download the map
# downloadCMBMap(foreground = "smica", nside = 1024)
# df <- CMBDataFrame("CMB_map_smica1024.fits")
# df.sample <- CMBDataFrame(df, sample.size = 800000)
# summary(df.sample)

ns <- 16
df <- CMBDataFrame(I = rnorm(12*ns^2), nside = ns,
                   ordering = "nested")

win1 <- CMBWindow(x=0,y=3/5,z=4/5,r=0.8)
df.sample1 <- window(df, new.window = win1)
summary(df)

# }

Run the code above in your browser using DataCamp Workspace