summary.CMBDataFrame: Summarise a 'CMBDataFrame'

Description Usage Arguments Value Examples

View source: R/CMBDataFrameGenerics.R

Description

This function produces a summary from a CMBDataFrame.

Usage

1
2
## S3 method for class 'CMBDataFrame'
summary(object, intensities = "I", ...)

Arguments

object

A CMBDataFrame.

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## 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)

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