You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

stochasticclock

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stochasticclock

Atomic clock simulation

0.0.3
pipPyPI
Maintainers
1

stochasticclock

A module calculating the stochastic deviations in timepoints for atomic clocks.

This module is an application of the theory presented in Galleani et al. (2003), doi:10.1088/0026-1394/40/3/305.

The module's current functionality calculates stochastic deviations using the exact iterative solution to the stochastic differential equation in Galleani_exact()

$$\begin{equation*} \mathbf{X}(t_{n+1}) = \begin{pmatrix} 1 & \delta t \\ 0 & 1 \end{pmatrix} \mathbf{X}(t_n) + \begin{pmatrix} \delta t \mu_1 + \frac{1}{2} \delta t^2 \mu_2 \\ \delta t \mu_2 \end{pmatrix} + \mathbf{\Sigma}(t_n) \end{equation*}$$

$$\begin{equation*} \mathbf{\Sigma}(t_n) \sim \mathcal{N} \bigg( \mathbf{0}, \begin{bmatrix} \sigma_1^2 \delta t + \frac{1}{3} \sigma_2^2 \delta t^3 & \frac{1}{2}\sigma_2^2 \delta t^2 \\ \frac{1}{2}\sigma_2^2 \delta t^2 & \sigma_2^2 \delta t \end{bmatrix} \bigg) \end{equation*}$$

Stochastic deviations can be visualised using clock_error(), and their distributions simulated with deviation_distribution().

Please consult the Jupyter notebook for a walkthrough of the package.

Keywords

Caesium

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.