assumedConvex: Check if a 'CMBWindow' is assumed convex.

Description Usage Arguments Examples

View source: R/CMBWindowHelpers.R

Description

Initially any CMBWindow is not assumed convex. The assumedConvex attribute can be change for any CMBWindow.

Usage

1
assumedConvex(win, assume.convex)

Arguments

win

a CMBWindow object

assume.convex

optionally change the assumedConvex attribute to TRUE or FALSE

Examples

1
2
3
4
5
6
win1 <- CMBWindow(theta = c(0,pi/2,pi/2), phi = c(0,0,pi/2))
assumedConvex(win1)
win2 <- assumedConvex(win1, assume.convex = TRUE)
assumedConvex(win2)
assumedConvex(win1) <- TRUE
assumedConvex(win1)

rcosmo documentation built on Dec. 11, 2021, 9:29 a.m.