geoArea.CMBWindow: Geodesic area of a 'CMBWindow'

View source: R/CMBWindowGenerics.R

geoArea.CMBWindowR Documentation

Geodesic area of a CMBWindow

Description

Geodesic area of a CMBWindow

Usage

## S3 method for class 'CMBWindow'
geoArea(x)

Arguments

x

A CMBWindow.

Value

The spherical area inside the CMBWindow x.

Examples


## A window that covers 1/8 of the unit sphere is constructed and its area is
## pi/2 = 1/8*(surface area of unit sphere)

win <- CMBWindow(theta = c(0,pi/2,pi/2), phi = c(0,0,pi/2))
geoArea(win)


frycast/rcosmo documentation built on Oct. 11, 2022, 5:21 p.m.