rcosmo (version 1.1.2)

plotAngDis: Plot angular scatterplots and means

Description

For specified measurements from CMBDataFrame this function produces scatterplots and binned means versus theta and phi angles.

Usage

plotAngDis(cmbdf, intensities = "I")

Arguments

cmbdf

A CMBDataFrame object.

intensities

The name of a column of cmbdf, containing measured values.

Value

2x2 plot. The first row shows scatterplots. The second row gives barplots of the corresponding means computed over bins. The first column corresponds to the values of theta and the second one is for psi.

Examples

Run this code
# NOT RUN {
## Download the map first
# downloadCMBMap(foreground = "smica", nside = 1024)
# df <- CMBDataFrame("CMB_map_smica1024.fits")
# df.sample <- CMBDataFrame(df, sample.size = 80000)
# win <- CMBWindow(theta = c(pi/4,pi/2,pi/2,pi/4), phi = c(0,0,pi/2,pi/2))
# cmbdf.win <- window(df.sample, new.window = win)
#
# intensities <- "I"
# plotAngDis(cmbdf.win, intensities)

# }

Run the code above in your browser using DataCamp Workspace