allan

package
v0.0.0-...-58fde17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OverlapADev

func OverlapADev[T Numeric](phase []T, tau0 T, m int) float64

OverlapADev calculates overlapping Allan deviation of phase data. tau0 is the interval between samples in seconds, typically 1 second for PPS data. m is the averaging factor (tau is m*tau0). The length of phase should be greater than 2*m; if not, NaN is returned. T will typically be float64 or time.Duration; in the latter case, tau0 should be time.Second for PPS data.

Types

type Numeric

type Numeric interface {
	constraints.Integer | constraints.Float
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL