Skip to main content

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

ROA-1.6.tar.gz (112.0 kB view hashes)

Uploaded Source

Built Distribution

ROA-1.6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (396.5 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page