speckle_generator: Speckle Generator

Description Usage Arguments Value Examples

View source: R/RcppExports.R

Description

Generate model 512 x 512 x 2 (bytes) speckle image of binary star

Usage

1
speckle_generator(rho, theta, dm, seeing, speckle_sigma, wind)

Arguments

rho

a separation (an arcsec).

theta

a positional angle.

dm

a magnitude difference.

seeing

a number.

speckle_sigma

a number.

wind

a wind speed.

Value

The vector of model speckle image.

Examples

1
2
3
speckle_vector <- speckle_generator(rho = 0.5, theta = 70,
dm = 0.3, seeing = 20, speckle_sigma = 1, wind = 0)
speckle_matrix <- matrix(speckle_vector, nrow = 512, ncol = 512)

Example output



specklestar documentation built on May 1, 2019, 11:29 p.m.