Running-Optimal-Average
The running optimal average is a smooth/flexible model that can describe time series data. This uses a Gaussian window function that moves through the data giving stronger weights to points close to the centre of the Gaussian. Therefore the width of the window function, delta, controls the flexibility of the model, with a small delta providing a very flexible model.
The function also calculates the effective no. of parameters as a very flexible model will correspond to large no. of parameters while a rigid model (low delta) has a low effective no. of parameters.
An error envelope is also calculated for the model.
Usage:
t, model, errs, P = RunningOptimalAverage(t_data, Flux, Flux_err, delta)
Calculate running optimal average on a fine grid of 1000 equally spaced points over the range of data. Also returns errors and effective number of parameters.
Import using:
from ROA import RunningOptimalAverage
Parameters
t_data : float array : Time values of the data points
Flux : float array : Flux data values
Flux_err : float array : Errors for the flux data points
delta : float : Window width of the Gaussian memory function - controls how flexible the model is
Returns
t : float array : Time values of the grid used to calculate ROA
model : float array : Running optimal average's calculated for each time t
errs : float array : Errors of the running optimal average
P : float : Effective number of parameters for the model
Metadata
Release files for ROA 1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ROA-1.8.tar.gz | 112.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ROA-1.8-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.8 | CPython 3.8 | Linux glibc 2.17+ x86-64 | Details |
Total release size: 509.6 kB
Release files / ROA-1.8.tar.gz
| Download URL | ROA-1.8.tar.gz |
|---|---|
| Size | 112.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cc9fd2368534948fecb7ffab3c94757e12504d4a1e41a800c2f96bb5e68f9d37
|
|
BLAKE2b-256 checksum How to use checksums |
4b8e883585187dfa2f59b7f7b8f65ed5dda67fe16cc26e160d96fa72c7b1f9fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
|
Release files / ROA-1.8-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | ROA-1.8-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 396.8 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
826722baae6666e8f47a71b3e6e315e35d681fe15707b5ff5b3b731f64d5a86f
|
|
BLAKE2b-256 checksum How to use checksums |
5987dd33ef8362490633b56766a559275e7d9223cf783a4a0a1bd6df4c48e9f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
|