fsigma_2: fsigma_2

Description Usage Arguments Value

View source: R/fsigma_2.R

Description

Performs the same task as Dipol2Red::sigma_2 using C++ implementation. Much faster but requires calibration of data.

Usage

1
2
3
4
5
6
7
8
fsigma_2(
  data,
  date_col = "JD",
  obs_col = "Obs",
  ...,
  itt_max = 500L,
  eps = 1e-16
)

Arguments

data

Input (possibly grouped) tibble/data.frame in long format.

date_col

Date column name (which is quasiquoted), to uniquely identify and order measurements.

obs_col

Column containing magnitude difference between two rays.

...

Names of the extra columns inlude in the output. Values are taken as the first element in the group.

itt_max

integer, limits number of iterations to perform. Typically, 50 is enough.

eps

double, controls the convergence.

Value

Computed polarization parameters in form of a tibble


Ilia-Kosenkov/Dipol2Red documentation built on Dec. 16, 2021, 5:45 p.m.