Package 'cubs'

Title: Cubature on the 2-sphere
Description: Cubature methods for numerical integration over the sphere, such as angular averaging over the full solid angle
Authors: Baptiste Auguie [aut, cre]
Maintainer: Baptiste Auguie <[email protected]>
License: Mozilla Public License Version 2.0
Version: 0.1.0
Built: 2024-12-19 05:23:46 UTC
Source: https://github.com/nano-optics/cubs

Help Index


cubs

Description

Cubature methods for orientation averaging.

Details

Cubature methods for orientation averaging.

Author(s)

baptiste Auguie


cubature_sphere

Description

cubature points on a sphere

Usage

cubs(
  N = 30,
  cubature = c("lebedev", "sphericaldesigns", "gl", "fibonacci", "grid", "qmc",
    "random")
)

Arguments

N

number of integration points

cubature

method: one of 'lebedev', 'sphericaldesigns', 'gl', 'fibonacci', 'grid', 'qmc', 'random'

Details

Numerical integration points for angular averaging

Author(s)

baptiste Auguie


is_valid_GL

Description

cubature points on a sphere

Usage

is_valid_GL(N)

is_valid_grid(N)

is_valid_fibonacci(N)

Arguments

N

number of integration points

Details

Tests if a number of points is valid

Author(s)

baptiste Auguie


lebedev

Description

Nodes and weights of Lebedev cubatures

Usage

lebedev

Format

data.frame with 3 columns

phi

azmuth

theta

polar angle

weight

weight

Source

https://people.sc.fsu.edu/~jburkardt/c_src/sphere_lebedev_rule/sphere_lebedev_rule.html


lebedev_table

Description

nodes and weights

nodes and weights

valid numbers

valid numbers

valid numbers

valid numbers

valid numbers

Usage

lebedev_table

sphericaldesigns_table

gl_table

grid_table

qmc_table

random_table

fibonacci_table

Format

data.frame with 2 columns

degree
N

data.frame with 2 columns

degree
N

vector

vector

vector

vector

vector

Source

https://people.sc.fsu.edu/~jburkardt/c_src/sphere_lebedev_rule/sphere_lebedev_rule.html

https://people.sc.fsu.edu/~jburkardt/c_src/sphere_lebedev_rule/sphere_lebedev_rule.html


spherical designs

Description

Nodes and weights of spherical t-designs

Usage

sphericaldesigns

Format

data.frame with 3 columns

phi

azmuth

theta

polar angle

weight

weight

Source

https://web.maths.unsw.edu.au/~rsw/Sphere/EffSphDes/