A simple function to compute the running optimal average and effective no. of parameters.
Project description
Running-Optimal-Average
Usage:
t, model, errs, P = RunningOptimalAverage(t_data, Flux, Flux_err, delta)
Calculate running optimal average on a fine grid. Also returns errors and effective number of parameters.
Import using:
from ROA import RunningOptimalAverage
Parameters
t_data : float array : Time values of data points
Flux : float array : Flux data values
Flux_err : float array : Errors for flux data points
delta : float : Window width of Gaussian memory function - controls how flexible model is
Returns
t : float array : Time values of grid used to calculate ROA
model : float array : Running optimal average's calculated for each time t
errs : float array : Errors of running optimal average
P : float : Effective number of parameters for model
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for ROA-1.7-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 097e9784ac5161746237f45b00ad09278208ae8a952517a390b28aa907a98373 |
|
MD5 | 6eeb1588bd86ba410ea01a13e5fb6472 |
|
BLAKE2b-256 | 18d2038f4095780d7ae0430fa1c8bd6090eb718527f46279c3882dafa7872ffb |