Skip to main content

Atomic clock simulation

Project description

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.

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

stochasticclock-0.0.3.tar.gz (701.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stochasticclock-0.0.3-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file stochasticclock-0.0.3.tar.gz.

File metadata

  • Download URL: stochasticclock-0.0.3.tar.gz
  • Upload date:
  • Size: 701.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.16

File hashes

Hashes for stochasticclock-0.0.3.tar.gz
Algorithm Hash digest
SHA256 9ff36a3cf6c00136df4852957af727cf5fd57d35711ab35b64ff8666d21358a8
MD5 8a9015e4b1d38ea7aa0d3789e1ec90b1
BLAKE2b-256 ce6793c03499fdfc06a4f4f6153a9bad875e5126ad23f7243161c7323a7bea95

See more details on using hashes here.

File details

Details for the file stochasticclock-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for stochasticclock-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2a8f3c2aa46297d86af24d6dd7f532606ad1d21b17d45e03723be5014474d7c9
MD5 dba22866531f384cf5ef6cf3afbba12d
BLAKE2b-256 01cda011f2f766e234eea6bdd4cdc43bca23a92298d12deb888bd7390ebf3483

See more details on using hashes here.

Supported by

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